Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing report to non-default printer
Message
 
To
21/06/2001 16:11:10
Larry Huisingh
Lockheed Martin Information Technology
Richland, Washington, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00522107
Message ID:
00522164
Views:
9
Larry,

I think that the answer is in the SET PRINTER TO NAME \\ServerName\PrinterName command. I just tried printing a dummy report to a real printer and to a PDF file with the following commands and it did work:

set printer to name \\hcorrea2\canon
set printer to name \\hcorrea2\pdfdriver


>I just took out the DEVICE line but no change.
>
>Larry
>
>>I haven't done a lot with this, but you can take the DEVICE line out entirely.
>>
>>
>>Cindy,
>>>
>>>I removed the device name (I left "DEVICE=") but I left the other information. I think I need to keep the orientation there since some reports are portrait and some are landscape. How much of that field do I need to get rid of? I currently have in the Expr field:
>>>
>>>DRIVER=winspool
>>>DEVICE=
>>>OUTPUT=LPT1:
>>>ORIENTATION=1
>>>PAPERSIZE=1
>>>COPIES=1
>>>DEFAULTSOURCE=1
>>>PRINTQUALITY=300
>>>YRESOLUTION=300
>>>TTOPTION=2
>>>
>>>My problem seems to be that I need to print to a non-default printer. Is that specified in the Expr field above somehow?
>>>
>>>Larry
>>>
>>>
>>>>Did you also remove printer-specific information from the Expr field of the first record of your FRX file?
>>>>
Hector Correa
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform