[Lazarus] Printing in Text mode on Windows?
Stephano
patspiper at yahoo.com
Fri May 2 18:25:09 CEST 2008
Lee Jenkins wrote:
> I did happen upon the rawmodetest example in /components/printing, but it
> doesn't seem to work. I tried it on Windows using an Epson 220 dot matrix
> receipt printer installed with the Generic Text Drive without success.
>
> Any pointers?
It should work. In its normal mode, the Epson TM-U220 will print any
printable ASCII character it receives. If your printer is a serial one,
you should take care of the serial parameters such as the baud rate and
flow control. Using a parallel printer would be much easier.
In any case, you can test the raw mode printing without using any
printer at all. Just set the port of the Generic Text Printer to File,
print using your routine, and inspect the file. That would show you
whether it is your routine's fault or the printer's (which could be set
to page mode).
HTH
More information about the Lazarus
mailing list