Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing pdf to specific printer
Message
De
24/01/2019 08:45:54
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01665681
Message ID:
01665719
Vues:
71
>Hi Lutz,
>
>thanks a lot. I do not store printer-informatin in my reports as they are running on all kind of
>different machines with different printers attached.
>
>Best regards
>
>Thomas


Thomas,

You misunderstand the approach.

The report itself, the one to print, has no printer information. Never in this solution.

The code provided by my previous message uses report technique to gather printer information from user input at runtime. Then you have to store it somewhere - depending on your needs, for me it's per user and machine.

Later it uses similar report technique to set VFP printer to the printer data stored (that is all printer settings like paper tray and so on) at runtime.

It prints the report and reset VFP to it's previously set printer.

All the frx stuff in my prev message is only to gather, set and reset printer information.

update:
PM me if you like, I guess this goes much better in German
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform