[Bug 357732] Re: cups always prints with the default page size

2021-07-21 Thread Sebastian
Is there a good reason for still using 16.04?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357732

Title:
  cups always prints with the default page size

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/357732/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 357732] Re: cups always prints with the default page size

2021-07-21 Thread Gabriel Kaufmann
Having kind of this issue on my Ubuntu Xenial (16.04) with Brother MFC
Laser-Printer. The printer worked fine on the same system for over 1
year and suddenly every(!) custom settings from GUI printing dialog was
ignored. I need papersize A4 but always got letter format.

The only workaround I found was to set A4 hard-coded in default PPA
file. But since today I can't switch dublex-printing or switch from
color-printing (default) to black and white!

Very annoying and I don't know what may have changed between once
working and stopped ignoring my custom printing settings for a new
printing-job.

In my case there already is '/usr/lib/cups/filter/pstopdf'.

Reinstalling the packages 'cups-filters cups-filters-core-drivers'
didn't help.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357732

Title:
  cups always prints with the default page size

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/357732/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 357732] Re: cups always prints with the default page size

2019-09-13 Thread Phillip Jones
10 years after the initial bug report and it looks like I'm experiencing
the same bug.

In my case, I'm trying to print some pages that are 11" x 17" but it is
received at the printer as US Letter size. I did confirm that
/etc/papersize contains "letter", and changing that to "A4" also changes
what is received by the printer.

The print dialog confirms that 11x17 has been selected, but that's
overwritten behind the scenes somewhere. Since 11x17 is a custom size in
the print dialog, I'm not sure what I should put in /etc/papersize to
make it work correctly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357732

Title:
  cups always prints with the default page size

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/357732/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 357732] Re: cups always prints with the default page size

2011-02-04 Thread Bug Watch Updater
** Changed in: gs-gpl
   Importance: Unknown = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357732

Title:
  cups always prints with the default page size

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2010-04-30 Thread piviul
I have just installed lucid lynx and the problem doesn't seems to be
solved. Furthermore I'm lost in the bug... there is a pstopdf I can use
to solve the problem? Cups is 1.4.3-1 now.

Thank you very much

Piviul

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2010-03-03 Thread Bug Watch Updater
** Changed in: gs-gpl
   Status: Unknown = Invalid

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-12-18 Thread Launchpad Bug Tracker
** Branch linked: lp:debian/cups

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-10-13 Thread LanoxxthShaddow
I just found this bug report by pure chance. I have been seeing this bug
before and I am glad it has been fixed. However I wonder why there is
not simply an option (e.g. under System-Preferences-Time and Date or
somewhere else appropriate) to set this value? After all, most of the
people in the world use the metric system and A4 paper anyway, so why is
letter set to default at all? Maybe this could even be checked at
install time?

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-08-02 Thread munirx
** Changed in: cups (Ubuntu Jaunty)
   Status: Fix Released = Fix Committed

** Changed in: cups (Ubuntu Jaunty)
   Status: Fix Committed = Incomplete

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-08-02 Thread Till Kamppeter
munirx, please do not reopen a bug without posting any comment.

Pleasea check at first whether you have the update installed which
contains the fix. If you are sure that it is installed for you please
tell us what your problem is in a comment. Then we will decide whether
this is still the same bug or another bug with similar symptoms and
either reopen this bug or ask you to open a new bug.


** Changed in: cups (Ubuntu Jaunty)
   Status: Incomplete = Fix Released

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-05-21 Thread Launchpad Bug Tracker
This bug was fixed in the package cups - 1.3.10-2

---
cups (1.3.10-2) unstable; urgency=low

  [ Till Kamppeter ]
  * debian/local/filters/pdf-filters/pdftopdf/P2PFont.cxx: Make the pdftopdf
filter also building with Poppler 0.11.0.
  * debian/filters/pstopdf: Make pstopdf also reading default values from the
PPD if there is no space between the colon and the value. Some programs
seem to remove this space when setting the defaults. Fixes problem of
Shaun Crampton in LP: #357732.

  [ Martin Pitt ]
  * debian/control: Lift cups-driver-gutenprint from Suggests to Recommends,
it's needed by many printers and not very large. (Closes: #522428)
  * debian/control: Drop cups-bsd's Recommends: cups to a Suggests:. Client
packages shouldn't pull in the server by default. (Closes: #529630)
  * debian/libcups2.dirs: Drop, obsolete.
  * debian/cups.dirs: Remove most directories, not necessary to explicitly
create them.

  [ Martin-Éric Racine]
  * Cleaned Lintian errors:
(source)
E: debian-rules-ignores-make-clean-error
W: debhelper-but-no-misc-depends
W: dbg-package-missing-depends
(cups)
E: dir-or-file-in-var-run
(cups-common)
W: symlink-should-be-relative
  * Added Lintian overrides:
(cups)
W: non-standard-executable-perm
   usr/lib/cups/backend-available/[ipp|lpd|serial] 0744 != 0755

cups (1.3.10-1) unstable; urgency=medium

  [ Martin Pitt ]
  * New upstream security/bug fix release:
- The scheduler now protects against DNS rebinding attacks. Please note
  that this could lead to some regressions. (CVE-2009-0164)
- Fixed TIFF integer overflow in image filters. (CVE-2009-0163)
- Lots of bug fixes.
  * Drop patches included upstream:
- hpgl-regression.dpatch
- runloop-backchannel-eof-spin.dpatch
- png-image-int-overflow.dpatch
- CVE-2008-5183.dpatch
- pdftops-cups-1.4.dpatch
  * Add pdftops-testsuite.dpatch: Fix path to pdftops in the test suite.
  * debian/rules: Specify --with-pdftops=gs, so that the pdftops filter is
built with intended ghostscript support.

  [ Till Kamppeter ]
  * debian/filters/pstopdf: Added support for custom page sizes to the
pstopdf CUPS filter.
  * debian/filters/pstopdf: Call Ghostscript with the default paper size
(from PPD or from CUPS filter command line) on its command line. Some
applications generate PostScript without PageSize requests.
Multi-page-size jobs (LP: 310575) do not get broken by this as
Ghostscript uses the given page size only as default and gives priority
to page sizes requested by the document (in contrary to Poppler).
Fixes LP: #357732).

 -- Martin Pitt martin.p...@ubuntu.com   Thu, 21 May 2009 19:01:37
+0200

** Changed in: cups (Ubuntu)
   Status: Fix Committed = Fix Released

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2008-5183

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2009-0163

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2009-0164

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 357732] Re: cups always prints with the default page size

2009-05-07 Thread Elsie
cups 1.3.9-17ubuntu3 still did not fix my problem, set to A6 but
printing was way off. I'm printing from browser (firefox / opera); tried
various printers (HP color Laserjet 2605, Deskjet D2400) - result is the
same

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-05-04 Thread Launchpad Bug Tracker
This bug was fixed in the package cups - 1.3.9-17ubuntu3

---
cups (1.3.9-17ubuntu3) jaunty-proposed; urgency=low

  * debian/filters/pstopdf: Make pstopdf also reading default values from the
PPD if there is no space between the colon and the value. Some programs
seem to remove this space when setting the defaults. Fixes LP: #357732
harder.

 -- Till Kamppeter till.kamppe...@gmail.com   Tue, 28 Apr 2009
11:45:27 +0200

** Changed in: cups (Ubuntu Jaunty)
   Status: Fix Committed = Fix Released

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-28 Thread Till Kamppeter
Michael Gefen, your file Test_Page.pdf fills the complete A4 page
without leaving any white borders. As most printers cannot print up to
the borders it is normal that borders get cut when sending the file
straight to the printer. It seems that the Adobe Reader does a scale to
fit internally before sending out the file (you probably can configure
this behavior in the printing dialog). Evince does not scale to fit by
default and when downscaling manually it seems not to center the
document but it leaves it in the lower left corner. Evince also defaults
to Letter paper size even if the printer defaults to A4 AND the document
is A4. Report all these issues as bugs in evince (or in the GTK printing
framework).

As you can print other documents (Firefox, OpenOffice.org) correctly,
the filter chain problems are fixed.

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-28 Thread Martin Pitt
Accepted cups into jaunty-proposed, the package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Tags added: verification-needed

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-28 Thread Martin Pitt
** Tags removed: verification-done

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-28 Thread Martin Pitt
Reopening for Jaunty, since the bug is not completely fixed.

** Changed in: cups (Ubuntu Jaunty)
   Status: Fix Released = Fix Committed

** Changed in: cups (Ubuntu)
Milestone: jaunty-updates = None

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-28 Thread Launchpad Bug Tracker
This bug was fixed in the package cups - 1.3.9-17ubuntu2

---
cups (1.3.9-17ubuntu2) jaunty-proposed; urgency=low

  [ Till Kamppeter ]
  * debian/filters/pstopdf: Call Ghostscript with the default paper size
(from PPD or from CUPS filter command line) on its command line. Some
applications generate PostScript without PageSize requests.
Multi-page-size jobs do not get broken by this as Ghostscript uses the
given page size only as default and gives priority to page sizes requested
by the document (contrary to Poppler). (LP: #357732)

  [ Martin Pitt ]
  * debian/control: Update Vcs-Bzr: for Jaunty branch.

 -- Till Kamppeter till.kamppe...@gmail.com   Tue, 21 Apr 2009
13:07:29 +0200

** Changed in: cups (Ubuntu Jaunty)
   Status: Fix Committed = Fix Released

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-28 Thread Marius Vasilescu
I've just updated, I can confirm that it worked from evince  openoffice
writer. Now system-config-printer overrides the default /etc/papersize
setting.

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-28 Thread SebastianHazlewood
hooray!

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-28 Thread Martin Pitt
** Tags added: verification-done
** Tags removed: verification-needed

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-28 Thread Shaun Crampton
Till, the new pstopdf (attached to this bug) works for me when I print a
test page from the Printing applet.

Thanks.

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-27 Thread Till Kamppeter
Michael Gefen, can you supply your error_log following the instructions
on

https://wiki.ubuntu.com/DebuggingPrintingProblems

Thanks.

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-27 Thread Michael Gefen
sorry Till, here the log.
the print job is number 30.
it was sent from cups web interface using print test page.

** Attachment added: error_log
   http://launchpadlibrarian.net/26020026/error_log

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-27 Thread Till Kamppeter
Michael Gefen, did you test with other things than the CUPS test page of
the CUPS web interface? How much got cut off from your printouts? 2 cm?
Or much less? Did you also try printing normal documents, likle from
OpenOffice.org, Firefox, ...?

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-27 Thread Shaun Crampton
I'm sure the version of pstopdf on my system is the same as the one
attached

MD5 sums of all files on my system matching pstopdf:

3183e4d7de6eaf8ef0dadf925de32dbe  /usr/lib/cups/filter/pstopdf
3183e4d7de6eaf8ef0dadf925de32dbe  /usr/share/doc/cups/examples/pstopdf

And the one attached to the bug:

3183e4d7de6eaf8ef0dadf925de32dbe  /tmp/pstopdf

One thing that I noticed in the error log is that I don't have a file
/etc/papersize (although I have set A4 via the Printed Options tab of
the Printer Properties dialog of the Printing applet).


** Attachment added: PPD For my printer
   http://launchpadlibrarian.net/26039115/Stylus_Photo_R300.ppd

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-27 Thread Michael Gefen
the attached file was printed using evince and acrobat 9

in acrobat:
acrobat reported the following command (when making printer settings)
lpr -P HL-2030-series -o PrintoutMode=Normal -o InputSlot=Default -o 
PageSize=A4 -o PageRegion=A4 -o Duplex=None -o Quality=FromPrintoutMode

and the printout came fine.

in evince:
the page was cut on all edges after when printing at 100% scale
and on bottom left when printing at 50% scale

in firefox and openoffice:
the printout seems to be fine.

i would also like to note that i performed the test that you offered here:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/293832/comments/20

the results were different, and the parameters that affected the printout were: 
-dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842



** Attachment added: Test_Page.pdf
   http://launchpadlibrarian.net/26041567/Test_Page.pdf

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-27 Thread Till Kamppeter
Everyone who has still problems, especially Shaun, please try the
attached pstopdf. Replace your /usr/lib/cups/filter/pstopdf with it and
make sure the new file is executable (sudo chmod 755
/usr/lib/cups/filter/pstopdf). Then try to print again. Does this help?

Shaun, thank you very much for your PPD file. I think with this I have
found your problem. The program which set the page size defaults in your
PPD removed the spaces between the colons and the default values. I do
not know whether this is against the PPD specs put my new pstopdf
supports it and so printing should work for you.

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-27 Thread Michael Gefen
the pstopdf file attached to this report is exactly the same as the one in 
/usr/lib/cups/filter/
(unless you changed the file and i missed the new attachment, although i 
doublechecked)

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-27 Thread Till Kamppeter
As usual, I have forgotten to attach it. Here we go.

** Attachment added: Second fix in pstopdf, this time to read default also 
from the PPD if there is no space between colon and value
   http://launchpadlibrarian.net/26046344/pstopdf

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-27 Thread Michael Gefen
i tested the new pstopdf.
it did not resolve the problem for me.

i don't really understand the way cups work but i decided to give a try to 
pstopdf that worked for me
(a very dirty hack)
so i copied it from cups 1.3.9-2_i386 package (the original that came with 
intrepid) and it resolved the problem with the cups test page. 
it did not resolve the issue with printing from evince.
maybe evince problem is related to the fact that the Paper type in Print 
dialogue (page setup tab) is disabled. and i should file a separate bug about 
it.

the pstopdf i used is attached for convenience.

** Attachment added: pstopdf from cups-1.3.9-2_i386
   http://launchpadlibrarian.net/26047267/pstopdf

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-27 Thread Leonard Michlmayr
Michael Gefen, you said you used the following line:

lpr -P HL-2030-series -o PrintoutMode=Normal -o InputSlot=Default -o
PageSize=A4 -o PageRegion=A4 -o Duplex=None -o Quality=FromPrintoutMode

Just for debugging, please try and add -o media=A4
As mentioned earlier, I have experienced that using lpr with PageSize=A4 alone 
does not work, because something will add a media=Letter to the options and 
it seems to override the PageSize.

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-26 Thread Till Kamppeter
Everyone who still has the problem even after supplying the proposed fix
please tell which printer you have, which driver you use, and supply an
error_log and the apport output (or troubleshooting wizard output)
following the instructions on
https://wiki.ubuntu.com/DebuggingPrintingProblems

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-26 Thread Shaun Crampton
apport-collect crashes when run against this bug (reported as bug
363056).  I've attached the output of printingbuginfo instead, which the
wiki page said should be the same.

I'm using an Epson R300, the driver info appears to be in the
attachment.  Please shout if there's anything else needed.

** Attachment added: Output from printingbug info
   http://launchpadlibrarian.net/25995565/printingbuginfo

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-26 Thread Shaun Crampton

** Attachment added: Error log.  Job 169 was a test page, which printed off 
the top.
   http://launchpadlibrarian.net/25995634/error_log

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-26 Thread Till Kamppeter
Shaun, are you sure that you have the new pstopdf?

Can you also attach your printer's PPD file (it is in /etc/cups/ppd/)?

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-26 Thread Michael Gefen
to make things clear:
my printer is: 
Bus 005 Device 004: ID 04f9:0027 Brother Industries, Ltd HL-2030 Laser Printer

I use hpijs driver (PPD attached).
this ppd worked with cups 1.3.9-2 (from ibex)


** Attachment added: PPD of my printer
   http://launchpadlibrarian.net/26011922/HL-2030-series.ppd

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-25 Thread Shaun Crampton
Till.  The attached file is identical to my
/usr/lib/cups/filter/pstopdf.

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 357732] Re: cups always prints with the default page size

2009-04-25 Thread kikl
Thanks a lot Shaun. This really fixed my problem!

Regards,

Kilian


On Sat, 2009-04-25 at 09:57 +, Shaun Crampton wrote:
 Till.  The attached file is identical to my
 /usr/lib/cups/filter/pstopdf.


-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-25 Thread Michael Gefen
i did the diff as well, and pstopdf attached here is thesame as the one
in /usr/lib/cups/filter/, and i still have the issue.

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-24 Thread Leonard Michlmayr
The package from -proposed works well for me.

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-24 Thread Gyorgyi Toth
Till, just re-installed cups from -proposed, works fine.

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-24 Thread Till Kamppeter
** Tags added: verification-done
** Tags removed: verification-needed

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-24 Thread Michael Gefen
This solution does not work for me

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-23 Thread Martin Pitt
Accepted cups into jaunty-proposed-proposed; please test and give
feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed
for documentation how to enable and use -proposed. Thank you in advance!

** Tags added: verification-needed

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-23 Thread Gyorgyi Toth
The fix worked for me, thank you. (Also for easy-to-use instructions!)

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-23 Thread Till Kamppeter
Gyorgyi Toth, did you also try the packages from -proposed? They need to
be tested so that they get into the official updates and this way
printing will just work for other users.

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-23 Thread Shaun Crampton
Just upgraded to jaunty proposed.  I'm still seeing the issue (printing
off the top of my A4 sheet).  For the record, here's the information on
my CUPS version:

$ apt-cache policy cups
cups:
  Installed: 1.3.9-17ubuntu2
  Candidate: 1.3.9-17ubuntu2
  Version table:
 *** 1.3.9-17ubuntu2 0
500 http://ubuntu.virginmedia.com jaunty-proposed/main Packages
100 /var/lib/dpkg/status
 1.3.9-17ubuntu1 0
500 http://ubuntu.virginmedia.com jaunty/main Packages

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-23 Thread Till Kamppeter
Shaun Crampton, can you diff the /usr/lib/cups/filter/pstopdf file with
my attached file, to see whether it made it really into the package?

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-21 Thread Martin Pitt
SRU uploaded, waiting in queue now for Jaunty's release.

** Changed in: cups (Ubuntu Jaunty)
   Status: In Progress = Fix Committed

** Changed in: cups (Ubuntu Jaunty)
 Assignee: Martin Pitt (pitti) = Till Kamppeter (till-kamppeter)

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-21 Thread Daniel Stoni
Hello Till  colleagues, I confirm that the recommended pstopdf has fixed 
problem here, too. Thank you. 
Rgds, Dani

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-20 Thread Leonard Michlmayr
** Description changed:

- Cups does not print in any other page size than the one set in
- /etc/papersize, if the requested page size is specified as a job option
- rather than within the PS file. Pages are passed through gs
- -sDEVICE=pdfwrite ... which sets the page size to the default page
- size. Yet, I don't know whether this is a bug in ghostscript or the
- intended behavior of ghostscript and a bug in cups.
+ After the upgrade to Jaunty some users experience that a part of the
+ page is cut when printing, or other kinds of misalignment.  (A fix is
+ available, see below)
+ 
+ Details:
+ Cups does not print in any other page size than the one set in 
/etc/papersize, if the requested page size is specified as a job option rather 
than within the PS file. Pages are passed through gs -sDEVICE=pdfwrite ... 
which sets the page size to the default page size. Yet, I don't know whether 
this is a bug in ghostscript or the intended behavior of ghostscript and a bug 
in cups.
  
  Since the upgrade to Jauny beta, I experienced that evince would shift a
  document up when printing. It is reproducible. I print in A4 on a Canon
  IR3170Ci.
  
  The printed output is translated up. The upper part of the contents in
  not visible. I also tried another printer driver (hpijs instead of post-
  script) and did not observe any improvement.
  
  Changing /etc/papersize from letter to a4 allows me to print in a4.
  
  Printing from evince also working fine in intrepid.
  
  To reproduce the bug:
+ lpr -omedia=A3 testpage.ps
+ There should not be a problem if the postscript file itself requests a page 
size.
  
- lpr -omedia=A3 testpage.ps
- 
- There should not be a problem if the postscript file itself requests a
- page size.
- 
- ProblemType: Bug
- Architecture: amd64
- DistroRelease: Ubuntu 9.04
- NonfreeKernelModules: nvidia
- Package: evince 2.26.0-0ubuntu1
- ProcEnviron:
-  SHELL=/bin/bash
-  LC_NUMERIC=en_US.UTF-8
-  PATH=(custom, user)
-  LANG=de_AT.UTF-8
- SourcePackage: evince
- Uname: Linux 2.6.28-11-generic x86_64
+ FIX:
+ # (For simplicity, just paste this section to a terminal.)
+ # Download the attached pstopdf and install it in /usr/lib/cups/filter/
+ cd /tmp
+ wget http://launchpadlibrarian.net/25537150/pstopdf
+ sudo cp pstopdf /usr/lib/cups/filter/
+ # Then change the permissions of the installed file:
+ sudo chmod ugo+rx /usr/lib/cups/filter/pstopdf
+ # that's all.

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-19 Thread Sebastian
Till,

replacing pstopdf as suggested resolved the issue for me (bug # 357286).
Thanks a lot for your help.

Sebastian

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-18 Thread SebastianHazlewood
I really think this needs to be fixed. What good are printer preferences
dialoges, if only a sudo gedit /etc/papersize lets you print correctly?

** Changed in: ghostscript (Ubuntu Jaunty)
   Status: Invalid = Confirmed

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-18 Thread Steve Langasek
It was marked invalid because ghostscript is the wrong package.  Please
do not mess with this setting.

** Changed in: ghostscript (Ubuntu Jaunty)
   Status: Confirmed = Invalid

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-17 Thread Martin Pitt
Cherrypicked from trunk to jaunty branch. Assigning to me to upload it
after Jaunty is released.

** Changed in: cups (Ubuntu Jaunty)
 Assignee: (unassigned) = Martin Pitt (pitti)

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-16 Thread Leonard Michlmayr
** Summary changed:

- evince shifts up print since upgrade to jaunty
+ cups always prints with the default page size

** Description changed:

- Binary package hint: evince
+ Cups does not print in any other page size than the one set in
+ /etc/papersize. Pages are passed through gs -sDEVICE=pdfwrite ...
+ which sets the page size to the default page size. Yet, I don't know
+ whether this is a bug in ghostscript or the intended behavior.
  
- Since the upgrade to jauny beta, I experience that evince would shift a 
document up when printing. It is reproducable.
- I print in A4 on a Canon IR3170Ci.
+ Since the upgrade to Jauny beta, I experienced that evince would shift a
+ document up when printing. It is reproducible. I print in A4 on a Canon
+ IR3170Ci.
  
  The printed output is translated up. The upper part of the contents in
  not visible. I also tried another printer driver (hpijs instead of post-
  script) and did not observe any improvement.
  
- Printing with lpr from the command line works fine. (But lpr does not do nice 
scaling.)
+ Changing /etc/papersize from letter to a4 allows me to print in a4.
+ 
  Printing from evince also working fine in intrepid.
  
  ProblemType: Bug
  Architecture: amd64
  DistroRelease: Ubuntu 9.04
  NonfreeKernelModules: nvidia
  Package: evince 2.26.0-0ubuntu1
  ProcEnviron:
   SHELL=/bin/bash
   LC_NUMERIC=en_US.UTF-8
   PATH=(custom, user)
   LANG=de_AT.UTF-8
  SourcePackage: evince
  Uname: Linux 2.6.28-11-generic x86_64

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-16 Thread Leonard Michlmayr
** Description changed:

  Cups does not print in any other page size than the one set in
  /etc/papersize. Pages are passed through gs -sDEVICE=pdfwrite ...
  which sets the page size to the default page size. Yet, I don't know
- whether this is a bug in ghostscript or the intended behavior.
+ whether this is a bug in ghostscript or the intended behavior of
+ ghostscript and a bug in cups.
  
  Since the upgrade to Jauny beta, I experienced that evince would shift a
  document up when printing. It is reproducible. I print in A4 on a Canon
  IR3170Ci.
  
  The printed output is translated up. The upper part of the contents in
  not visible. I also tried another printer driver (hpijs instead of post-
  script) and did not observe any improvement.
  
  Changing /etc/papersize from letter to a4 allows me to print in a4.
  
  Printing from evince also working fine in intrepid.
  
  ProblemType: Bug
  Architecture: amd64
  DistroRelease: Ubuntu 9.04
  NonfreeKernelModules: nvidia
  Package: evince 2.26.0-0ubuntu1
  ProcEnviron:
   SHELL=/bin/bash
   LC_NUMERIC=en_US.UTF-8
   PATH=(custom, user)
   LANG=de_AT.UTF-8
  SourcePackage: evince
  Uname: Linux 2.6.28-11-generic x86_64

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-16 Thread Till Kamppeter
This is a missing capability/bug in Ghostscript's PDF output device. The
PDF output device does not conserve page sizes given by the input
document. It always assigns the default page size or a page size given
by the command line.

I have reported the problem upstream.

The CUPS task I did not remove as after the Ghostscript fix there are
perhaps slight changes in the pstopdf filter needed.

** Also affects: ghostscript (Ubuntu)
   Importance: Undecided
   Status: New

** Bug watch added: Ghostscript (AFPL) Bugzilla #690421
   http://bugs.ghostscript.com/show_bug.cgi?id=690421

** Also affects: gs-gpl via
   http://bugs.ghostscript.com/show_bug.cgi?id=690421
   Importance: Unknown
   Status: Unknown

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-16 Thread Till Kamppeter
Can you set the Fit to Page option in system-config-printer (right-
click printer, Properties, Job options) and see what happens then?

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-16 Thread Till Kamppeter
Can you replace the file /usr/lib/cups/filter/pstopdf by the attached
file (make sure that the new file is executable (chmod 755
/usr/lib/cups/filter/pstopdf), unmark the Fit to Page option in
system-config-printer, and try to print again? Does it work correctly
now?


** Changed in: cups (Ubuntu)
   Importance: Undecided = High

** Changed in: cups (Ubuntu)
   Status: New = Incomplete

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-16 Thread Leonard Michlmayr
Setting Fit to Page and /etc/papersize to letter (which is wrong) will
print an a4 testpage which is shrunk just enough to fit within the page
margins. So, everything is displayed, but it is slightly too small. I
prefer to disable Fit to Page and set the correct /etc/papersize

As to the attached pstopdf: I cannot find the attachment, did you attach
it to this bug in LP?

I read some words of the gs bug-report and I want to add my thoughts.

Probably, if the document does not request a page size, pstopdf does not
have any other choice than using the default size, because the page size
may be undefined in PS but it may not be undefined in PDF.

So it is the duty of cups to care for the page size. (For example gs
-sPAPERSIZE=...) On the other hand the better solution may be to add the
code from the PPD first:

If I call cups with
$ lpr -oPageSize=A3 foobar.ps

Cups will FIRST convert the PS to PDF and THEN add the options from the
PPD, which sets A3 paper. Thus the default papersize overrides the
options from the PPD. The order is wrong.

I don't know why cups converts to PDF and then back to PS, but maybe it
could evaluate the options (e.g. -oPageSize=A3, or the default option in
the PPD)  and prepend the appropriate code from the PPD before calling
pstopdf.

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-16 Thread Leonard Michlmayr
** Description changed:

  Cups does not print in any other page size than the one set in
- /etc/papersize. Pages are passed through gs -sDEVICE=pdfwrite ...
- which sets the page size to the default page size. Yet, I don't know
- whether this is a bug in ghostscript or the intended behavior of
- ghostscript and a bug in cups.
+ /etc/papersize, if the requested page size is specified as a job option
+ rather than within the PS file. Pages are passed through gs
+ -sDEVICE=pdfwrite ... which sets the page size to the default page
+ size. Yet, I don't know whether this is a bug in ghostscript or the
+ intended behavior of ghostscript and a bug in cups.
  
  Since the upgrade to Jauny beta, I experienced that evince would shift a
  document up when printing. It is reproducible. I print in A4 on a Canon
  IR3170Ci.
  
  The printed output is translated up. The upper part of the contents in
  not visible. I also tried another printer driver (hpijs instead of post-
  script) and did not observe any improvement.
  
  Changing /etc/papersize from letter to a4 allows me to print in a4.
  
  Printing from evince also working fine in intrepid.
  
+ To reproduce the bug:
+ 
+ lpr -oPageSize=A3 testpage.ps
+ 
+ There should not be a problem if the postscript file itself requests a
+ page size.
+ 
  ProblemType: Bug
  Architecture: amd64
  DistroRelease: Ubuntu 9.04
  NonfreeKernelModules: nvidia
  Package: evince 2.26.0-0ubuntu1
  ProcEnviron:
   SHELL=/bin/bash
   LC_NUMERIC=en_US.UTF-8
   PATH=(custom, user)
   LANG=de_AT.UTF-8
  SourcePackage: evince
  Uname: Linux 2.6.28-11-generic x86_64

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-16 Thread Till Kamppeter
Sorry, here we go.

** Attachment added: Fixed pstopdf CUPS filter.
   http://launchpadlibrarian.net/25537150/pstopdf

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-16 Thread Till Kamppeter
** Changed in: ghostscript (Ubuntu)
   Status: New = Invalid

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-16 Thread Till Kamppeter
I propose to fix this as an SRU in Jaunty. Fix is committed to the
Debian BZR repo of CUPS. debdiff is attached.

Steps to reproduce:

If your printer uses A4 paper, put letter into /etc/papersize and
print the A4 Ubuntu test page.

If your printer uses letter paper, put A4 into /etc/papersize and
print the Letter Ubuntu test page.

The page will not be correctly centered, most probably cut at the top or
at the right.

I have checked Intrepid. Here the bug should not occur. The Intrepid
task can be removed.

** Attachment added: debdiff for a Jaunty SRU
   http://launchpadlibrarian.net/25540646/cups_1.3.9-17_1.3.9-18.debdiff

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-16 Thread Till Kamppeter
Leonard Michlmayr, even if I have already proposed the new pstopdf for
an SRU, please test it anyway, so that we know whether it helps you and
you have printing back working.

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-16 Thread Leonard Michlmayr
** Description changed:

  Cups does not print in any other page size than the one set in
  /etc/papersize, if the requested page size is specified as a job option
  rather than within the PS file. Pages are passed through gs
  -sDEVICE=pdfwrite ... which sets the page size to the default page
  size. Yet, I don't know whether this is a bug in ghostscript or the
  intended behavior of ghostscript and a bug in cups.
  
  Since the upgrade to Jauny beta, I experienced that evince would shift a
  document up when printing. It is reproducible. I print in A4 on a Canon
  IR3170Ci.
  
  The printed output is translated up. The upper part of the contents in
  not visible. I also tried another printer driver (hpijs instead of post-
  script) and did not observe any improvement.
  
  Changing /etc/papersize from letter to a4 allows me to print in a4.
  
  Printing from evince also working fine in intrepid.
  
  To reproduce the bug:
  
- lpr -oPageSize=A3 testpage.ps
+ lpr -omedia=A3 testpage.ps
  
  There should not be a problem if the postscript file itself requests a
  page size.
  
  ProblemType: Bug
  Architecture: amd64
  DistroRelease: Ubuntu 9.04
  NonfreeKernelModules: nvidia
  Package: evince 2.26.0-0ubuntu1
  ProcEnviron:
   SHELL=/bin/bash
   LC_NUMERIC=en_US.UTF-8
   PATH=(custom, user)
   LANG=de_AT.UTF-8
  SourcePackage: evince
  Uname: Linux 2.6.28-11-generic x86_64

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-16 Thread Leonard Michlmayr
Ok, thank you very much for the patch.
I have tested it a lot.

It fixes the problem.

(I was wrong to use lpr -oPageSize=... though, because lpr somehow adds
a media=A4 option)

I have tested printing with lpr -omedia=... and printing with evince.

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-16 Thread Till Kamppeter
Leonard, thank you for the test. We will put out an SRU (Stable Release
Update) with this fix when Jaunty gets released. We will need some
additional testing from you then. Instructions will be posted here in
the bug report when the SRU is ready for testing.

** Changed in: cups (Ubuntu)
Milestone: None = jaunty-updates

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-16 Thread Martin Pitt
** Also affects: cups (Ubuntu Jaunty)
   Importance: High
   Status: Incomplete

** Also affects: ghostscript (Ubuntu Jaunty)
   Importance: Undecided
   Status: Invalid

** Also affects: cups (Ubuntu Intrepid)
   Importance: Undecided
   Status: New

** Also affects: ghostscript (Ubuntu Intrepid)
   Importance: Undecided
   Status: New

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357732] Re: cups always prints with the default page size

2009-04-16 Thread Till Kamppeter
** Changed in: cups (Ubuntu Intrepid)
   Status: New = Invalid

** Changed in: ghostscript (Ubuntu Intrepid)
   Status: New = Invalid

** Changed in: cups (Ubuntu Jaunty)
   Status: Incomplete = In Progress

-- 
cups always prints with the default page size
https://bugs.launchpad.net/bugs/357732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs