|
-
Jan 19th, 2004, 01:43 PM
#1
Thread Starter
Lively Member
guess what...another crystal q
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?
-
Jan 19th, 2004, 01:46 PM
#2
PowerPoster
I set up some global variables and then send the report the data
Report.SelectPrinter glbPrinterDriver, glbPrinterName, glbPrinterPort
-
Jan 19th, 2004, 01:47 PM
#3
PowerPoster
Here's one that 'hard' coded:
Report.SelectPrinter "HP Deskjet 1220C Printer", "Prepress", "\\Server1\Prepress"
-
Jan 20th, 2004, 11:52 AM
#4
Thread Starter
Lively Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|