Bug 11686 - Duplex printing to PS printers missing
Summary: Duplex printing to PS printers missing
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rhs-printfilters   
(Show other bugs)
Version: 6.2
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Crutcher Dunnavant
QA Contact:
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2000-05-26 14:25 UTC by Tero Manninen
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-08-08 11:26:45 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Tero Manninen 2000-05-26 14:25:19 UTC
ps-to-printer.fpi (version 1.63-1) does not seem to know anything about
duplex printing. Our PostScript printer however does and so does mpage
(which is used by the filter to get the N-UP feature).
Without any better knowledge, I made following hack to the filter:

RCS file: RCS/ps-to-printer.fpi,v
retrieving revision 1.0
diff -r1.0 ps-to-printer.fpi
> if [ "$DUPLEX" = "2" ]; then
>     duplex="-t"
> fi
<     mpage_cmd="mpage -b$mpage_paper $border -$NUP -m${RTLFTMAR}lr
>     mpage_cmd="mpage -b$mpage_paper $border -$NUP $duplex -m${RTLFTMAR}lr

In addition to the above change I added a line "DUPLEX=2" into my
printer spool directory "postscript.cfg", and everything seems to work
just great (ASCII and PS printing).

The problem is that "printtool" does not know anything about DUPLEX setting
either. Anyway, this solution works for me. Maybe there are better ways to
do this?

Comment 1 Crutcher Dunnavant 2000-08-08 20:00:11 UTC
printtool REALLY needs an overhaul, but this will have to wait.

We are looking for a re-write in 7.1 (I know we said we'd do one by 7.0)
defering this bug.

Note You need to log in before you can comment on or make changes to this bug.