Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternative to GETPRINTER()
Message
 
 
To
20/04/2012 13:03:15
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01542120
Message ID:
01542243
Views:
56
>>>>I have a routine where I need to allow user to select a printer. Then the printer name he/she selects is store in the variable. And then a bunch of reports/forms are being printed, always directed to the selected printer. I use the GETPRINTER( ) to allow user to select a printer. But the GetPrinter() window does not allow specifying printer properties. For example, if user want to print as Draft I see no way to specify it.
>>>>
>>>>Is there another method someone could recommend? TIA.
>>>
>>>Hi,
>>>
>>>An other solution would be to make use of the FoxyPreviewer a VFPX class made in pure VFP code. I suppose it needs VFP9-SP2
>>>
>>>Regards,
>>>
>>>Koen
>>
>>Thank you for your suggestion. At this point I will not go with FoxyPreviewer or any new to the program. I am finishing a big change (converting to SQL server backend) and this is no 1 priority. Alternative to GetPrinter() will have to wait.
>
>I second Koen's suggestion. FoxyPreviewer can be quickly implemented with just a few lines of code. The latest version has the flexibility to specify a Print Preferences button on the toolbar "instead of," rather than "in addition to," a Print Report button -- so that the user can always be funneled through a dialog that allows him to specify the printer and its properties before clicking Print.
>
>-m.

Thank you for your input.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform