Bug 696676 - mswinpr2 -dNoCancel is blank or nothing
Summary: mswinpr2 -dNoCancel is blank or nothing
Status: RESOLVED INVALID
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Printer Driver (show other bugs)
Version: master
Hardware: PC Windows NT
: P4 normal
Assignee: Ray Johnston
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-24 07:42 UTC by BEN
Modified: 2021-10-09 14:16 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
postscript file (315.13 KB, application/postscript)
2016-03-24 07:42 UTC, BEN
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BEN 2016-03-24 07:42:16 UTC
Created attachment 12407 [details]
postscript file

while direct print the ps file to printer with "-dNoCancel" option,the printer will print blank content or nothing.But without "-dNoCancel" ,printer is work fine.
my command like this,
gswin64c.exe -dBATCH -dNOPAUSE -dNOSAFER -sDEVICE=mswinpr2 -dNoCancel -sOutputFile="%printer%GP-5850II"  weiweiPeiSong_WIN-P54UIGC04HH_Administrator_20160307_153553_27.ps

GP-5850II is a ticket printer.

maybe reopen #696258
Comment 1 Peter Cherepanov 2016-12-17 15:41:32 UTC
The sample file seems incorrect. It sets an A4 paper size and prints a small, 10x50 mm picture in the upper left corner. At least, it does this on standard desktop printers. There's no difference in the output of the provided file and a few other files tested whether -dNoCancel is specified or not.

Little else can be done without testing the actual printer.