Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET PRINTER TO
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00289709
Message ID:
00289727
Views:
30
>Hi,
> I'm having some problems with a report and printing to an NT printer. I have removed all printer-related 'stuff' in the actual report .FRX file, but am still encountering difficulties. I created a test program and ran it in the VFP command window, and got the correct results. when I compiled the test program and ran the executable, the report printed out on the workstation's default printer. Here is the code:
>
>clear all
>close all
>use data\printers
>go bott
>set printer to name (printers.queue)
>report form poop noconsole to printer
>
>
>note: the value of printers.queue is a character string = \\DEV1\Okidata OL-410e
>
>Any ideas? TIA.
Try removing the printer info and compiling - no testing before compiling.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform