Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing report to non-default printer
Message
 
À
21/06/2001 16:11:10
Larry Huisingh
Lockheed Martin Information Technology
Richland, Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00522107
Message ID:
00522164
Vues:
10
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform