OpenPrinting / system-config-printer

Graphical user interface for CUPS administration
GNU General Public License v2.0
160 stars 88 forks source link

"Out of Paper" message is NOT displayed. #152

Closed 49studebaker closed 4 years ago

49studebaker commented 4 years ago

1) Ubuntu 19.10 2) system-config-printer 1.5.11 3) system-config-printer detected my HP Laserjet 1020. I printed a page, and it was added to the print queue. The page did not print and the print job disappeared from the print queue. I downloaded foo2zjs.tar.gz from http://foo2zjs.rkkda.com/ and followed the instructions. I was able to get my printer to successfully print pages. When my HP Laserjet 1020 is out of paper. The green light on the printer changes to a blinking orange light. An "Out of Paper" message with a retry button, should have been displayed. 4) An "Out of Paper" message with a retry button, was NOT displayed.

zdohnal commented 4 years ago

Hi, the s-c-p behavior depends on what CUPS knows and CUPS depends on reports from backend (binary which communicate with device). Can you see the message in CUPS web interface in 'Printers' tab? If there is no message about out-of-paper, CUPS know nothing about the situation, so s-c-p does not know neither. Usually, the functionality about reporting such messages is implemented only in 'ipp' backend.

49studebaker commented 4 years ago

I clicked "Settings", "Devices", "Printers", "Additional Printer Settings...". I then opened "View Print Queue" and "Properties". I tried printing with no paper. The printer State changed from "Idle" to "Processing - Sending data to printer". No "Out of Paper (retry_button)" message was displayed. If I right click on Job 75 and then click "Reprint", the printer prints again. Refer to attached images.

Later, I found that the web interface can be accessed at:

http://localhost:631/printers/

I turned off the printer and turned it on again. The web interface status is "Idle". I tried printing but the status did not change. I turned off/on the printer. After printing, I quickly pressed the refresh button in Firefox. The Status changed from "Idle" to "Processing - Sending data to printer" and then back to "Idle". Attached "error_log" and "access_log" which are from the web interface.

1_before_printing 2_after_clicking_print_test_page 3_page_did_not_print_orange_light_flashes 4_job_attributes

access_log.txt error_log.zip

zdohnal commented 4 years ago

Your printer does not generate any message about out of paper to CUPS, so s-c-p does not know anything about it too. Closing as third-party.