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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I print to multiple printers?

Status
Not open for further replies.

BeejCyr

MIS
Aug 1, 2002
49
US
I have need of a short term fix. I have a program, that when I print, I need the report to print out on two seperate printers. I know... change the program, or have the user print twice. Well... In this case its a legacy program and I do not have access to the code and the printing routines were hardcoded to look for a particular printer name.

I have a Linux (Samba) server and a Novell 5.1 server. So a solution for either platform will work for me.

So when the user prints the report, the program sends it to "report printer" and I can modify that windows printer queue to whatever I need to do. The report should print out on printer A and printer B. Also, these printers are compatible with each other so I am not worried about the printer driver.

How can this be done in Linux/Samba or Novell?
 
Is this report a file? Or is it created on the fly? If it is a file you can use the old DOS way of printing in Netware. Create a little batch to capture a queue, then copy the file to lpt1, capture the other queue, then copy to lpt1 again. We do this all the time.
Example
capture "printer 1"
copy "file" lpt1
capture "printer 2"
copy "file" lpt1
capture "original printer"
exit
We have another batch in our path that recognises the command "printer 11", and captures the queue that we designated as printer 11. Otherwise you will have to do the full context such as:
CAPTURE Q=USB4#00_Q.Printer.USBMKE....
I hope this helps, and is not too late.
JON
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top