Posted: 9/5/2011
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 ReportDocumentrptChq.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?