Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to send print job to a non default printer?

Status
Not open for further replies.

Rissole

MIS
Jul 10, 2002
21
US
Hey,

Can anyone help me telling

How to send print job to a non default printer?

I'm using RDC 9.0

Thanks in Advance,
Rissole.
 
Use the PrintButtonClicked event of the viewe

Private Sub CRViewer91_PrintButtonClicked(UseDefault As Boolean)

UseDefault = False 'Don't use default printer
CrReport.PrinterSetup Me.hWnd ' hook the printer dialog to the form and show
CrReport.PrintOut 'show print dialog to select numebr of copies

End Sub

HTH

Gary Parker
Systems Support Analyst
Manchester, England
 
Thanks Gary,

We've some network printers which are defined in the database along with their network paths.

The procedure'd automatically send print jobs to these printers without showing any selection dialog boxes to the user.

I mean to say, I've got this printer string with me, is there anyway I can send print job to that printer.

Thanks,
Rissole.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top