Summary: | Assign Printer Name with sOutputFile not working with -sDEVICE=mswinpr2 while print PDF file | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | sankar <sankar> |
Component: | Client API | Assignee: | Ray Johnston <ray.johnston> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | christinedelight.top85, htl10, kannanv1983 |
Priority: | P4 | ||
Version: | 8.70 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Customer: | Word Size: | --- |
Description
sankar
2009-09-11 06:00:29 UTC
I suspect that most of this is documented in doc/Devices.htm#Win I'll take this bug and handle it. Thanks Ray, Thanks for handle my bug. please let me know if you need any other details. Thanks & Regards, Sankar B It has been years since I used ghostscript on windows seriously, but I believe it is easier to script non-interactive use of gs via gsprint (part of gsview family)? I had the same issue with 8.64, I used -sDevice = ljet4. -sDEVICE=ljet4 -sOutputFile="\\spool\%printer%HP Deskjet F4100 series" and it's working fine. Does this mean the printing will be successfull only if the printer is ljet4 ? what happens if it's printing to other windows printer ? Can some one help me please. If the printer chooser dialog pops up, this indicates that Ghostscript couldn't find the named printer. In every case I've had reported to me in the past this runs out to be because the printer name is incorrect in some way. Often this turns out to be using %printer% in a batch file, or other case where the command processor replaces the %p with something else. If this can be reproduced reliably, please open a new bug report. Note; as far as I know you can use *either* \\spool *or* %printer%. Using both won't work. |