Hi All,
Is there a way to print the entire text file to a GDI printer with Preview at one go ? (something like Copy file to PRN but with Preview).
The Long method involves opening the file, reading and printing the file, line by line using HB Print class.
Warm regards,
Jayadev U
Print File to GDI Printers
Moderator: Rathinagiri
Re: Print File to GDI Printers
If I understand your intensions good, you can use my moldruk.prg emulator (look at the forum, with some modifications) for PREVIEW text file (containing control codes???) and use WIN_PRINTFILERAW( cPrinter, cFileName, cPrintJobTitle ) function for sending it to printer.
Re: Print File to GDI Printers
Dear Marek Olszewski,
Many thanks for your reply, I shall go through the program and revert.
Warm regards,
Jayadev
Many thanks for your reply, I shall go through the program and revert.
Warm regards,
Jayadev