[Lazarus] OpenPrinter, StartDocPrinter, EndDocPrinter?
Lee Jenkins
lee at datatrakpos.com
Sat May 3 00:45:32 CEST 2008
Stephano wrote:
> 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.
Thanks Stephano. I've been using the epson pos printers for quite a few years
now so I thought that was the case.
One note: This particular printer is networked. Meaning that is it setup on a
Windows computer on the network with Generic Text Driver, shared and mapped to
the local computer when it is being printed.
I'll try it with direct connect, but it should work on a networked printer as
well, and I need it to ;)
> 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).
>
I'll try this. Thank you. I've just been using the rawprinttest sample in the
/components/printers/sample directory.
--
Warm Regards,
Lee
"When my company started out, we were really, really, really, really small.
Now...we're just really small."
More information about the Lazarus
mailing list