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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

print .rpt from VB using craxdrt

Status
Not open for further replies.

watergirl

Technical User
Aug 29, 2002
13
0
0
US
I have a VB dll which will need to print any one of 50 different .rpt(s). For this reason, I do not wish to use
the RDC but thought I could simply print the .rpt using
the CRAXDRT...I can't find how to get the printed rpt to
the printer though...any help greatly appreciated!
 
I found the my own answer...
‘Select the printer for the report passing the
‘Printer Driver, Printer Name and Printer Port.
Report.SelectPrinter “HPPCL5MS.DRV”, “HP LaserJet 4m Plus”,
“\\Vanprt\v1-1mpls-ts”
‘Print the Report without prompting user
Report.PrintOut False
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top