Server-side printing of Word document to remote printer

N

NickCowley

Hi All

I am having issues getting the folowing to work:

ASP.NET C#
Build Word doc on server from template assign an active printer and print out.

Printers are setup as local printers with port as remote server i.e:
\\10.10.10.25\\myprinter and friendly name used as ActivePrinter.

Issue the PrintOut() command and spools to the printer, but, then get errors
and will not pass document to remote print queue.

system event raised as follows:

Win32 error code returned by the print processor: 3003. A StartDocPrinter
call was not issued.

This seems to indicate that the document has was not completly written or
the spooler lost the reference to the document.

Has anyone come cross this?

If yes, has anyone solved it, or is their a work around?

By the way, get the same issue with printing from Excel.

Prints ok when print setup as local printer on LPT1.

Many thanks for any help.

Kind Regards

Nick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top