Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending to Multiple Printer
Message
From
21/11/2002 13:49:30
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00725358
Message ID:
00725378
Views:
11
Kirk,

I'm sorry, you are correct. I *always* set printer to name before every report, so I don't worry about setting it back.
lcDefaultPrinter = set("printer",3)
lcPrinter1 = "\\serverName\printer1"
lcPrinter2 = "\\serverName\printer2"

set printer to name (lcPrinter1)
report form report1 to print noconsole
set printer to name (lcPrinter2)
report form report1 to print noconsole

set printer to name (lcDefaultPrinter)
I hope the weather is good...we look forward to being down there.


>Steve
>
>Thanks for the information, so even though I do the set printer to Name \\printer1, I don't have to set it back to the original? I'm worried that it would send the next thing they choose to printer to the last printer it was set to?
>
>Thanks again, looks like the weather is going to be great here over thanksgiving.
>
>Kirk
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform