Baanboard.com

Go Back   Baanboard.com > Blogs > david01285's blog

User login

Frontpage Sponsor

Main

Google search


Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
33%
Installation Wizard into new VRC
39%
Manual into existing VRC
6%
Manual into new VRC
22%
Total votes: 49

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.

0
No votes yet

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

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

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.

Günther

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 06:18.


©2001-2018 - Baanboard.com - Baanforums.com