Error printing to local default printer using Crystal report Document.printtoprinter

B

Bill Nguyen

I'm getting this error message trying to print to the local default printer
(connected using a usb cable):
"Analysis Server: Invlid printer specified"
I have no problem printing to other network printers from Crystal report (in
VB.NET) using the following codes:

myReport.RecordSelectionFormula = mSelection

myReport.PrintOptions.PrinterName = printName

myReport.PrintToPrinter(1, True, 0, 0)



Thanks



Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top