Package: psutils
Version: 1.17-24
Severity: important

Hello,

Not sure how useful this report will be, as upstream looks thoroughly
inactive, but hopefully it will help someone.

I am using psnup to combine two A5 pages in an input file in an A4 output file. 

The pages are successfully combined, but the "DocumentMedia" and "BoundingBox" 
values in the output file remain the same (which causes programs to display the 
output file as A5).

Command used:

psnup -pa4 -Pa5 -2 in.ps > out.ps

>From the input A5 file header (and what is currently sent to the output
A4 file as well:
---
%%DocumentMedia: plain 419 595 0 () ()
%%BoundingBox: 0 0 419 595
---

The same values from a normal A4 file (i.e. what the output file should
have instead):
---
%%DocumentMedia: plain 595 841 0 () ()
%%BoundingBox: 0 0 595 841
---

This problem is similar to the one reported in #368331, but I have to
say I am not a fan of the solution proposed in the patch. Instead, pspnup 
should insert correct values.

I don't know a lot about PS, but perhaps a simpler alternative would be to 
insert the appropriate "DocumentPaperSizes" value (based on what is defined 
using -p) and remove the others.


HTH,

George.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.21-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages psutils depends on:
ii  libc6                         2.6-3      GNU C Library: Shared libraries
ii  libpaper1                     1.1.21     Library for handling paper charact

Versions of packages psutils recommends:
ii  gs-esp [gs]              8.15.3.dfsg.1-1 The Ghostscript PostScript interpr

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to