borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Alternating Backcolor)Next Topic (inserting PDF into Crystal report) New Topic New Poll Post Reply
AndreaVB Forum : Reporting tools : Web Printout problem
Poster Message
achonk81
Level: Trainee

Registered: 13-09-2005
Posts: 3

icon Web Printout problem


Hello I need some help

I setup my Web application to print from a WebServer. I have setup the
account so that it can print correctly. However, it can only print if
the printer is connected to Win98 but if the

printer is connected to Win2000/XP, it throws an error:

Error in File xxx Request cancelled by the user.


Here is my code to print over the web:

Dim x As ReportDocument = New ReportDocument()
x.PrintOptions.PrinterName = "xxx"
x.PrintToPrinter(1, True, 1, 1) '(eror on this line)


Please give me a solution
thank u all

13-09-2005 at 08:56 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Reporting tools : Web Printout problem
Previous Topic (Alternating Backcolor)Next Topic (inserting PDF into Crystal report) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder