incorrect paper size

Bug #130593 reported by Sinisa Segvic
2
Affects Status Importance Assigned to Milestone
prosper (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When creating pdf presentations with prosper in feisty,
the resulting pdf files have a wrong paper size,
letter instead of A4.

How to reproduce:
===========

% file: try.tex
\documentclass[a4paper,pdf,default]{prosper}
\begin{document}
  bla bla bla
\end{document}

$ latex try
$ dvips -ta4 try.dvi -o try.ps
$ ps2pdf -sPAPERSIZE=a4 try.ps

$ gv try.ps % (A4 paper, OK)
$ xpdf try.pdf % (letter paper, WRONG)
$ pdfinfo try.pdf % (says A4!)

How to fix
======
0. open try.ps in vi
1. search for CropBox
2. replace the line below...
SDict begin [ /CropBox [10 40 594 800] /PAGES pdfmark end
3. with the following line
SDict begin [ /CropBox [0 0 595 842] /PAGES pdfmark end
4. ps2pdf -sPAPERSIZE=a4 try.ps
5. xpdf try.pdf % a4 paper, OK)

How this came to pass
==============

I guess some other package (used by prosper)
redefines pdf cropping box
which is set in prosper to A4,
despite we say a4paper in documentclass...

HTH,

Siniša

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Thanks for your bug report.

Please attach the output of the printingbug info script for some basic information about your printing setup, it can be found here: https://wiki.ubuntu.com/PrintingBugInfoScript.

Does changing the system wide default paper size give any difference, use the following command from a terminal:
$ sudo dpkg-reconfigure libpaper1

Changed in prosper:
assignee: nobody → pascal-devuyst
status: New → Incomplete
Revision history for this message
Sinisa Segvic (sinisa-segvic) wrote :

Hi Pascal,

Changing the system wide default paper size
does not fix the problem.

PrintingBugInfoScript says:

ProblemType: printingbuginfo v2.0: printingbug (https://wiki.ubuntu.com/PrintingBugInfoSc
ript)
CupsConfiguredDevices: device for brightq: ipp://xxxx:80/ipp
CupsConfiguredPPDs: brightq: Canon iR2220-3320
Date: Mon Aug 6 11:57:20 2007
DesktopEnvironment: GNOME
DistroRelease: Ubuntu 7.04
EtcPapersize: a4
InstalledPrintingPackages:
 ii cupsys 1.2.8-0ubuntu8 Common UNIX Printing System(tm) -
server
 ii cupsys-driver-gutenprint 5.0.0.99.1-0ubuntu2 printer drivers for CUPS
 ii foo2zjs 20061224-0ubuntu3 Support for printing to ZjStream-b
ased printers
 ii foomatic-db 20070327-0ubuntu1 OpenPrinting printer support - dat
abase
 ii foomatic-db-engine 3.0.2-20070303-0ubuntu1 OpenPrinting printer support - pro
grams
 ii foomatic-db-gutenprint 5.0.0.99.1-0ubuntu2 OpenPrinting printer support - dat
abase for Gutenprint printer d
 ii foomatic-db-hpijs 20070327-0ubuntu1 OpenPrinting printer support - dat
abase for HPIJS driver
 ii foomatic-filters 3.0.2-20070323-0ubuntu1 OpenPrinting printer support - fil
ters
 ii gnome-cups-manager 0.31-3ubuntu5 CUPS printer admin tool for GNOME
 ii gs-common 0.3.11ubuntu1 Common files for different Ghostsc
ript releases
 ii gs-esp 8.15.4.dfsg.1-0ubuntu1 The Ghostscript PostScript interpr
eter - ESP version
 ii gs-esp-x 8.15.4.dfsg.1-0ubuntu1 The Ghostscript PostScript interpr
eter - ESP version
 ii gs-gpl 8.54.dfsg.1-5build1 The GPL Ghostscript PostScript int
erpreter
 ii hpijs 2.7.2+1.7.3-0ubuntu1 HP Linux Printing and Imaging - gs
 IJS driver (hpijs)
 ii hplip 1.7.3-0ubuntu1 HP Linux Printing and Imaging Syst
em (HPLIP)
 ii ijsgutenprint 5.0.0.99.1-0ubuntu2 inkjet server - Ghostscript driver
 for Gutenprint
 ii kdeprint 3.5.6-0ubuntu20.1 print system for KDE
 ii libgnomeprint2.2-0 2.18.0-0ubuntu1 The GNOME 2.2 print architecture -
 runtime files
 ii min12xxw 0.0.9-1build1 Printer driver for KonicaMinolta P
agePro 1[234]xxW
 ii pnm2ppa 1.12-16 PPM to PPA converter
Locale: LANG=en_US.UTF-8, LC_CTYPE=C, LC_PAPER=C
Uname: Linux xxxx 2.6.20-16-386 #2 Thu Jun 7 20:16:13 UTC 2007 i686 GNU/L
inux

HTH,

Siniša

Changed in prosper:
assignee: pascal-devuyst → nobody
status: Incomplete → New
Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 beta or later?

Changed in prosper:
status: New → Incomplete
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, your crash report didn't yield the required information. Please go ahead and submit a new crash report if it crashes again with the latest available version of the package. Thanks in advance for your cooperation and understanding.

Changed in prosper (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.