When trying to print for example a pdf in A4 where as the default paper format of the printer is A3 it is printed as A3 instead of A4. Reproducible: Always Steps to Reproduce: 1. Make shure that both formats that you test and your default printing formats are different 2. select another format than the default paper format 3. print Actual Results: The result printing format is not the format that was set.
I tested another Qt app (qpdfview) and it has the same issue. So maybe the issue lies within Qt.
So is this bug in Qt or okular?
Can you run it from the shell and see what the debug output says? I just printed a Executive sized page as A5 in a printer that defaults to Letter and it worked, the output i get from the debug says Executing "lpr" with arguments ( ... "-o", "media=A5" ... ) so the right media is passed to the printer.
debug output: "/usr/lib/qt/plugins/okular/generators/okularGenerator_poppler.so" org.kde.okular.core: Output DPI: QSizeF(278.674, 288.758) org.kde.okular.core: request observer=0x2408d40 2066x3029@0 org.kde.okular.core: sending request observer=0x2408d40 2066x3029@0 async == true isTile == false org.kde.okular.core: request observer=0x2408d40 2066x3029@0 org.kde.okular.core: request observer=0x2408d40 2046x3000@0 org.kde.okular.core: sending request observer=0x2408d40 2046x3000@0 async == true isTile == false org.kde.okular.core: request observer=0x2408d40 2046x3000@0 org.kde.okular.core: request observer=0x2352040 310x455@0 org.kde.okular.core: sending request observer=0x2352040 310x455@0 async == true isTile == false org.kde.okular.core: Executing "lpr" with arguments ("-P", "Canon_iR-ADV_C5030-5035_(UFR_II)", "-#1", "-J", "anschreiben", "-o", "media=A4", "-o", "portrait", "-o", "sides=one-sided", "-o", "outputorder=normal", "-o", "Collate=True", "-o", "page-left=11.3386", "-o", "page-top=11.3386", "-o", "page-right=11.3386", "-o", "page-bottom=11.3386", "-o", "fit-to-page", "-o", "number-up=1", "-o", "number-up-layout=lrtb", "-o", "job-billing", "-o", "job-priority=50", "-o", "job-sheets=none,none", "-r", "/tmp/okular_x12086.ps") checking if page 0 has text: true
Created attachment 102123 [details] ppd of my printer
So were you trying to print in A4 or in some other paper size? because i see A4 there.
Created attachment 102126 [details] signature.asc I tried to print in a3 but it switched to a4.
Confused, are you Thaodan with a different account or different person?
ah yes sorry I'm thaodan
still got the issue, tried latest git. log is attached. It seems that the document size is used instead of the size i forced.
Created attachment 102642 [details] cups print log
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!