Red Hat Bugzilla – Bug 115740
psutils doesn't set output paper size
Last modified: 2008-08-02 19:40:34 EDT
If you use psnup with -p and -P (or -w/-h and -W/-H) to generate
output onto a different page size then the input pages, it doesn't
insert any PostScript code into the resulting n-up file to tell the
printer the size of the actual printed page. As a result, the
generated n-up file doesn't print properly. For example, if you lay
out two letter pages on a legal page, the printer thinks the output is
letter and it is thus truncated.
'Red Hat Raw Hide' refers to the development tree for Red Hat Linux.
Red Hat Linux is no longer supported by Red Hat, Inc. If you are still
running Red Hat Linux, you are strongly advised to upgrade to a
current Fedora Core release or Red Hat Enterprise Linux or comparable.
Some information on which option may be right for you is available at
Red Hat apologizes that these issues were not resolved in a more
timely manner. However, we do want to make sure that important
don't slip through the cracks. If these issues are still present
in a current release, such as Fedora Core 5, please move these
bugs to that product and version. Note that any remaining Red Hat
Raw Hide bugs will be closed as 'CANTFIX' on September 30, 2006.
Thanks again for your help.
I'm pretty sure this hasn't been fixed.
Tried to reproduce your bug with
I tried different sizes of input/output paper and it works for me without any problems.
Could you please send me the file, that was printed incorrectly, and the command you used?
please, could you reproduce this bug with latest version of psutils (psnup)??
Hi... I'm having a related problem; psnup is producing wrong-sized output.
psmerge -o/tmp/out.ps tiger.eps tiger.eps
psnup -2 /tmp/out.ps > /tmp/out2.ps
That was with FC6, psutils-1.17-26.1, ghostscript-8.15.3-1.fc6, and
kdegraphics-3.5.5-0.1.fc6 (kghostview). You can also view the problem with
evince-0.6.0-6.fc6 or gv-3.6.2-2.fc6.
On the bright side, if you print it (cups-1.2.7-1.5.fc6), you can see more (but
not all) of the picture. I'm using an HP PSC 2175 all-in-one, with
hplip-1.6.10-1.fc6.4 and hpijs-1.6.10-1.fc6.4.
I'm attaching a 2-page pdf file that I told xpdf (xpdf-3.01-28.fc6) to print to
a file (in.ps), then I ran 'psnup -d -2 < in.ps > out.ps' on the output and
printed it with 'lpr out.ps'. The file looks good with gv, evince and
kghostview, but when printed, the left edge of the first page is cut off by the
1-pixel black border (which comes from using the -d option), such that you can't
read the months.
Created attachment 145026 [details]
A file that has problems when printed 2-up.
Print this to a file (in.ps), then 'psnup -d -2 < in.ps > out.ps' and 'lpr
The months will be cut off the left side of the first page, but the border will
be visible all the way around. Problem not visible in gv, evince or
This seems to be problem with default paper size. Try to psnup with theese params
'psnup -d -2 -pA4 < in.ps > out.ps' put paper format you use in place of A4.
Allowed formats you can find in 'man psnup'. Also some printers have unprintable
space 3 to 7mm at the bottom of the page. To avoid this you can use -m5mm param
to add some extra margin to your page.
In case this didn't help, can you provide me output of 'locale|grep LC_PAPER'
and paper format you use in your printer?
Hi; it didn't help.
Hi, I would also need to know paper size you use in your printer to get some clue.
When I try to produce out.ps as you described in comment #7 I can see in
kghostview page with content shifted to its left border. When I print this on
printer. Unprintable area is also situated on bottom of the page (left on
landscape) so I lose part of months.
Is behaviour in your case the same?
Is your page centred on the paper (space between frame and page border is same
on left and right sides)?
Created attachment 159120 [details]
two-page document on letter paper
Sample PostScript file for exhibiting the problem. Two pages, letter paper.
Created attachment 159121 [details]
psnup output that should be legal size but isn't
The file numbers2.ps is the output of "psnup -plegal -Pletter -2 numbers.ps".
If you load this file into gv, gv displays it as letter size. If psnup were
doing its job properly, it would be putting stuff in the header to tell gv that
Based on the date this bug was created, it appears to have been reported
against rawhide during the development of a Fedora release that is no
longer maintained. In order to refocus our efforts as a project we are
flagging all of the open bugs for releases which are no longer
maintained. If this bug remains in NEEDINFO thirty (30) days from now,
we will automatically close it.
If you can reproduce this bug in a maintained Fedora version (7, 8, or
rawhide), please change this bug to the respective version and change
the status to ASSIGNED. (If you're unable to change the bug's version
or status, add a comment to the bug and someone will change it for you.)
Thanks for your help, and we apologize again that we haven't handled
these issues to this point.
The process we're following is outlined here:
We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.
This bug has been in NEEDINFO for more than 30 days since feedback was
first requested. As a result we are closing it.
If you can reproduce this bug in the future against a maintained Fedora
version please feel free to reopen it against that version.
The process we're following is outlined here: