fafconetadmin - 2012-07-09

Hello all,

I am having trouble with gsdll32.dll. I got it to print to a network printer, but every time I execute my custom built program it prompts for a printer name.

I am using the mswinpr2 driver. According to this it should be working fine.

This is the function call:

gs.AddParam("-sOutputFile=\"\\\\spool\\" + printerName + "\" \"" + pdfFilePath + "\"");

printerName was declared:

string printerName=@"\\printServer\printer";

pdfFilePath is the absolute path to the pdf I am trying to print.

As a side note, when I use gswin32c from the command line and use the same printer, it does not prompt for a printer.