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:
00856526
Vues:
50
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform