Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print dialog
Message
From
10/04/2007 23:11:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01214125
Message ID:
01214270
Views:
15
>>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?
>>
>
>
>Hi Hilmar,
>
>Check Re: Capturing Print Dialogue Box Result Message #644781. It'll let you know if user cancelled printing. The only way to know if report was printed properly is to ask user at the end.

Thanks, that looks promising. I will also consider (and consult) about the possibility of asking the user.
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform