ghostscript parameters
hi,
what's the difference for the following command
-dNOPAUSE -sDEVICE=pdfwrite "-sOutputFile=C:\Archive\?SN?.pdf" -dBATCH "?PF?"
and
-sDEVICE=mswinpr2 -dNOPAUSE -dSAFER -sOutputFile="%printer%HP LaserJet 1100" "?PF?" -c quit
23rd Jun 2008
The first one converts PostScript to PDF, the second prints a PostScript file to a Windows printer.
23rd Jun 2008
I have tried this, but only test in console works. -dNOPAUSE -sDEVICE=pdfwrite "-sOutputFile=C:\Archive\?SN?.pdf" -dBATCH "?PF?"
If i print from other application like notepad, FF3, outlook, nothing comes out as expected. And there's a process called gswin32.exe keep running in task manager, please advise!
nothing shown in log files too.
2nd Jul 2008
The first thing to check is to make sure you are using a PostScript driver for the virtual printer.
Next you can set the Print Distributor service so it can interact with the desktop, you can do this in Start->Settings->Control Panel->Administrator Tools->Services, double click on the Print Distributor service and look in the login tab. This will let you see the GS window when it is created and may give you a clue as to what is going wrong.
2nd Jul 2008
Bingo! The problem is file name are not encoded correctly for gs to handle, by the way, the PDF generated is in grey color, is it a normal?
3rd Jul 2008
You need to enable color in the printer properties, open the Printer folder, right click on the virtual printer and select Properties.
3rd Jul 2008