Bug 3607

Summary: Windows postscript & ghostscript
Product: [Retired] Red Hat Linux Reporter: degraaf
Component: rhs-printfiltersAssignee: David Lawrence <dkl>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-06-25 22:00:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description degraaf 1999-06-21 01:00:39 UTC
Postscript data created by Windows drivers contain
%Trailer info not intended to go to the printer.
Ghostscript tries to send this to stdout but the use of the
-sOutputFile=- option combines it and causes an extra page
to follow every job.  This wastes paper and is annoying.

The following construct in
/usr/lib/rhs/rhs-printfilters/ps-to-printer.fpi
corrects this problem:

eval "$mpage_cmd | gs -q -sDEVICE=$GSDEVICE \
      -r$RESOLUTION \
      -sPAPERSIZE=$PAPERSIZE \
      -dNOPAUSE \
      -dSAFER \
      -sOutputFile=\|'cat 1>&3' \
      $COLOR \
      $EXTRA_GS_OPTIONS \
      -  3>&1  1>&2 "

Comment 1 Bill Nottingham 1999-06-23 22:28:59 UTC
what does the %Trailer info look like (I'm trying to sync
this with another report of extra garbage coming from a Windows
postscript driver...)

Comment 2 Bill Nottingham 1999-06-25 22:00:59 UTC
yup, looks like something I've seen before with the
Adobe postscript driver. Fix applied in rhs-printfilters-1.55-1,
in the next Raw Hide release.

Comment 3 Fedora Update System 2018-06-25 09:48:51 UTC
sssd-1.16.2-4.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-5793dadb1d

Comment 4 Fedora Update System 2018-06-26 18:23:41 UTC
sssd-1.16.2-4.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-5793dadb1d

Comment 5 Fedora Update System 2018-07-06 16:42:03 UTC
sssd-1.16.2-4.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.