Home All Groups Group Topic Archive Search About

How to send output ticket Printer(VB005)

Author
9 Oct 2006 7:11 PM
Hector M Banda
Hi all,
Need advice on how to send output to a tiket printer using VB2005.
I cannot figure out how to send scape sequences to change fonts, etc.

I am using a generic printer driver but no luck.

-hb

Author
10 Oct 2006 4:56 AM
teslar91
Hector M Banda wrote:
> Hi all,
> Need advice on how to send output to a tiket printer using VB2005.
> I cannot figure out how to send scape sequences to change fonts, etc.
>
> I am using a generic printer driver but no luck.
>
> -hb

Assuming it's a parallel printer:  In VB6, you could just open "LPT1"
as a file and write directly to it.  Not sure exactly how this works
out in VB.NET.

Do you have, or can you get, the manual for the printer?  It should
list the control codes it accepts, or what printer it emulates.  For
example, the old Epson dot-matrix codes were recognized by a lot of
different dot-matrix and thermal printers:

http://lprng.sourceforge.net/DISTRIB/RESOURCES/PPD/epson.htm