Launchpad has imported 12 comments from the remote bug at
http://bugs.ghostscript.com/show_bug.cgi?id=700023.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2018-10-23T09:57:26+00:00 William.Yeung wrote:

Created attachment 15946
Research file of ghostscript command test in 9.25.

PDF file data fail to rendering to raster data.

We were reported a bug from our printer users:
I print file use papersize A5 (Ubuntu 16.04.1(x64),Ghostscript 9.18) is Okay.

But, after I update (apt-get upgrade) to Ubuntu 16.04.5(x64),Ghostscript 9.25, 
I print the same file with the same driver there is an error reports:
"Filter Error"

I figure out that all the papersize with define "LeadingEdge" can't print 
success after update.
(with "LeadingEdge":A5, Statement, A4(without "LeadingEdge") is print Okay).


I view the "CUPS Error Log",there is an error reports when print job fails:
"Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE 
-dBATCH -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout 
-sMediaType=Plain -sOutputType=Pass=1,Direction=1 -r600x600 -dLeadingEdge=1 
-dMediaPosition=7 -dDEVICEWIDTHPOINTS=420 -dDEVICEHEIGHTPOINTS=595 
-dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=1 
-scupsPageSizeName=A5 -I/usr/share/cups/fonts -c \'<</.HWMargins[14.400000 
14.400000 14.399994 14.400024] /Margins[0 0]>>setpagedevice\' -f -_

Unrecoverable error: undefined in .putdeviceprops"

I think that this is a bug of ghostscript 9.25.

Below information are the research of I do:

(I am using Ubuntu 16.04.5(x64),Ghostscript 9.25)
I am running gs command below (with "-dLeadingEdge=1"):
gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups  
-sMediaType=Plain -sOutputType=Pass=1,Direction=1 -r600x600 -dLeadingEdge=1 
-dMediaPosition=7 -dDEVICEWIDTHPOINTS=420 -dDEVICEHEIGHTPOINTS=595 
-dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=1 
-scupsPageSizeName=A5 -o ~/Desktop/out_A5.prn ~/Desktop/d00017-001.pdf

Reports an error:
Unrecoverable error: undefined in .putdeviceprops


I am running gs command below (without "-dLeadingEdge=1"):
gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups  
-sMediaType=Plain -sOutputType=Pass=1,Direction=1 -r600x600 -dMediaPosition=7 
-dDEVICEWIDTHPOINTS=420 -dDEVICEHEIGHTPOINTS=595 -dcupsBitsPerColor=8 
-dcupsColorOrder=0 -dcupsColorSpace=1 -scupsPageSizeName=A5 -o 
~/Desktop/out_A5.prn ~/Desktop/d00017-001.pdf

Reports no error.

Above all, we think this is a bug of ghostscript that ghostscript can't
deal with the flag "-dLeadingEdge" on version 9.25 (version 9.18 is
Okay.).

My questions areļ¼š
1. Do you have any plan to fix it?
2. Is there any workaround?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1800062/comments/0

------------------------------------------------------------------------
On 2018-10-23T11:21:15+00:00 Chris-liddell wrote:

Regression caused by:

http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=478a0a862d25

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1800062/comments/1

------------------------------------------------------------------------
On 2018-10-23T12:48:00+00:00 Chris-liddell wrote:

This fixes the problem, and I think behaves correctly:

http://git.ghostscript.com/?p=user/chrisl/ghostpdl.git;a=commitdiff;h=3b91a3aaeb3b


But I'd like Ray to review the commit before I push it.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1800062/comments/2

------------------------------------------------------------------------
On 2018-10-23T16:17:56+00:00 Chris-liddell wrote:

Fixed in:

http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=73f7c6eb9259

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1800062/comments/3

------------------------------------------------------------------------
On 2018-10-24T01:28:10+00:00 William.Yeung wrote:

(In reply to Chris Liddell (chrisl) from comment #3)
> Fixed in:
> 
> http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=73f7c6eb9259

Dear Chris,
   Thanks for your correspondence so quickly.

Now we knew that this a bug of ghostscript(9.25) and you have a solution
for it, will you fit it in the next version(9.26) release?

And can you offer the accurate time that you release the version that
fix this bug?

And is there any workaround for our printer driver customers to do the
print job normally by using paper size like A5(with "LeadingEdge")?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1800062/comments/4

------------------------------------------------------------------------
On 2018-10-24T07:15:11+00:00 Ken Sharp wrote:

(In reply to YangGuangJing from comment #4)
 
> Now we knew that this a bug of ghostscript(9.25)

Incorrect, I'm afraid, this was introduced in 9.22, a year ago.


> and you have a solution for
> it, will you fit it in the next version(9.26) release?

Naturally.

 
> And can you offer the accurate time that you release the version that fix
> this bug?

No.

 
> And is there any workaround for our printer driver customers to do the print
> job normally by using paper size like A5(with "LeadingEdge")?

No. You simply can't use LeadingEdge with the CUPS device.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1800062/comments/5

------------------------------------------------------------------------
On 2018-10-24T07:22:59+00:00 Chris-liddell wrote:

I would add:

I'm assuming that as the problem arose via the cups print workflow that
the "customers" you refer to are users of Ricoh printers that use Linux
- i.e. they use Ghostscript as packaged by their distribution.

That being the case, in situations like this, package maintainers often
pick up patches like this before the feature in an official release of
ours.

I'd suggest if that doesn't happen for any of you customers, they
contact the Ghostscript package maintainer for their distribution, and
prompt them to look at this bug, and pull the patch into their package.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1800062/comments/6

------------------------------------------------------------------------
On 2018-10-25T11:12:33+00:00 William.Yeung wrote:

Dear Chris,

   We were reported this error from a lot of users, and almost all of
our raster printer drivers were affected by this bug.

   Since more and more our printer driver users were affected by this
bug, can you speed up the process of release the next version (Version
9.26) of ghostscript.

And most importantly, our printer driver users can't do their normal
print jobs. So, we are eagerly hopping that you can offer us a patch to
fix this bug before your official release (Version 9.26).

>That being the case, in situations like this, package maintainers often pick 
>up >patches like this before the feature in an official release of ours.
>I'd suggest if that doesn't happen for any of you customers, they contact the 
>>Ghostscript package maintainer for their distribution, and prompt them to 
>look at >this bug, and pull the patch into their package.

Our printer drivers are only supported on Linux Ubuntu OS, so can you
contact the Ubuntu package maintainer to pick up this patch to their
distribution?


Best Regards.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1800062/comments/7

------------------------------------------------------------------------
On 2018-10-25T11:50:27+00:00 Chris-liddell wrote:

(In reply to YangGuangJing from comment #7)
> Dear Chris,
> 
>    We were reported this error from a lot of users, and almost all of our
> raster printer drivers were affected by this bug. 
> 
>    Since more and more our printer driver users were affected by this bug,
> can you speed up the process of release the next version (Version 9.26) of
> ghostscript.
> 
> And most importantly, our printer driver users can't do their normal print
> jobs. So, we are eagerly hopping that you can offer us a patch to fix this
> bug before your official release (Version 9.26).

We're planning a release within the next 6 weeks, and we really can't do
it any quicker (that is already ~4 months earlier than our normal
schedule).

> >That being the case, in situations like this, package maintainers often pick 
> >up >patches like this before the feature in an official release of ours.
> >I'd suggest if that doesn't happen for any of you customers, they contact 
> >the >Ghostscript package maintainer for their distribution, and prompt them 
> >to look at >this bug, and pull the patch into their package.
> 
> Our printer drivers are only supported on Linux Ubuntu OS, so can you
> contact the Ubuntu package maintainer to pick up this patch to their
> distribution?

The maintainer in question (AFAIK) is Till, who you may have noted was
the original assignee for this bug, and also added himself to the CC
list for this bug - so he is aware.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1800062/comments/8

------------------------------------------------------------------------
On 2018-10-25T12:04:45+00:00 William.Yeung wrote:

>We're planning a release within the next 6 weeks
>and also added himself to the CC list for this bug - so he is aware.
Thanks very much for your correspondence so quickly.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1800062/comments/9

------------------------------------------------------------------------
On 2018-10-25T15:23:48+00:00 Till Kamppeter wrote:

YangGuangJing, please report a bug on

https://bugs.launchpad.net/ubuntu/

for the package "ghostscript". Tell also which Ubuntu versions suffer
this bug.

Thanks.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1800062/comments/10

------------------------------------------------------------------------
On 2018-10-26T02:04:37+00:00 William.Yeung wrote:

(In reply to Till Kamppeter from comment #10)
> YangGuangJing, please report a bug on
> 
> https://bugs.launchpad.net/ubuntu/
> 
> for the package "ghostscript". Tell also which Ubuntu versions suffer this
> bug.
> 
> Thanks.

Dear Till,
  We had report this bug on ubuntu:
https://bugs.launchpad.net/ubuntu/+source/linphone/+bug/1800062

New, we are eagerly hopping that you can offer us a patch of Ubuntu
16.04 to fix this bug(and the accurate time that we can pick up the
patch).

After that(16.04),we hope that Ubuntu 18.04 patch can also be offered.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1800062/comments/12


** Changed in: gs-gpl
       Status: Unknown => Fix Released

** Changed in: gs-gpl
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ghostscript in Ubuntu.
https://bugs.launchpad.net/bugs/1800062

Title:
  Ghostscript command line: /usr/bin/gs :Unrecoverable error: undefined
  in .putdeviceprops

Status in GS-GPL:
  Fix Released
Status in ghostscript package in Ubuntu:
  Fix Released
Status in ghostscript source package in Trusty:
  Fix Released
Status in ghostscript source package in Xenial:
  Fix Released
Status in ghostscript source package in Bionic:
  Fix Released
Status in ghostscript source package in Cosmic:
  Fix Released

Bug description:
  PDF file data fail to rendering to raster data.

  We were reported a bug from our printer users:
  I print file use papersize A5 (Ubuntu 16.04.1(x64),Ghostscript 9.18) is Okay.

  But, after I update (apt-get upgrade) to Ubuntu 16.04.5(x64),Ghostscript 
9.25, I print the same file with the same driver there is an error reports:
  "Filter Error"

  I figure out that all the papersize with define "LeadingEdge" can't print 
success after update.
  (with "LeadingEdge":A5, Statement, A4(without "LeadingEdge") is print Okay).

  
  I view the "CUPS Error Log",there is an error reports when print job fails:
  "Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE 
-dBATCH -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout 
-sMediaType=Plain -sOutputType=Pass=1,Direction=1 -r600x600 -dLeadingEdge=1 
-dMediaPosition=7 -dDEVICEWIDTHPOINTS=420 -dDEVICEHEIGHTPOINTS=595 
-dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=1 
-scupsPageSizeName=A5 -I/usr/share/cups/fonts -c \'<</.HWMargins[14.400000 
14.400000 14.399994 14.400024] /Margins[0 0]>>setpagedevice\' -f -_

  Unrecoverable error: undefined in .putdeviceprops"

  Ubuntu 18.04(x64), Ghostscript 9.22 also have the same problem.

  --------------------------------------------------
  ghostscript had confirm that this a bug of ghostscript 9.22(and the later 
version).

  Below information is the correspondence of ghostscript:
  https://bugs.ghostscript.com/show_bug.cgi?id=700023
  ---------------------------------------------------

  Our printer driver users(also users of Ubuntu 16.04) can't do their normal 
print jobs. 
  So, we are eagerly hopping that you can offer us a patch(Ubuntu 16.04) to fix 
this bug?

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/1800062/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to