Go Back > Blogs > david01285's blog

User login

Frontpage Sponsor


How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
200 - 500 GB
500 - 800 GB
800 - 1200 GB
1200 - 1500 GB
1500 - 2000 GB
> 2000 GB
Total votes: 46

Baanboard at LinkedIn

Reference Content

How to send a escape sequence from a Baan-report to a printer (Epson TMU-220 if possible)?
By david01285 at 19 Jan 2009 - 20:57

Hello all,

My problem is that when the printer finishes printing the report (that is a ticket from a miniprinter), I should cut the paper after the last line.

maybe I could fix the problem with a escape sequence but I dont know how to do this in Baan. Any Idea?

Thanks in advance.

No votes yet

by günther on January 20, 2009 - 10:44am
You can try at the end of your report:

Code: = <your printer's escape sequence> | eg. chr$(27) & ...

But normally you should not do such things within your report. Keep in mind, that you will print to the display, then to a lser printer and finally to your specific epson printer.

Baan uses printer drivers for that purpose; e.g. in the directory $BSE/print_inf/e you should see a file epson_fx which is the printer driver for an EPSON FX.


by toolswizard on January 22, 2009 - 3:42pm
Are you using bwprint? If you are printing through bwprint, it will capture all excape sequences going to your printer. However there is an excape sequence that you can send that will allow the number of characters specified to go through untouched. If you don't have the bwprint doecumentation, let me know and I will look it up.

All times are GMT +2. The time now is 05:39.

©2001-2018 - -