[DUG] Printing text line by line
Rohit Gupta
r.gupta at xtra.co.nz
Wed Aug 10 23:54:32 NZST 2005
There is, I dont remember what I had to but it was not pretty.
There were two parts to the solution. One to set up the printer/driver
suitably. The other to use the right api calls to send a character at a
time. I eventually wrote a threaded compnent to do this for me. If I
get a breather tomorrow at work, I will have a look.
Pedrocelli wrote:
>Hi y'all. I am trying to print some simple text to a receipt printer, and would
>like the printer to print each line as I send it. I would also like to
>completely avoid any terminating form feed.
>I have set the printer up with the Generic/Text driver, using Printing Processor
>"RAW" and tried both "Start printing immediately" and "Print directly to the
>printer", however nothing prints till I close the printer and I get a trailing
>form feed anyway!
>There must be way to do this - but what is it?
>
>Cheers
>Pedrocelli
>
>_______________________________________________
>Delphi mailing list
>Delphi at ns3.123.co.nz
>http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
>
>
More information about the Delphi
mailing list