Hello all
In my app I need some reports to print on the tractor feed printer and the others in the laser printer. How do I tell crystal which printer to use?
Printable View
Hello all
In my app I need some reports to print on the tractor feed printer and the others in the laser printer. How do I tell crystal which printer to use?
I set up some global variables and then send the report the data
Report.SelectPrinter glbPrinterDriver, glbPrinterName, glbPrinterPort
Here's one that 'hard' coded:
Report.SelectPrinter "HP Deskjet 1220C Printer", "Prepress", "\\Server1\Prepress"
Thanks, but I had already tried that way a few times. It only seems to work that way when the printers are local. I ended up hammering up a solution by copy pasting some functions that change the default printer. So right before printing the report, I change the default printer to be the laser or tractor. I dont like it too much that way but I got deadlines.