Capturing Printer (OpenInsight 16-Bit Specific)
At 15 AUG 2002 09:36:50AM Marty Rosenbloom wrote:
Hi,
Using Utitlity("PRINTSETUP")I want to assign the selected (not necessarily the default) printer to a variable. How is this accomplished? I am using OI v2.6.
TIA,
Marty
At 19 AUG 2002 03:38AM Colin Rule wrote:
I would suggest doing what we have dont.
Call up the PRINTSETUP form in Form Designer, in your application.
Do a save-as MYAPP_PRINTSETUP
Do save for the PRINTSETUP stored procedure.
Change all event calls for the new stored procedure.
You now have your own print setup which you can tailor for you app.
In the stored procedure there is reference to the INI file.
You can change this to your own INI file instead of Win.INI.
This way you can use this to define where reports go from your application without affecting other applications.
Good luck