Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set printer to name
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01058143
Message ID:
01058147
Views:
10
This message has been marked as the solution to the initial question of the thread.
It could happen if Printer info has been saved with report. Open reportthe Report Designer and make sure that Printer Environment on the Report menu is unchecked.

>I have an exe printing a report as follows:
>
>use sysfile
>set printer to name (alltr(sysfile.printer2)) && sysfile.printer2="PDF PRINTER"
>report form rptinvoice.frx to printer noconsole nodialog
>
>
>and among my installed printers, I've got:
>
>printer 1: HP LASER(marked as the default)
>printer 2: PDF PRINTER(is the printer in sysfile.printer2 field)
>
>
>The problem is that the output keeps going to the defaut printer which is HP LASER.
>If I set printer 2 as the default printer then it works. It would appear that VFP is ignoring the SET PRINTER TO NAME command.
>
>Any pointer will be greatly appreciated!
>
>TIA
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform