#781251 xpdf: prints letter PDF files in A3 instead of A4

Package:
xpdf
Source:
xpdf
Description:
Motif-based PDF reader using the Poppler library
Submitter:
Vincent Lefevre
Date:
2021-03-04 21:21:02 UTC
Severity:
normal
#781251#5
Date:
2015-03-26 13:52:42 UTC
From:
To:
When I use xpdf to print a PDF file of "letter" page size such as the
test file attached (using the "lpr" command, which is the default),
the file is printed in A3 instead of A4. If I use "lpr file.pdf"
directly, I get A4 output as expected.

Note: the /etc/cups/client.conf file contains:

ServerName lipps.lip.ens-lyon.fr:443
Encryption Required

(this is the print server at my lab).

#781251#10
Date:
2015-04-30 11:20:27 UTC
From:
To:
The cause is that xpdf uses pdftops before sending the output to lpr.
Indeed, as I've said on

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781253#72

I have exactly the same problem when I run pdftops manually then lpr
on the generated .ps file. So, this is not really a bug in xpdf,
except one may wonder whether it should use pdftops.

I'd say that the problem with the .ps file may come from the printer
configuration (or the PPD file used on the print server?). A possible
cause is that the letter format is a bit wider than A4, and that
would be why the printer uses A3 instead of A4.

#781251#15
Date:
2021-03-04 17:16:12 UTC
From:
To:
Hi,

pdftops is a frontend to the poppler library, which is also used by xpdf
to generate the PostScript that is then sent to lpr (or written to a
file).

But since you said (in 2015) that this not a bug in xpdf, and the
above-mentioned bug has fixed versions (though has not been closed,
perhaps by mistake?), do you think this should be reassigned to pdftops
/ poppler, or has it become obsolete and solved in ghostscript?

Florian

#781251#20
Date:
2021-03-04 21:17:28 UTC
From:
To:
Not a bug in xpdf, but I wonder why xpdf converts the file to ps.