printer selection using crviewer
Regarding the CRViewer9 component in VB6, is
there any way to ask the user which printer
they wish to use?
http://greybox.ath.cx/pub/pics/linked/print.jpg
I get the report loaded up just fine, but
upon clicking the print button the windows
default printer is automatically selected.
Any suggestions?
Re: printer selection using crviewer
Guys what if you use Printersetup command before you print it with print button or with printout command :
try this :
http://www.xsorbit3.com/users/softwa...379441&start=0
Re: printer selection using crviewer
As stated above try:
CRReport.PrinterSetup 0
This forces the Printer Selection box to appear. This can be placed before the the Report.Printout and in the CRViewer place it in the Printer_Button click event.
Dean
Re: printer selection using crviewer
:eek:
Quote:
Originally Posted by Dean_Reedy
As stated above try:
CRReport.PrinterSetup 0
This forces the Printer Selection box to appear. This can be placed before the the Report.Printout and in the CRViewer place it in the Printer_Button click event.
Dean
I spent several hours of my precious worktime looking for a solution such as this! I ended up having to code a form that would allow the user to choose a printer. And here it was so simple! Two lines of code! THANK YOU Dean!! :D