Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Mar : How to print directly to LPT1
| Subject: | How to print directly to LPT1 |
| Posted by: | "Lasse" (lars.makiaho@no_spam_falubo.se) |
| Date: | Sun, 9 Mar 2008 20:11:42 |
Hi, I want to send a text file to a label printer using the dos Print
command.
I tried WinExec(Pchar(S1), SW_HIDE) ; where S1 is "Print path+filename" and
it is "working" so and so, it seems like after executing winexex it jumps
out of the procedure. Is there a more reliable way of doing this?
Thanks,
Lasse