Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Feb : Please Help!! about HPJetdirect
| Subject: | Please Help!! about HPJetdirect |
| Posted by: | "Ruangwit Kamnerdsap" (kack..@hotmail.com) |
| Date: | 24 Feb 2005 11:22:51 |
dear all,
my program can print text file directly to printer that add on my computer. i use this statement -->
printername := Printer.Printers[Printer.PinterIndex];
on winXP i use --> AssignFile(f, printername);
on win9x i must use print.getprinter for get real port.
this solution is work well.
but problem occured when my office setup HPJetdirect for
network printer, and client add printer directly. when my program
get printer port and write to it.it save to file than to printer.
please help.
PS. my english is not good. sory if u cant understand.
thank you,
Ruangwit Kamnerdsap