Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing pdf to specific printer
Message
From
24/01/2019 08:45:54
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01665681
Message ID:
01665719
Views:
70
>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]
Previous
Reply
Map
View

Click here to load this message in the networking platform