Printer queue stopped linux ��� ������

Содержание
  1. Arch Linux
  2. #1 2016-10-22 17:59:37
  3. HP: printer queue stopped (700)
  4. #2 2016-10-23 06:38:55
  5. Re: HP: printer queue stopped (700)
  6. #3 2016-10-23 20:19:08
  7. Re: HP: printer queue stopped (700)
  8. CUPS/Troubleshooting
  9. Contents
  10. Debug log
  11. Problems resulting from upgrades
  12. CUPS stops working
  13. All jobs are «stopped»
  14. All jobs are «The printer is not responding»
  15. The PPD version is not compatible with gutenprint
  16. _2.3.3+106+ga72b0140e-1″>Issues Relating to Upgrade 2.3.3-3 -> 2.3.3+106+ga72b0140e-1
  17. Networking issues
  18. Unable to locate printer
  19. Old CUPS server
  20. Unable to locate PPD file
  21. Finding URIs for Windows print servers
  22. USB printers
  23. Conflict with SANE
  24. Conflict with usblp
  25. USB autosuspend
  26. Bad permissions
  27. HP issues
  28. CUPS: «/usr/lib/cups/backend/hp failed»
  29. CUPS: Job is shown as complete but the printer does nothing
  30. CUPS: ‘»foomatic-rip» not available/stopped with status 3’
  31. CUPS: «Filter failed»
  32. Missing ghostscript
  33. Missing foomatic-db
  34. Avahi not enabled
  35. Out-of-date plugin
  36. Outdated printer configuration
  37. Client and host both run CUPS with hpcups
  38. CUPS: prints only an empty and an error-message page on HP LaserJet
  39. CUPS: «File «/usr/lib/cups/filter/rastertospl» not available
  40. HPLIP 3.13: Plugin is installed, but HP Device Manager complains it is not
  41. hp-toolbox: «Unable to communicate with device»
  42. Virtual CDROM printers
  43. Networked printers
  44. hp-setup asks to specify the PPD file for the discovered printer
  45. hp-setup: «Qt/PyQt 4 initialization failed»
  46. hp-setup: finds the printer automatically but reports «Unable to communicate with device» when printing test page immediately afterwards
  47. hp-setup: «KeyError: ‘family-class'»
  48. Other
  49. Printer «Paused» or «Stopped» with Status «Rendering completed»
  50. Low ink
  51. Printing fails with unauthorised error
  52. Unknown supported format: application/postscript
  53. Print-Job client-error-document-format-not-supported
  54. Unable to get list of printer drivers
  55. lp: Error — Scheduler Not Responding
  56. «Using invalid Host» error message
  57. Cannot print from LibreOffice
  58. Printer output shifted
  59. Printer becomes stuck after a problem
  60. Samsung: URF ERROR — Incomplete Session by time out
  61. Brother: Printer prints multiple copies
  62. Regular user cannot change properties of the printer or remove certain jobs
  63. Cannot login into web interface

Arch Linux

You are not logged in.

#1 2016-10-22 17:59:37

HP: printer queue stopped (700)

Since a couple of months, when I start hp-toolbox I get the message:

And I cannot print anymore on my HP printer. I could not see any error in the system log. This error literally made me switch to Ubuntu, where my HP printer and hp-toolbox work without problems and I can print. I would love to switch back to Arch, but I will not switch unless I get this problem fixed.

#2 2016-10-23 06:38:55

Re: HP: printer queue stopped (700)

You don’t provide any info.
Did you install hp drivers?
Which printer do you have?
Can you manage your printer from your browser?

#3 2016-10-23 20:19:08

Re: HP: printer queue stopped (700)

Yes, I have installed printer drivers. My printer is HP Deskjet 3055A and it worked fine until a few months ago. I remember that before this problem I had another problem with the HP GUI interface: when some Python was switched from version 2 to version 3, then some HP utils (some GUIs) stopped working and, after googling, I found some config file where I could change a value and the HP GUI worked again. Then something else happened (probably another update broke something else), so that now I can start the HP GUI, I see the printer, the HP tool communicates with the printer (as it reports a low toner warning), but it cannot start the printing queue and therefore I cannot print.

