[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-09-05 Thread Alistair Buxton
Since installing 23.04 I can no longer print at all. Attempting to print anything from any application makes the printer display "Error 49 - Turn off and turn on again" on the display, and then reboot itself. This was a clean install. Older versions of Ubuntu continue to print at the correct size

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-02-06 Thread Alistair Buxton
The printer has firmware 20111021. The newest available firmware is 20140618 but can only be installed through Windows. This printer always reports low toner and I ignore it because it will continue printing with no loss of quality for hundreds of pages, usually several times what I already

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-30 Thread Till Kamppeter
Looking at all what you told and posted here, your printer actually does not keep the input image size when getting jobs in PDF. The most reliable format for printing on driverless printers is Apple Raster. But your printer seems to simply do not print anything when receiving Apple Raster and

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-25 Thread Alistair Buxton
PPD file from 18.04. The MD5 does not match the other one so it is definitely different somehow. Note that the name is nearly identical but has an extra underscore at the end for some reason. Also there are two print queues for this printer on the old machine. I didn't try the other one. It's PPD

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-25 Thread Alistair Buxton
Error log from 18.04. The command I ran was: lp -d HP_LaserJet_100_colorMFP_M175nw_61F41D_ -o print-scaling=none 170x230.pdf I also previously tried it without the print-scaling option (not logged), and result was the same. Very close to the correct size both times. ** Attachment added:

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-25 Thread Till Kamppeter
Thanks. Please attach the PPD and error_log from that 18.04 computer. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups in Ubuntu. https://bugs.launchpad.net/bugs/1998917 Title: Everything prints approximately 2% too small after

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-25 Thread Alistair Buxton
Also I just tried printing the test document on another computer which still has Ubuntu 18.04 installed. The output rectangle was undersized by less than 1mm, which seems okay. I can attach the ppd file and error log from there if it would help. -- You received this bug notification because you

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-25 Thread Alistair Buxton
error log ** Attachment added: "error_log" https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1998917/+attachment/5643437/+files/error_log -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups in Ubuntu.

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-25 Thread Alistair Buxton
Note that both of the print commands failed to print anything at all, but the testipp printer does know that my printer is low on toner. Also I tried deleting the testipp printer and recreating it but still nothing. -- You received this bug notification because you are a member of Desktop

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-25 Thread Alistair Buxton
ppd file ** Attachment added: "testipp.ppd" https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1998917/+attachment/5643436/+files/testipp.ppd -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups in Ubuntu.

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-22 Thread Till Kamppeter
Sorry, what I have asked you for in the previous comment is not correct in this case, you do not need to do it. Instead, do the following: Run the command lpadmin -p testipp -E -v ipp://NPI61F41D.local:631/ipp/printer -m driverless:ipp://NPI61F41D.local:631/ipp/printer -o PageSize=A4 Test

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-22 Thread Till Kamppeter
Could you stop CUPS via sudo systenctl stop cups then edit your PPD file /etc/cups/ppd/HP_LaserJet_100_colorMFP_M175nw_61F41D.ppd changing the line (line 21) *cupsFilter2: "application/vnd.cups-pdf application/pdf 200 -" to *%cupsFilter2: "application/vnd.cups-pdf application/pdf 200 -" The

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-22 Thread Alistair Buxton
So attaching the PPD to my bug report about not being able to attach it seems to have fixed the problem, and now I was able to attach it here. :) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups in Ubuntu.

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-22 Thread Alistair Buxton
ppd ** Attachment added: "HP_LaserJet_100_colorMFP_M175nw_61F41D.ppd" https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1998917/+attachment/5642945/+files/HP_LaserJet_100_colorMFP_M175nw_61F41D.ppd -- You received this bug notification because you are a member of Desktop Packages, which

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-22 Thread Alistair Buxton
test ** Attachment added: "170x230.pdf" https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1998917/+attachment/5642941/+files/170x230.pdf -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups in Ubuntu.

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-22 Thread Alistair Buxton
Okay well it seems to be specific to the PPD file. I wonder why it won't accept it. I tried adding ".txt" to the filename too but it still wouldn't accept it. Must be due to the contents. Anyway that's the PDF I used to test (same as previous one) and I used the lp command line invocation. I'll

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-22 Thread Alistair Buxton
Launchpad throws an error whenever I try to attach the ppd. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups in Ubuntu. https://bugs.launchpad.net/bugs/1998917 Title: Everything prints approximately 2% too small after upgrading to

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-22 Thread Alistair Buxton
error log ** Attachment added: "var_log_cups_error_log.txt" https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1998917/+attachment/5642940/+files/var_log_cups_error_log.txt -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups in

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2023-01-22 Thread Till Kamppeter
I am trying to find out what exactly is happening and therefore I need to know somewhat more. Could you switch to debug logging via cupsctl --debug-logging and then print a job where the problem occurs. After that attach the file /var/log/cups/error_log to this bug report. Also attach your

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2022-12-07 Thread Alistair Buxton
** Attachment added: "Test SVG" https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1998917/+attachment/5635061/+files/170x230.svg -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups in Ubuntu.

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2022-12-07 Thread Alistair Buxton
I tested printing a PDF with `lp -o print-scaling=none 170x230.pdf`. The PDF and source SVG are attached. The resulting rectangle is still 168mm x 226mm. ** Attachment added: "Test PDF" https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1998917/+attachment/5635060/+files/170x230.pdf -- You

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2022-12-07 Thread Alistair Buxton
Inkscape and Atril both have the same print dialog. It looks like the attached screenshot. Notice "Scale" is set to 101.5%. This is the only way I can get either of them to print at the correct size. LibreOffice has a different print dialog with no scaling options at all, hence why I had to print

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2022-12-06 Thread Till Kamppeter
For printing PDFs via command line, it is "lp -o print-scaling=none ...". -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups in Ubuntu. https://bugs.launchpad.net/bugs/1998917 Title: Everything prints approximately 2% too small

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2022-12-06 Thread Till Kamppeter
Does Inkscape's print dialog not have something like a "Print Scaling" option with choices like "Auto", "Auto Fill", "Fit", "Fill", and "None"? If there is such an option you have to set it to "None", this leaves the input document in its original size. -- You received this bug notification

[Desktop-packages] [Bug 1998917] Re: Everything prints approximately 2% too small after upgrading to Ubuntu 22.04

2022-12-06 Thread Alistair Buxton
In order to work around this I first printed my labels to a PDF file in LibreOffice, then printed that file with 101.5% scaling. I had to do it this way because LibreOffice does not use the standard printer dialog - the scaling option is not shown. -- You received this bug notification because