Hi everyone,
I would like to generate my MonthEnd reports during the night and print on the next day
but I have a problem which is Window can not capture the report name. When I check in the
Network printer's proprety and I can see all my reports generated but no way to understand
that the first line is Commission Report and second line is Sales & Credit report, etc.
Note: I stoped the printer before running the job to be able to keep all reports in the SPOOLER
Printer's status : Pause
Printer: HP Laserjet 4100 PLC 5e
Here is some codes in my program Imp_all.prg
All report send to LPT1 (Set as network's printer)
Set device to printer
Report form Commission to print
Report form SaleCredit to print
Report form etc... to print
Set device to screen
The next day, I check printer's proprety and see like this:
Document Name Status Owner Page Zise Submitted
Remote Downlevel Document TINAC 602KB 10:17:19AM 10/8/01
Remote Downlevel Document TINAC 4.27MB 11:29:14AM 10/8/01
Please help me how to do in my program to allow Window can capture the Report Name or if
anyone has already the code that can do that or any solutions.
Thanks in advance
I would like to generate my MonthEnd reports during the night and print on the next day
but I have a problem which is Window can not capture the report name. When I check in the
Network printer's proprety and I can see all my reports generated but no way to understand
that the first line is Commission Report and second line is Sales & Credit report, etc.
Note: I stoped the printer before running the job to be able to keep all reports in the SPOOLER
Printer's status : Pause
Printer: HP Laserjet 4100 PLC 5e
Here is some codes in my program Imp_all.prg
All report send to LPT1 (Set as network's printer)
Set device to printer
Report form Commission to print
Report form SaleCredit to print
Report form etc... to print
Set device to screen
The next day, I check printer's proprety and see like this:
Document Name Status Owner Page Zise Submitted
Remote Downlevel Document TINAC 602KB 10:17:19AM 10/8/01
Remote Downlevel Document TINAC 4.27MB 11:29:14AM 10/8/01
Please help me how to do in my program to allow Window can capture the Report Name or if
anyone has already the code that can do that or any solutions.
Thanks in advance