Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing printer from default
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00856523
Message ID:
00856528
Vues:
32
Thanks Sergey. That worked like a charm!

Ken

>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform