[Bug 82265] Re: Printer output on wrong paper size
same problem exists in 9.04 beta. for LaserJet 5M Printing always sends in letter format, disrespecting the printer driver setting that is clearly set to A4 can be solved by ; sudo dpkg-reconfigure libpaper1 but the real solution should be that default paper format should depend on the locale variable. LC_PAPER=nb_NO.UTF-8 - should mean A4. -- Printer output on wrong paper size https://bugs.launchpad.net/bugs/82265 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 82265] Re: Printer output on wrong paper size
But what about the LTS release? -- Printer output on wrong paper size https://bugs.launchpad.net/bugs/82265 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Fixed in Feisty ** Changed in: gutenprint (Ubuntu) Status: Needs Info = Fix Released ** Changed in: cupsys (Ubuntu) Assignee: (unassigned) = Pascal De Vuyst Status: Unconfirmed = Rejected -- Printer output on wrong paper size https://bugs.launchpad.net/bugs/82265 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Can you install the OpenPrinting of Gutenprint again (preferably the newest version) Do you mean the gutenprint package? I cannot reinstall -- the same errors appear because the old package is removed first. 'sudo /var/lib/dpkg/info/gutenprint.prerm remove' produces no screen output. Apologies if this is meaningless, but if I do this: :~$ sudo /var/lib/dpkg/info/gutenprint.prerm /var/lib/dpkg/info/gutenprint.prerm: line 11: test: !=: unary operator expected :~$ Is that error significant? -- Printer output on wrong paper size https://bugs.launchpad.net/bugs/82265 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
I see that I have already tried v5.0.0.99-1, compiling from source, but I backed out to v5.0.0 -- I don't remember the reason for going back, so I'll try again. Some observations with the LSB version: - the .deb produced by converting the .rpm wants to install in /opt instead of /usr/share (Ubuntu default location). - the installation instructions at OpenPrinting (your link) are not very clear. Result with v5.0.0.99-1: /var/log/cups/error_log is filling up with 'cupsdAuthorize: Local authentication certificate not found!', queued jobs have status 'Stopped: job-stopped'. Unable to use escputil (same reason?). I'll have to go back to v5.0.0 for productivity reasons ;-). Let me know if you want some more tests, in another place if this is too far off the Launchpad topic. -- Printer output on wrong paper size https://bugs.launchpad.net/bugs/82265 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Unable to 'dpkg -P gutenprint' (v5.0.0.-99) -- pre-removal script exits with error 1. Is it safe to force things? -- Printer output on wrong paper size https://bugs.launchpad.net/bugs/82265 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Sorry for the traffic. gutenprint.prerm contains a reference to cups-config, which doesn't exist on my system. -- Printer output on wrong paper size https://bugs.launchpad.net/bugs/82265 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
'cupsdAuthorize: Local authentication certificate not found!' is not caused by the drivers being at another place than usual. This should be independent of thw Gutenprint package. Can you check whether you have the /opt/gutenprint directory when the LSB package of Gutenprint is installed? Or better when you cannot print with this package please post the result of ls -lR /opt/gutenprint The reference to cups-config in gutenprint.prerm is no problem, as if there is no cups-config, the script will simply work without the output of cups-config. Can you install the LSB package of Gutenprint and uninstall it with sudo dpkg -P -D2 gutenprint and post the output here. Make also sure that you use the newest version of the Gutenprint package from OpenPrinting (gutenprint-5.0.0.99.1-3lsb3.1.i486.rpm). ** Changed in: gutenprint (Ubuntu) Sourcepackagename: cupsys = gutenprint -- Printer output on wrong paper size https://bugs.launchpad.net/bugs/82265 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
You are saying - the installation instructions at OpenPrinting (your link) are not very clear. What was not clear? What should I add/change? -- Printer output on wrong paper size https://bugs.launchpad.net/bugs/82265 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Yes, /opt/gutenprint exists. The listing you requested is attached. I am using the v5.0.0.99-1, converting from .rpm to .deb with ubuntu's alien. dpkg -P output follows: :~$ sudo dpkg -P -D2 gutenprint Password: (Reading database ... 204449 files and directories currently installed.) Removing gutenprint ... D02: fork/exec /var/lib/dpkg/info/gutenprint.prerm ( remove ) dpkg: error processing gutenprint (--purge): subprocess pre-removal script returned error exit status 1 D02: fork/exec /var/lib/dpkg/info/gutenprint.postinst ( abort-remove ) * Restarting Common Unix Printing System: cupsd [ ok ] Errors were encountered while processing: gutenprint :~$ ** Attachment added: ls -lR /opt/gutenprint http://librarian.launchpad.net/7600123/ls.txt -- Printer output on wrong paper size https://bugs.launchpad.net/bugs/82265 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Can you install the OpenPrinting of Gutenprint again (preferably the newest version) and then do sudo /var/lib/dpkg/info/gutenprint.prerm remove and post the screen output? To clean up after that uninstall and install the Gutenprint package again. -- Printer output on wrong paper size https://bugs.launchpad.net/bugs/82265 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Yes, the problems seems to be fixed with Ubuntu 7.04. Do you know of any plans to backport the forthcoming stable gutenprint to Dapper? Thank you for your assistance -- it's good to see a continuing improvement in Linux capabilities. -- Printer output on wrong paper size https://bugs.launchpad.net/bugs/82265 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Can you try the distribution-independent Gutenprint package from here: http://openprinting.org/show_driver.cgi?driver=gutenprint Follow the How to install link for instructions. Uninstall cupsys-driver-gutenprint before installing the distribution- independent Gutenprint package. Use the command sudo dpkg -p --force-dpends cupsys-driver-gutenprint for that. Please tell whether this works for you. -- Printer output on wrong paper size https://bugs.launchpad.net/bugs/82265 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Do you still have this issue with the LiveCD of Ubuntu 7.04 (Feisty)? Feisty has cupsys-driver-gutenprint 5.0.0.99.1-0ubuntu2. -- Printer output on wrong paper size https://bugs.launchpad.net/bugs/82265 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
No change with the revised ppd file; no change with different printer output resolutions. I have no idea where that HWResolution setting is coming from! I have attached the full cups error log for a complete print job (Job 235), with the revised ppd file and the first job after cupsys restart. Test print was made from gEdit, plain text, one page, size A5. The default printer settings (in Ubuntu's printer manager) were for A5 paper and 360x180 dpi ('Draft'). The resolution setting has not transferred to the output -- the error log shows a final output resolution of 720x360 ('Normal' setting, I think). There is no possibility to change the print resolution from the gnome print dialog in gEdit, so I would expect it to use the default setting here. Maybe a dangerous assumption! ;-) Thank you for your attention with this problem. ** Attachment added: CUPS debug error log http://librarian.launchpad.net/6489920/cups-error-log.tar.gz -- Printer output on wrong paper size https://launchpad.net/bugs/82265 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Okay, I have tried printing to A5 from Evince (A5 pdf) and gEdit (plain text), but with the printer loaded with A4 paper. (The printer is unable to report paper size back to the system.) In each case, the output was centred on a Letter sized area (so, offset from the centre of A4), but the printed area was A5 sized. Thus the printed output appeared approximately centred on an A4 sheet. Attached is the *original CUPS generated* ppd file. Note that there is some inconsistency in paper sizing: DefaultPageSize and DefaultPageRegion are set to A4; DefaultImageableArea and DefaultPaperDimension are set to Letter. Changing the second two to A4 makes no difference to the printed output (including system reboot). All system settings are for European locale and A4 default (as far as I know). ** Attachment added: CUPS generated Stylus-C86.ppd http://librarian.launchpad.net/6479091/Stylus-C86.ppd-orig -- Printer output on wrong paper size https://launchpad.net/bugs/82265 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
D [27/Jan/2007:15:58:36 +0100] [Job 137] PageSize = [ 612 792 ], HWResolution = [ 100 100 ] The above line from your error_log indicates that a HWResolution of 100dpi is used but according to your PPD file this resolution is not supported by your printer. Does changing the resolution give any difference? Your PPD has some errors. $ cupstestppd Stylus-C86.ppd-orig Stylus-C86.ppd-orig: FAIL **FAIL** Bad Resolution choice None! REF: Page 84, section 5.9 **FAIL** Bad Resolution choice 360x180sw! REF: Page 84, section 5.9 **FAIL** Bad Resolution choice 360sw! REF: Page 84, section 5.9 According to the Adobe PPD Specification Option keywords of *Resolution should have this format: 600x300dpi or 600dpi when both x an y resolution are the same. I have created a corrected PPD file that PASSes cupstestppd and attached it, please set up your printer queue with this PPD and try if this gives the correct paper size output. ** Attachment added: Stylus-C86 ppd that PASSes cupstestppd http://librarian.launchpad.net/6485585/Stylus-C86.ppd -- Printer output on wrong paper size https://launchpad.net/bugs/82265 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Can you give the output of the following command: $ lpoptions ** Changed in: cupsys (Ubuntu) Assignee: (unassigned) = Pascal De Vuyst Status: Unconfirmed = Needs Info -- Printer output on wrong paper size https://launchpad.net/bugs/82265 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
As follows: $ lpoptions job-sheets=none,none printer-info=Stylus-C86 printer-is-accepting-jobs=1 printer-is-shared=1 printer-make-and-model='Epson Stylus C86 - CUPS+Gutenprint v5.0.0' printer-state=3 printer-state-change-time=1169988473 printer-state-reasons=none printer-type=8425484 Dithering=ColourFastCMYK PageSize=A4 Uniform=False PageRegion=A4 Encoding=RunLength Weaving=Off stcolor=False Resolution=None StpInkType=None OutputOrder=Reverse StpQuality=Standard -- Printer output on wrong paper size https://launchpad.net/bugs/82265 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Do you have the problem when printing from gedit too? Perhaps the postscript output will tell more, can you provide foomatic- rip.ps and foomatic-rip.log as described here: https://wiki.ubuntu.com/DebuggingPrintingProblems under IV. No or unexpected printing results. -- Printer output on wrong paper size https://launchpad.net/bugs/82265 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
With gEdit: yes, it appears that the text is reflowed for Letter (large bottom margin; small right margin). More difficult to detect with text output. Re: wiki link debug instructions. After setting 'debug: 1' and restarting cupsys, I have no /tmp/foomatic* files. There are (what appears to be) copies of the ppd file in /tmp, one copy for each print job, but no other debug information or log files. -- Printer output on wrong paper size https://launchpad.net/bugs/82265 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Read the instructions carefully, you should edit the file /etc/foomatic/filter.conf -- Printer output on wrong paper size https://launchpad.net/bugs/82265 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Yes, as I said: 'After setting 'debug: 1' ...' (in /etc/foomatic/filter.conf) -- Printer output on wrong paper size https://launchpad.net/bugs/82265 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Note that only the Samsung printer uses foomatic-rip and not the Epson (it uses a native CUPS driver). So for all tests using foomatic-rip use only the Samsung printer. -- Printer output on wrong paper size https://launchpad.net/bugs/82265 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Thanks -- I don't feel so worried now ;-) Note that the Samsung (and cups-pdf) output is correct: only the Epson shows the problem. Also, the problem is not evident on the Epson with Turboprint driver. -- Printer output on wrong paper size https://launchpad.net/bugs/82265 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 82265] Re: Printer output on wrong paper size
Sorry my mistake, gutenprint indeed is a cups-raster driver. A nice test would be to change the paper size to e.g. A5 and try to print something. Does it still default to Letter? If so please attach your /etc/cups/ppd/Stylus-C86.ppd -- Printer output on wrong paper size https://launchpad.net/bugs/82265 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs