I am trying to direct reports to 2 local printers, and am having no luck.
Using a simple program to illustrate,
****
use temp
SET PRINTER TO COM1, 9600, N, 8, 1, S, RL
report form mpshp001 to print
use temp
set printer to LPT1
report form hp01 to print
****
both reports are directed to the printer that is set as the default printer in Windows. I obviously want the first report to go to the printer on COM1, and the second report to the printer on LPT1
The COM1 printer is a Monarch label printer, the LPT1 printer is a HP laserjet 1100.
I've tried many different options, and on one PC (my laptop) the above program does work as long as I set the Monarch printer as the default, if I set the HP printer as the default, both reports go to the HP printer.
I can print to both printers (in Excel, Word), so they are hooked up correctly. I can print to both printers in a FPW26 prg when i use 'report form hp01 to print prompt' and manually select the required printer, but of course I need automatic selection in the FPW26 program.
Any pointers would be appreciated, as I'm obviously missing something. Pete Bloomfield
Down Under
Using a simple program to illustrate,
****
use temp
SET PRINTER TO COM1, 9600, N, 8, 1, S, RL
report form mpshp001 to print
use temp
set printer to LPT1
report form hp01 to print
****
both reports are directed to the printer that is set as the default printer in Windows. I obviously want the first report to go to the printer on COM1, and the second report to the printer on LPT1
The COM1 printer is a Monarch label printer, the LPT1 printer is a HP laserjet 1100.
I've tried many different options, and on one PC (my laptop) the above program does work as long as I set the Monarch printer as the default, if I set the HP printer as the default, both reports go to the HP printer.
I can print to both printers (in Excel, Word), so they are hooked up correctly. I can print to both printers in a FPW26 prg when i use 'report form hp01 to print prompt' and manually select the required printer, but of course I need automatic selection in the FPW26 program.
Any pointers would be appreciated, as I'm obviously missing something. Pete Bloomfield
Down Under