UPDATE:
Using the web interface (http://localhost:631/printers/Deskjet_3050A_J611) I could start the printer and print. But using the hp-toolbox GUI, I cannot start and stop the printer. I think that it is possible that something about the Python 2 to Python 3 upgrade still breaks this tool. Any suggestions?

Last edited by burebista (2016-10-23 20:26:01)

Источник

CUPS/Troubleshooting

This article covers all non-specific (ie, not related to any one printer) troubleshooting of CUPS and printing drivers (but not problems related to printer sharing), including methods of determining the exact nature of the problem, and of solving the identified problem.

Contents

Debug log

The best way to get printing working is to set ‘LogLevel’ in /etc/cups/cupsd.conf to:

And then viewing the output from /var/log/cups/error_log like this:

The characters at the left of the output stand for:

These files may also prove useful:

  • /var/log/cups/page_log — Echoes a new entry each time a print is successful
  • /var/log/cups/access_log — Lists all cupsd http1.1 server activity

Print a document and watch error_log to get a more detailed and correct image of the printing process.

Problems resulting from upgrades

Issues that appeared after CUPS and related program packages underwent a version increment

CUPS stops working

The chances are that a new configuration file is needed for the new version to work properly. Messages such as «404 — page not found» may result from trying to manage CUPS via localhost:631, for example.

To use the new configuration, copy /etc/cups/cupsd.conf.default to /etc/cups/cupsd.conf (backup the old configuration if needed) and restart CUPS to employ the new settings.

All jobs are «stopped»

The factual accuracy of this article or section is disputed.

If all jobs sent to the printer become «stopped», delete the printer and add it again. Using the CUPS web interface, go to Printers > Delete Printer.

To check the printer’s settings go to Printers, then Modify Printer. Copy down the information displayed, click ‘Modify Printer’ to proceed to the next page(s), and so on.

Читайте также:  Windows forms textbox шрифт

All jobs are «The printer is not responding»

On networked printers, you should check that the hostname in the printer’s URI resolves to the printer’s IP address via DNS, e.g. if your printer’s connection looks like this:

then the hostname ‘BRN_020554’ needs to resolve to the printer’s IP from the server running CUPS. If Avahi is being used, ensure that Avahi’s hostname resolution is working.

Alternatively, replace the hostname used in the URI with the printer’s IP address.

The PPD version is not compatible with gutenprint

And restart CUPS (as pointed out in gutenprint’s post-install message).

_2.3.3+106+ga72b0140e-1″>Issues Relating to Upgrade 2.3.3-3 -> 2.3.3+106+ga72b0140e-1

As a side-effect of switching Arch’s CUPS upstream from Apple’s senescent original to the actively-developed OpenPrinting fork in November 2020, the names of the CUPS systemd services were changed. The changes map as follows:

  • org.cups.cups-lpd.socket→cups-lpd.socket
  • org.cups.cups-lpd@.service→cups-lpd@.service
  • org.cups.cupsd.socket→cups.socket
  • org.cups.cupsd.service→cups.service
  • org.cups.cupsd.path→cups.path

The CUPS install file for that upgrade recommends:

So, if one had org.cups.cupsd.service enabled, one would disable it with immediate effect ( #systemctl —now disable org.cups.cupsd.service ) and enable its successor, also with immediate effect ( #systemctl —now enable cups.service ).

In addition to disabling the services under their own name and re-enabling them under the new, if you have made any non-standard modifications such as dropin files (e.g., /etc/systemd/system/org.cups.cupsd.service.d ) or adding the services as «Wants=» to target or other custom services, those will need to be moved over as well.

Networking issues

Unable to locate printer

Even if CUPS can detect networked printers, you may still end up with an «Unable to locate printer» error when trying to print something. The solution to this problem is to enable Avahi’s .local hostname resolution. See CUPS#Network for details.

This problem may also arise when you have a firewall. You may need to disable your firewall or set the right rules. Using system-config-printer to detect network printers will do that automatically.

Similarly, being connected to a VPN may also cause CUPS to be unable to locate the printer. Disabling any VPN connections temporarily for printing can help fixing it.

Old CUPS server

As of CUPS version 1.6, the client defaults to IPP 2.0. If the server uses CUPS version=1.1 option documented at [1] to the URI.

Unable to locate PPD file

Make sure Avahi is set up correctly. In particular, make sure nss-mdns is installed and set up in /etc/nsswitch.conf .

Finding URIs for Windows print servers

Sometimes Windows is a little less than forthcoming about exact device URIs (device locations). If having trouble specifying the correct device location in CUPS, run the following command to list all shares available to a certain windows username:

This will list every share available to a certain Windows username on the local area network subnet, as long as Samba is set up and running properly. It should return something like this:

What is needed here is first part of the last line, the resource matching the printer description. So to print to the EPSON Stylus printer, one would enter:

as the URI into CUPS.

USB printers

Conflict with SANE

If you are also running SANE, it’s possible that it is conflicting with CUPS. To fix this create a Udev rule marking the device as matched by libsane:

Conflict with usblp

USB printers can be accessed using two methods: The usblp kernel module and libusb. The former is the classic way. It is simple: data is sent to the printer by writing it to a device file as a simple serial data stream. Reading the same device file allows bi-di access, at least for things like reading out ink levels, status, or printer capability information (PJL). It works very well for simple printers, but for multi-function devices (printer/scanner) it is not suitable and manufacturers like HP supply their own backends. Source: here.

If you have problems getting your USB printer to work, you can try blacklisting the usblp kernel module:

Custom kernel users may need to manually load the usbcore kernel module before proceeding.

Once the modules are installed, run:

Then plug in the printer and inspect the output to see if it was detected.

If you are using usblp , the output should indicate that the printer has been detected like so:

If you blacklisted usblp , you will see something like:

USB autosuspend

The Linux kernel automatically suspends USB devices when there is driver support and the devices are not in use. This can save power, but some USB printers think that they are disconnected when the kernel suspends the USB port, preventing printing. This can be fixed by deactivating autosuspend for the specific device, see Power management#USB autosuspend.

Bad permissions

Check the permissions of the printer USB device. Get the bus and device number from lsusb :

Check the ownership by looking in devfs:

The cups daemon runs as user «cups» and belongs to group «lp», so either this user or group needs read & write access to the USB device. If you think the permissions look wrong, you can change the group and permission temporarily:

Читайте также:  Создание аккаунта windows 10

Then check if cups can now see the USB device correctly.

To make a persistent permission change that will be triggered automatically each time the USB device is attached, add the following line:

After editing, reload the udev rules with this command:

Each system may vary, so consult udev#List the attributes of a device wiki page.

HP issues

CUPS: «/usr/lib/cups/backend/hp failed»

Try adding the printer as a Network Printer using the http:// protocol.

CUPS: Job is shown as complete but the printer does nothing

This happens on HP printers when you select the (old) hpijs driver (e.g. the Deskjet D1600 series). Use the hpcups driver instead.

Some HP printers require their firmware to be downloaded from the computer every time the printer is switched on. If there is an issue with udev (or equivalent) and the firmware download rule is never fired, you may experience this issue. As a workaround, you can manually download the firmware to the printer. Ensure the printer is plugged in and switched on, then run

CUPS: ‘»foomatic-rip» not available/stopped with status 3’

If receiving any of the following error messages in /var/log/cups/error_log while using a HP printer, with jobs appearing to be processed while they all end up not being completed with their status set to ‘stopped’:

make sure hplip has been installed.

CUPS: «Filter failed»

A «filter failed» error can be caused by any number of issues. The CUPS error log (by default /var/log/cups/error_log ) should record which filter failed and why.

Missing ghostscript

Install ghostscript ( /usr/lib/cups/filter/gstoraster needs it to run).

Missing foomatic-db

Install foomatic-db and foomatic-db-ppds . This fixes it in some cases.

Avahi not enabled

Start, and enable the avahi-daemon service.

Out-of-date plugin

This error can also indicate that the plugin is out of date (version is mismatched) and may occur after a system upgrade, possibly showing up as a Plugin error message in the logs. If you have installed hplip-plugin AUR you will need to update the package, otherwise re-run hp-setup -i to install the latest version of the plugin.

Outdated printer configuration

As of hplip-plugin AUR v3.17.11 hpijs is not longer available. If you have printers using hpijs they will fail to print. You must modify them and select the new hpcups driver instead.

You can check if this is your case looking at cups error_log:

Client and host both run CUPS with hpcups

A bug seems to affect CUPS when a host shares a physically connected HP printer using hpcups drivers from hplip , and a client adds the shared printer in is own CUPS server through IPP, using hpcups driver too. On every attempt to print a page from the client, the jobs page from the client returns indefinitly «Sending data to printer» while the same page from the host returns «Filter failed». It appears that the job runs through the CUPS filter twice: a first time on client-side, and a second time on host-side, which makes it fails on host-side. The same bug should not be observed when printing from a Windows client, or when printing directly on the host. There are some workarounds here (use only one method):

  • Use Generic IPP Everywhere Printer driver on the client. When selecting the driver in the CUPS Web Interface, you should find it in the Generic manufacturer.
  • Modify the PPD used on the client side so the job does not goes through the filter client-side. Find the right PPD in /usr/share/ppd/HP and copy it in your home directory. Edit the copy : replace the line *cupsFilter: «application/vnd.cups-raster 0 hpcups» with *cupsFilter: «*/* 0 -» . Now, add your printer on the client CUPS, selecting your custom PPD located in your home directory.
  • Create a raw queue on the host: when you add the printer in the CUPS interface of the host, do not select the specific PPD of your printer, but choose Raw queue from Raw manufacturer. You should be able to add this shared printer on the client, using this time the specific PPD of the printer. With this method, the host is not able to print directly a document because it does not run the filter. However, if the host is a small headless embedded device such as a Raspberry Pi, you might notice an important decrease of the response time with this method compared to the two previous ones, especially with large documents, because it saves a lot a CPU usage.

CUPS: prints only an empty and an error-message page on HP LaserJet

This article or section is out of date.

There is a bug that causes CUPS to fail when printing images on HP LaserJet (in my case 3380). The bug has been reported and fixed by Ubuntu. The first page is empty, the second page contains the following error message:

In order to fix the issue, run the following command as root:

CUPS: «File «/usr/lib/cups/filter/rastertospl» not available

After the printer is connected by other means to the network, setting up the HP 107w Laser printer is possible through the CUPS web interface; but this error prevents printing.

It seems that support for this printer is not provided by hplip. However, drivers can be installed using HP’s install scripts and PPD file found at the HP downloads page.

Читайте также:  Во время установки windows нет жесткого диска

Extract the .zip and read this gist for further details and instructions.

HPLIP 3.13: Plugin is installed, but HP Device Manager complains it is not

The issue might have to do with the file permission change that had been made to /var/lib/hp/hplip.state . To correct the issue, a simple chmod 644 /var/lib/hp/hplip.state and chmod 755 /var/lib/hp should be sufficient. For further information, please read this link.

hp-toolbox: «Unable to communicate with device»

Virtual CDROM printers

This can also be caused by printers such as the P1102 that provide a virtual CD-ROM drive for MS Windows drivers. The lp dev appears and then disappears. In that case, try the usb-modeswitch and usb-modeswitch-data packages, that lets one switch off the «Smart Drive» (udev rules included in said packages).

Networked printers

This can also occur with network attached printers using dynamic hostnames if the avahi-daemon is not running. Another possibility is that hp-setup failed to locate the printer because the IP address of the the printer changed due to DHCP. If this is the case, consider adding a DHCP reservation for the printer in the DHCP server’s configuration.

hp-setup asks to specify the PPD file for the discovered printer

Furthermore, when selecting a PPD file in hp-setup’s graphical mode, the field does not update and no error message is shown.

Or, if in interactive (console) mode, you may encounter something similar to this even when providing a correct path to a valid ppd file:

The solution is to install and start cups before running hp-setup .

hp-setup: «Qt/PyQt 4 initialization failed»

Install python-pyqt4 AUR , which is an optdepend of hplip . Alternatively, to run hp-setup with the command line interface, use the -i flag.

hp-setup: finds the printer automatically but reports «Unable to communicate with device» when printing test page immediately afterwards

This at least happens to hplip 3.13.5-2 for HP Officejet 6500A through local network connection. To solve the problem, specify the IP address of the HP printer for hp-setup to locate the printer.

hp-setup: «KeyError: ‘family-class'»

If adding a printer fails silently in the UI or you receive a KeyError: ‘family-class’ traceback from hp-setup , the /usr/share/hplip/data/models/models.dat may need to be manually updated. Check if family-class=Undefined is defined the section for your printer, if not add it:

Other

Printer «Paused» or «Stopped» with Status «Rendering completed»

Low ink

When low on ink, some printers will get stuck in «Rendering completed» status and, if it is a network printer, the printer may even become unreachable from CUPS’ perspective despite being properly connected to the network. Replacing the low/depleted ink cartridge(s) in this setting will return the printer to «Ready» status and, if it is a network printer, will make the printer available to CUPS again.

Printing fails with unauthorised error

If a remote printer requests authentication CUPS will automatically add an AuthInfoRequired directive to the printer in /etc/cups/printers.conf . However, some graphical applications (for instance, some versions of LibreOffice [2]) have no way to prompt for credentials, so printing fails. To fix this include the required username and password in the URI. See [3], [4].

Unknown supported format: application/postscript

Comment the lines:

from /etc/cups/mime.convs , and:

Try installing the foomatic packages and use a foomatic driver.

Unable to get list of printer drivers

(Also applicable to error «-1 not supported!»)

Try to remove Foomatic drivers or refer to CUPS/Printer-specific problems#HPLIP for a workaround.

lp: Error — Scheduler Not Responding

If you get this error, ensure CUPS is running, the environmental variable CUPS_SERVER is unset, and that /etc/cups/client.conf is correct.

«Using invalid Host» error message

Try adding ServerAlias * into /etc/cups/cupsd.conf .

Cannot print from LibreOffice

If you can print a test page from the CUPS web interface, but not from LibreOffice, try to install the a2ps package.

Printer output shifted

This seems to be caused by the wrong page size being set in CUPS.

Printer becomes stuck after a problem

When an issue arises during printing, the printer in CUPS may become unresponsive. lpq reports that the printer is not ready , and it can be reactivated using cupsenable . In the CUPS web interface, the printer is shown as Paused, and can be reactivated by resuming the printer.

To automatically have CUPS reactivate the printer, change ErrorPolicy from the default stop-printer to retry-current-job .

Samsung: URF ERROR — Incomplete Session by time out

This error is usually encountered when printing files over the network through IPP to a Samsung printer, and is solved by using the samsung-unified-driver AUR package.

Brother: Printer prints multiple copies

Sometimes the printer will print multiple copies of a document (for instance a MFC-9330CDW printed 10 copies). The solution is to update the printer firmware.

Regular user cannot change properties of the printer or remove certain jobs

If a regular user needs to be able to change the printers properties or manage the printer queue, the user may need to be added to the sys group.

Cannot login into web interface

Check if there is more than one cupsd process running. If this is the case then stop cups service, kill all processes named cupsd and start cups service again.

Источник

Оцените статью