Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print dialog
Message
From
10/04/2007 15:45:24
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Print dialog
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01214125
Message ID:
01214125
Views:
71
I am using the print dialog when printing VFP reports (report form... to printer PROMPT). I find it very easy to use (basic functionality included without additional programming, like page range, and printer selection), but now I have a problem.

Accounting asks me to print only one "original" of a certain report; additional copies must be marked as "copy". Now, when using the printer dialog, if the user cancels, the record is still marked as "copy". Is there a way to figure out whether the user has pressed "Cancel"?

I know that there are additional problems; for instance, the printer may have been off, and the user deletes the print job from the queue. How are these situations commonly handled? Should I just ask the user whether printing was successful?

TIA,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Next
Reply
Map
View

Click here to load this message in the networking platform