Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing printer from default
Message
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00856523
Message ID:
00856526
Views:
49
This message has been marked as the solution to the initial question of the thread.
Ken,

Clear printer related info from the report. Open your report as a table and blank out TAG and TAG2 fields in the first record. Also remove following printer related lines from EXPR field.
DRIVER=
DEVICE=
OUTPUT=
In VFP8 you can just uncheck 'Printer Environment' on Report menu and save report.
The name expression also works better in this case.
lcprinter = GETPRINTER()
SET PRINTER TO NAME (lcprinter)
REPORT FORM myreport TO PRINTER
>I noticed in the FAQ section that the following syntax was suggested to change the default printer:
>
>lcprinter = GETPRINTER()
>SET PRINTER TO NAME "&lcprinter"
>REPORT FORM myreport TO PRINTER
>
>I can't get this to work. What am I doing wrong?
>Thanks.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform