Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing...
Message
 
To
28/04/2003 08:50:55
Napoleon Yam
Princess Cruises: Emerald Princess
Caribbean, Philippines
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00782160
Message ID:
00782233
Views:
11
Nap
I don't like to use the network unc inside the name clause, since i also had many problems with it in the past. Just give 'real life' names to the printers ( i.e call the \\FAFNIR\HPDeskJet printer "Accounting" and the other one "Reservations". It is case sensitive ). To do this, go to your printers folder, right-click on the printer, and change the name.
Then, your code shoud look something like:
set printer to name "Accounting"
report form ...... to printer noconsole
set printer to name "Reservations"
report form ...... to printer noconsole
Tell me if this helps
Jaime

>I have already tried what you suggested and it work...
>however after printing at least 3 trials it seemed that vfp defaults to the 2nd printer...
>
>
>SET PRINTER TO NAME \\FAFNIR\HPDeskJet
>REPORT FORM e:\myclass\reports\report1.frx TO PRINTER
>
>SET PRINTER TO NAME \\BLMARTIN\epson1170
>REPORT FORM e:\myclass\reports\report2.frx TO PRINTER
>
>this is the code I've used but how come after printing 3 trial vfp defaulted to the 2nd printer?
>
>Nap
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform