Print Page | Close Window

Error Printing Local Printer.

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2964
Printed Date: 23 Jan 26 at 2:22PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Error Printing Local Printer.
Posted By: JFullerton
Subject: Error Printing Local Printer.
Date Posted: 02 Sep 14 at 9:15PM
I've come across a problem where if I PrintDocument to a local printer using it's full network path and name.  I.e. \\Server\PrinterName.  The PDF won't print and I get a document error.

However if I use the same (full) name and call PrintDocument from another computer on the network it prints fine.

Is there any way around this or am I going to have to strip the Server Name out when the process is running on the computer with the printer installed.

Thanks



Replies:
Posted By: Ingo
Date Posted: 04 Sep 14 at 10:38AM
Hi,
 
for me this seems to be a normal behavior.
If on my pc there isn't a network-printer like file://%5C%5CServer%5CPrinterName" rel="nofollow - \\Server\PrinterName then i hope printout will fail ;-)
With GetPrinterNames you can gather all available printer installations on each single pc.
 
Cheers, Ingo 


-------------
Cheers,
Ingo



Posted By: ukumawat
Date Posted: 11 Aug 15 at 10:20AM
Hi,

I am facing very annoying problem when try to print using windows service on shared printer. I created a console application which is executed by windows service. Always get "Error-Printing" on printer properties window.
Whereas when I print interactively (using windows application) printing is successful. 

Please help.

Thanks,
Ukumawat


Posted By: Rowan
Date Posted: 11 Aug 15 at 2:26PM
Hi Ukumawat,

Has the shared printer been mapped on the machine that the Windows Service is running on?

Cheers,
- Rowan.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk