Loading ...

Print Error when print request comes from ASP.NET application on Windows 7 to XP Printer

Who is online?  0 guests and 0 members
home  »  forums   »  basic asp.net   »  web forms   » Print Error when print request comes from ASP.NET application on Windows 7 to XP Printer

Print Error when print request comes from ASP.NET application on Windows 7 to XP Printer

Posts under the topic: Print Error when print request comes from ASP.NET application on Windows 7 to XP Printer

Posted: 9/5/2011

vikas.athawalegmail.com
V A
Lurker 10  points  Lurker
  • Joined on: 9/5/2011
  • Posts: 2

I have "Canon iP1900 series" printer installed on Windows XP machine (SSS51 - 192.168.1.39).
My ASP.NET 2.0 Published Website is installed on Windows 7 machine.
Both the machines are under same workgroup.

On Windows 7, the above printer is configured as :-
- Add Printer
- Add a Local Printer
- Create a New Port - Local Port (Port Name : \\192.168.1.39\CanoniP1)
- "Canon Inkjet iP1900 Series" driver that comes with Windows 7 is chosen.

On Windows 7, under "Devices and Printers", when I print Test Page from Printer Properties, printing is properly done on

printer on XP machine.

Through the Published Website, The Print Request is given as :-
Dim rptChq As New ReportDocument
rptChq.PrintOptions.PrinterName = "Canon Inkjet iP1900 series"
rptChq.PrintToPrinter(1, True, 1, 1)

The Print Request is sent to the Print Queue, but it shows status as "Error-Printing" and does not print.

Can anyone suggest a solution on why the printing is not done when print request comes from ASP.NET application?


Page 1 of 1 (1 items)