Bug 11686 - Duplex printing to PS printers missing
Summary: Duplex printing to PS printers missing
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rhs-printfilters
Version: 6.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Crutcher Dunnavant
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
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:
Clone Of:
Environment:
Last Closed: 2000-08-08 11:26:45 UTC
Embargoed:


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
35a36,39
> if [ "$DUPLEX" = "2" ]; then
>     duplex="-t"
> fi
>
45c49
<     mpage_cmd="mpage -b$mpage_paper $border -$NUP -m${RTLFTMAR}lr
-m${TOPBOTMAR}tb"
---
>     mpage_cmd="mpage -b$mpage_paper $border -$NUP $duplex -m${RTLFTMAR}lr
-m${TOPBOTMAR}tb"

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.