Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printing to 2 printers

Status
Not open for further replies.

repete

Programmer
Nov 14, 2000
151
AU
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
 
Hi Pete
Try the MicroSoft Knowledge Base Article Q103645
titled : HOWTO Change the Default Windows Printer from FoxPro David W. Grewe
Dave@internationalbid.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top