Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...