You are not logged in.
Hello community,
I have big problems setting up a CUPS printer. The printer is a Brother HL2030 and is connected to a Raspi running Raspbian and CUPS 1.5.3. Three clients are connected to the same network: one Xubuntu machine, one Arch machine and one Manjaro machine. The Arch and Manjaro machines are both affected by the following bug: https://bugs.archlinux.org/task/42666 However I applied the workaround proposed in the bug and could add the remote printer (using the http protocol). However, printing from the Arch and Manjaro systems fails.
CUPS on the clients reports: "Sending data to printer." CUPS on the Raspi at the same time reports: Stopped. "/usr/lib/cups/filter/foomatic-rip failed". At the same time, the Xubuntu machine can print via the Raspi without any problems. Afaik Xubuntu uses CUPS 1.7.3, while Arch and Manjaro use the new versions 2.0.x.
Does anybody have some experience in making such a constellation (CUPS 1.x.x on the server and 2.x.x on the clients) work? What could be a solution to this? I don't expect Raspbian to upgrade CUPS to 2.x.x within the next decade
so if it is an incompatibility, I would need to permanently downgrade CUPS on Arch and Manjaro.
Thanks for any hint,
PhotonX
Last edited by PhotonX (2015-02-17 19:49:15)
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
bump, problem still persists and is a pita. ![]()
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
What else appears in the error log?
"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace
Offline
Here is the error.log on the Arch Linux client:
$ cat /var/log/cups/error_log
E [15/Feb/2015:08:56:36 +0100] Unknown directive BrowseOrder on line 6 of /etc/cups/cupsd.conf.
E [15/Feb/2015:08:56:36 +0100] Unknown directive BrowseAllow on line 7 of /etc/cups/cupsd.conf.
E [15/Feb/2015:08:56:36 +0100] Unknown directive BrowseRemoteProtocols on line 8 of /etc/cups/cupsd.conf.
E [15/Feb/2015:08:56:36 +0100] Unknown directive BrowseAddress on line 9 of /etc/cups/cupsd.conf.
E [15/Feb/2015:08:56:36 +0100] Unknown browse protocol "CUPS" ignored.
E [15/Feb/2015:08:56:36 +0100] Unknown directive JobPrivateAccess on line 88 of /etc/cups/cupsd.conf.
E [15/Feb/2015:08:56:36 +0100] Unknown directive JobPrivateValues on line 89 of /etc/cups/cupsd.conf.
E [15/Feb/2015:08:56:36 +0100] Unknown directive SubscriptionPrivateAccess on line 91 of /etc/cups/cupsd.conf.
E [15/Feb/2015:08:56:36 +0100] Unknown directive SubscriptionPrivateValues on line 92 of /etc/cups/cupsd.conf.
E [15/Feb/2015:12:00:16 +0100] Unable to communicate with avahi-daemon: An unexpected D-Bus error occured
E [15/Feb/2015:14:59:09 +0100] Unknown directive BrowseOrder on line 6 of /etc/cups/cupsd.conf.
E [15/Feb/2015:14:59:09 +0100] Unknown directive BrowseAllow on line 7 of /etc/cups/cupsd.conf.
E [15/Feb/2015:14:59:09 +0100] Unknown directive BrowseRemoteProtocols on line 8 of /etc/cups/cupsd.conf.
E [15/Feb/2015:14:59:09 +0100] Unknown directive BrowseAddress on line 9 of /etc/cups/cupsd.conf.
E [15/Feb/2015:14:59:09 +0100] Unknown browse protocol "CUPS" ignored.
E [15/Feb/2015:14:59:09 +0100] Unknown directive JobPrivateAccess on line 88 of /etc/cups/cupsd.conf.
E [15/Feb/2015:14:59:09 +0100] Unknown directive JobPrivateValues on line 89 of /etc/cups/cupsd.conf.
E [15/Feb/2015:14:59:09 +0100] Unknown directive SubscriptionPrivateAccess on line 91 of /etc/cups/cupsd.conf.
E [15/Feb/2015:14:59:09 +0100] Unknown directive SubscriptionPrivateValues on line 92 of /etc/cups/cupsd.conf.
E [15/Feb/2015:22:15:08 +0100] Unable to communicate with avahi-daemon: An unexpected D-Bus error occured
E [15/Feb/2015:22:21:00 +0100] Unknown directive BrowseOrder on line 6 of /etc/cups/cupsd.conf.
E [15/Feb/2015:22:21:00 +0100] Unknown directive BrowseAllow on line 7 of /etc/cups/cupsd.conf.
E [15/Feb/2015:22:21:00 +0100] Unknown directive BrowseRemoteProtocols on line 8 of /etc/cups/cupsd.conf.
E [15/Feb/2015:22:21:00 +0100] Unknown directive BrowseAddress on line 9 of /etc/cups/cupsd.conf.
E [15/Feb/2015:22:21:00 +0100] Unknown browse protocol "CUPS" ignored.
E [15/Feb/2015:22:21:00 +0100] Unknown directive JobPrivateAccess on line 88 of /etc/cups/cupsd.conf.
E [15/Feb/2015:22:21:00 +0100] Unknown directive JobPrivateValues on line 89 of /etc/cups/cupsd.conf.
E [15/Feb/2015:22:21:00 +0100] Unknown directive SubscriptionPrivateAccess on line 91 of /etc/cups/cupsd.conf.
E [15/Feb/2015:22:21:00 +0100] Unknown directive SubscriptionPrivateValues on line 92 of /etc/cups/cupsd.conf.
E [15/Feb/2015:22:21:55 +0100] Unable to communicate with avahi-daemon: An unexpected D-Bus error occured
E [16/Feb/2015:07:10:23 +0100] Unknown directive BrowseOrder on line 6 of /etc/cups/cupsd.conf.
E [16/Feb/2015:07:10:23 +0100] Unknown directive BrowseAllow on line 7 of /etc/cups/cupsd.conf.
E [16/Feb/2015:07:10:23 +0100] Unknown directive BrowseRemoteProtocols on line 8 of /etc/cups/cupsd.conf.
E [16/Feb/2015:07:10:23 +0100] Unknown directive BrowseAddress on line 9 of /etc/cups/cupsd.conf.
E [16/Feb/2015:07:10:23 +0100] Unknown browse protocol "CUPS" ignored.
E [16/Feb/2015:07:10:23 +0100] Unknown directive JobPrivateAccess on line 88 of /etc/cups/cupsd.conf.
E [16/Feb/2015:07:10:23 +0100] Unknown directive JobPrivateValues on line 89 of /etc/cups/cupsd.conf.
E [16/Feb/2015:07:10:23 +0100] Unknown directive SubscriptionPrivateAccess on line 91 of /etc/cups/cupsd.conf.
E [16/Feb/2015:07:10:23 +0100] Unknown directive SubscriptionPrivateValues on line 92 of /etc/cups/cupsd.conf.
E [16/Feb/2015:08:39:14 +0100] Unable to communicate with avahi-daemon: An unexpected D-Bus error occured
E [16/Feb/2015:17:13:06 +0100] Unknown directive BrowseOrder on line 6 of /etc/cups/cupsd.conf.
E [16/Feb/2015:17:13:06 +0100] Unknown directive BrowseAllow on line 7 of /etc/cups/cupsd.conf.
E [16/Feb/2015:17:13:06 +0100] Unknown directive BrowseRemoteProtocols on line 8 of /etc/cups/cupsd.conf.
E [16/Feb/2015:17:13:06 +0100] Unknown directive BrowseAddress on line 9 of /etc/cups/cupsd.conf.
E [16/Feb/2015:17:13:06 +0100] Unknown browse protocol "CUPS" ignored.
E [16/Feb/2015:17:13:06 +0100] Unknown directive JobPrivateAccess on line 88 of /etc/cups/cupsd.conf.
E [16/Feb/2015:17:13:06 +0100] Unknown directive JobPrivateValues on line 89 of /etc/cups/cupsd.conf.
E [16/Feb/2015:17:13:06 +0100] Unknown directive SubscriptionPrivateAccess on line 91 of /etc/cups/cupsd.conf.
E [16/Feb/2015:17:13:06 +0100] Unknown directive SubscriptionPrivateValues on line 92 of /etc/cups/cupsd.conf.
E [16/Feb/2015:21:57:39 +0100] Unable to communicate with avahi-daemon: An unexpected D-Bus error occured
E [17/Feb/2015:08:02:27 +0100] Unknown directive BrowseOrder on line 6 of /etc/cups/cupsd.conf.
E [17/Feb/2015:08:02:27 +0100] Unknown directive BrowseAllow on line 7 of /etc/cups/cupsd.conf.
E [17/Feb/2015:08:02:27 +0100] Unknown directive BrowseRemoteProtocols on line 8 of /etc/cups/cupsd.conf.
E [17/Feb/2015:08:02:27 +0100] Unknown directive BrowseAddress on line 9 of /etc/cups/cupsd.conf.
E [17/Feb/2015:08:02:27 +0100] Unknown browse protocol "CUPS" ignored.
E [17/Feb/2015:08:02:27 +0100] Unknown directive JobPrivateAccess on line 88 of /etc/cups/cupsd.conf.
E [17/Feb/2015:08:02:27 +0100] Unknown directive JobPrivateValues on line 89 of /etc/cups/cupsd.conf.
E [17/Feb/2015:08:02:27 +0100] Unknown directive SubscriptionPrivateAccess on line 91 of /etc/cups/cupsd.conf.
E [17/Feb/2015:08:02:27 +0100] Unknown directive SubscriptionPrivateValues on line 92 of /etc/cups/cupsd.conf.
E [17/Feb/2015:09:32:40 +0100] Unable to communicate with avahi-daemon: An unexpected D-Bus error occured
E [17/Feb/2015:09:50:43 +0100] Unknown directive BrowseOrder on line 6 of /etc/cups/cupsd.conf.
E [17/Feb/2015:09:50:43 +0100] Unknown directive BrowseAllow on line 7 of /etc/cups/cupsd.conf.
E [17/Feb/2015:09:50:43 +0100] Unknown directive BrowseRemoteProtocols on line 8 of /etc/cups/cupsd.conf.
E [17/Feb/2015:09:50:43 +0100] Unknown directive BrowseAddress on line 9 of /etc/cups/cupsd.conf.
E [17/Feb/2015:09:50:43 +0100] Unknown browse protocol "CUPS" ignored.
E [17/Feb/2015:09:50:43 +0100] Unknown directive JobPrivateAccess on line 88 of /etc/cups/cupsd.conf.
E [17/Feb/2015:09:50:43 +0100] Unknown directive JobPrivateValues on line 89 of /etc/cups/cupsd.conf.
E [17/Feb/2015:09:50:43 +0100] Unknown directive SubscriptionPrivateAccess on line 91 of /etc/cups/cupsd.conf.
E [17/Feb/2015:09:50:43 +0100] Unknown directive SubscriptionPrivateValues on line 92 of /etc/cups/cupsd.conf.
E [17/Feb/2015:10:00:02 +0100] Unable to communicate with avahi-daemon: An unexpected D-Bus error occured
E [17/Feb/2015:13:37:03 +0100] Unknown directive BrowseOrder on line 6 of /etc/cups/cupsd.conf.
E [17/Feb/2015:13:37:03 +0100] Unknown directive BrowseAllow on line 7 of /etc/cups/cupsd.conf.
E [17/Feb/2015:13:37:03 +0100] Unknown directive BrowseRemoteProtocols on line 8 of /etc/cups/cupsd.conf.
E [17/Feb/2015:13:37:03 +0100] Unknown directive BrowseAddress on line 9 of /etc/cups/cupsd.conf.
E [17/Feb/2015:13:37:03 +0100] Unknown browse protocol "CUPS" ignored.
E [17/Feb/2015:13:37:03 +0100] Unknown directive JobPrivateAccess on line 88 of /etc/cups/cupsd.conf.
E [17/Feb/2015:13:37:03 +0100] Unknown directive JobPrivateValues on line 89 of /etc/cups/cupsd.conf.
E [17/Feb/2015:13:37:03 +0100] Unknown directive SubscriptionPrivateAccess on line 91 of /etc/cups/cupsd.conf.
E [17/Feb/2015:13:37:03 +0100] Unknown directive SubscriptionPrivateValues on line 92 of /etc/cups/cupsd.conf.Printing a test page (which fails as described above) gives no additional entries.
Logs on the server:
$ cat /var/log/cups/error_log
W [17/Feb/2015:06:25:07 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'Brother_HL-2030_series-Gray..' already exists
W [17/Feb/2015:06:25:07 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-Brother_HL-2030_series' already exists
E [17/Feb/2015:06:25:07 +0000] Unable to open listen socket for address [v1.::]:631 - Address family not supported by protocol.
E [17/Feb/2015:06:25:07 +0000] Failed to update TXT record for Brother HL-2030 series @ raspberrypi: -2
E [17/Feb/2015:20:51:33 +0000] [Job 89] Job stopped due to filter errors; please consult the error_log file for details.
D [17/Feb/2015:20:51:33 +0000] [Job 89] The following messages were recorded from 20:51:31 to 20:51:33
D [17/Feb/2015:20:51:34 +0000] [Job 89] Adding start banner page "none".
D [17/Feb/2015:20:51:34 +0000] [Job 89] Queued on "Brother_HL-2030_series" by "anonymous".
D [17/Feb/2015:20:51:34 +0000] [Job 89] File of type application/vnd.cups-pdf queued by "anonymous".
D [17/Feb/2015:20:51:34 +0000] [Job 89] Adding end banner page "none".
D [17/Feb/2015:20:51:34 +0000] [Job 89] job-sheets=none,none
D [17/Feb/2015:20:51:34 +0000] [Job 89] argv[0]="Brother_HL-2030_series"
D [17/Feb/2015:20:51:34 +0000] [Job 89] argv[1]="89"
D [17/Feb/2015:20:51:34 +0000] [Job 89] argv[2]="anonymous"
D [17/Feb/2015:20:51:34 +0000] [Job 89] argv[3]="Test Page"
D [17/Feb/2015:20:51:34 +0000] [Job 89] argv[4]="1"
D [17/Feb/2015:20:51:34 +0000] [Job 89] argv[5]="job-originating-host-name=192.168.2.100 job-uuid=urn:uuid:a71ad8b8-2846-3d11-52e8-0c10de894b62 time-at-creation=1424206291 time-at-processing=1424206293"
D [17/Feb/2015:20:51:34 +0000] [Job 89] argv[6]="/var/spool/cups/d00089-001"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[8]="HOME=/var/spool/cups/tmp"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[10]="SERVER_ADMIN=root@raspberrypi"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[11]="SOFTWARE=CUPS/1.5.3"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[13]="TZ=Etc/UTC"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[14]="USER=root"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[17]="IPP_PORT=631"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[18]="CHARSET=utf-8"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[19]="LANG=de.UTF-8"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[20]="PPD=/etc/cups/ppd/Brother_HL-2030_series.ppd"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[21]="RIP_MAX_CACHE=128m"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[23]="DEVICE_URI=usb://Brother/HL-2030%20series?serial=F6J111812"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[24]="PRINTER_INFO=Brother HL-2030 series"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[25]="PRINTER_LOCATION="
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[26]="PRINTER=Brother_HL-2030_series"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[27]="PRINTER_STATE_REASONS=none"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[28]="CUPS_FILETYPE=document"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[29]="FINAL_CONTENT_TYPE=printer/Brother_HL-2030_series"
D [17/Feb/2015:20:51:34 +0000] [Job 89] envp[30]="AUTH_I****"
D [17/Feb/2015:20:51:34 +0000] [Job 89] Started filter /usr/lib/cups/filter/gziptoany (PID 10091)
D [17/Feb/2015:20:51:34 +0000] [Job 89] Started filter /usr/lib/cups/filter/foomatic-rip (PID 10092)
D [17/Feb/2015:20:51:34 +0000] [Job 89] Started backend /usr/lib/cups/backend/usb (PID 10093)
D [17/Feb/2015:20:51:34 +0000] [Job 89] Getting input from file
D [17/Feb/2015:20:51:34 +0000] [Job 89] foomatic-rip version 4.0.17.256 running...
D [17/Feb/2015:20:51:34 +0000] [Job 89] Parsing PPD file ...
D [17/Feb/2015:20:51:34 +0000] [Job 89] Added option ColorSpace
D [17/Feb/2015:20:51:34 +0000] [Job 89] Added option PageSize
D [17/Feb/2015:20:51:34 +0000] [Job 89] Printing on printer with URI: usb://Brother/HL-2030%20series?serial=F6J111812
D [17/Feb/2015:20:51:34 +0000] [Job 89] Added option ImageableArea
D [17/Feb/2015:20:51:34 +0000] [Job 89] Added option PaperDimension
D [17/Feb/2015:20:51:34 +0000] [Job 89] Added option EconoMode
D [17/Feb/2015:20:51:34 +0000] [Job 89] Added option InputSlot
D [17/Feb/2015:20:51:34 +0000] [Job 89] Added option Resolution
D [17/Feb/2015:20:51:34 +0000] [Job 89] Added option MediaType
D [17/Feb/2015:20:51:34 +0000] [Job 89] Added option Font
D [17/Feb/2015:20:51:34 +0000] [Job 89]
D [17/Feb/2015:20:51:34 +0000] [Job 89] Parameter Summary
D [17/Feb/2015:20:51:34 +0000] [Job 89] -----------------
D [17/Feb/2015:20:51:34 +0000] [Job 89]
D [17/Feb/2015:20:51:34 +0000] [Job 89] Spooler: cups
D [17/Feb/2015:20:51:34 +0000] [Job 89] Printer: Brother_HL-2030_series
D [17/Feb/2015:20:51:34 +0000] [Job 89] Shell: /bin/bash
D [17/Feb/2015:20:51:34 +0000] [Job 89] PPD file: /etc/cups/ppd/Brother_HL-2030_series.ppd
D [17/Feb/2015:20:51:34 +0000] [Job 89] ATTR file:
D [17/Feb/2015:20:51:34 +0000] [Job 89] Printer model: Brother HL-2030 Foomatic/hl1250 (recommended)
D [17/Feb/2015:20:51:34 +0000] [Job 89] Job title: Test Page
D [17/Feb/2015:20:51:34 +0000] [Job 89] File(s) to be printed:
D [17/Feb/2015:20:51:34 +0000] [Job 89] <STDIN>
D [17/Feb/2015:20:51:34 +0000] [Job 89]
D [17/Feb/2015:20:51:34 +0000] [Job 89] Ghostscript extra search path ('GS_LIB'): /usr/share/cups/fonts
D [17/Feb/2015:20:51:34 +0000] [Job 89] Printing system options:
D [17/Feb/2015:20:51:34 +0000] [Job 89] Pondering option 'job-originating-host-name=192.168.2.100'
D [17/Feb/2015:20:51:34 +0000] [Job 89] Unknown option job-originating-host-name=192.168.2.100.
D [17/Feb/2015:20:51:34 +0000] [Job 89] Pondering option 'job-uuid=urn:uuid:a71ad8b8-2846-3d11-52e8-0c10de894b62'
D [17/Feb/2015:20:51:34 +0000] [Job 89] Unknown option job-uuid=urn:uuid:a71ad8b8-2846-3d11-52e8-0c10de894b62.
D [17/Feb/2015:20:51:34 +0000] [Job 89] Pondering option 'time-at-creation=1424206291'
D [17/Feb/2015:20:51:34 +0000] [Job 89] Unknown option time-at-creation=1424206291.
D [17/Feb/2015:20:51:34 +0000] [Job 89] Pondering option 'time-at-processing=1424206293'
D [17/Feb/2015:20:51:34 +0000] [Job 89] Unknown option time-at-processing=1424206293.
D [17/Feb/2015:20:51:34 +0000] [Job 89] Options from the PPD file:
D [17/Feb/2015:20:51:34 +0000] [Job 89]
D [17/Feb/2015:20:51:34 +0000] [Job 89] ================================================
D [17/Feb/2015:20:51:34 +0000] [Job 89]
D [17/Feb/2015:20:51:34 +0000] [Job 89] File: <STDIN>
D [17/Feb/2015:20:51:34 +0000] [Job 89]
D [17/Feb/2015:20:51:34 +0000] [Job 89] ================================================
D [17/Feb/2015:20:51:34 +0000] [Job 89]
D [17/Feb/2015:20:51:34 +0000] [Job 89] libusb_get_device_list=5
D [17/Feb/2015:20:51:34 +0000] [Job 89] STATE: +connecting-to-device
D [17/Feb/2015:20:51:34 +0000] [Job 89] Cannot process "<STDIN>": Unknown filetype.
D [17/Feb/2015:20:51:34 +0000] [Job 89] Process is dying with "Could not print file <STDIN>
D [17/Feb/2015:20:51:34 +0000] [Job 89] ", exit stat 2
D [17/Feb/2015:20:51:34 +0000] [Job 89] Cleaning up...
D [17/Feb/2015:20:51:34 +0000] [Job 89] STATE: -connecting-to-device
D [17/Feb/2015:20:51:34 +0000] [Job 89] Printer found with device ID: MFG:Brother;CMD:PJL,HBP;MDL:HL-2030 series;CLS:PRINTER; Device URI: usb://Brother/HL-2030%20series?serial=F6J111812
D [17/Feb/2015:20:51:34 +0000] [Job 89] Device protocol: 2
D [17/Feb/2015:20:51:34 +0000] [Job 89] Sending data to printer.
D [17/Feb/2015:20:51:34 +0000] [Job 89] Sent 0 bytes...
D [17/Feb/2015:20:51:34 +0000] [Job 89] Waiting for read thread to exit...
D [17/Feb/2015:20:51:34 +0000] [Job 89] End of messages
D [17/Feb/2015:20:51:34 +0000] [Job 89] printer-state=3(idle)
D [17/Feb/2015:20:51:34 +0000] [Job 89] printer-state-message="Sending data to printer."
D [17/Feb/2015:20:51:34 +0000] [Job 89] printer-state-reasons=noneIf necessary I can do a successful print from the Xubuntu machine and post the logs for that. ![]()
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
Hi, i think there're a bug around cups service ...
https://bugs.archlinux.org/task/43708?s … &closedto=
https://bbs.archlinux.org/viewtopic.php … 4#p1495064
Regards.
Offline
Thanks for the hint, actually I indeed experienced difficulties adding the printer to CUPS on Arch and Manjaro, too. Now I'm trying to build the older 1.7.5 version and do some testing as proposed in the bug report. However, makepkg requires a gpg key to proceed:
==> Verifying source file signatures with gpg...
cups-1.7.5-source.tar.bz2 ... FAILED (unknown public key DBA3A7AB08D76223)
==> ERROR: One or more PGP signatures could not be verified!I imported the key:
$ LANG=C gpg --recv-keys DBA3A7AB08D76223
gpg: key 08D76223: public key "CUPS.org (CUPS.org PGP key) <security@cups.org>" imported
gpg: Total number processed: 1
gpg: imported: 1After that makepkg again missed a keys (surprisingly, for the same file but a different key?):
==> Verifying source file signatures with gpg...
cups-1.7.5-source.tar.bz2 ... FAILED (the public key 3737FD0D0E63B30172440D2DDBA3A7AB08D76223 is not trusted)
==> ERROR: One or more PGP signatures could not be verified!I imported that one also:
$ LANG=C gpg --recv-keys 3737FD0D0E63B30172440D2DDBA3A7AB08D76223
gpg: key 08D76223: "CUPS.org (CUPS.org PGP key) <security@cups.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1But the problem seemed to be not that the key was missing, but that it wasn't trusted. So I trusted it:
$ LANG=C gpg --edit-key 3737FD0D0E63B30172440D2DDBA3A7AB08D76223
gpg (GnuPG) 2.1.2; Copyright (C) 2015 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
pub rsa4096/08D76223
created: 2013-12-18 expires: 2017-12-18 usage: SC
trust: full validity: unknown
sub rsa4096/96A1A3AC
created: 2013-12-18 expires: 2017-12-18 usage: E
[ unknown] (1). CUPS.org (CUPS.org PGP key) <security@cups.org>
gpg> trust
pub rsa4096/08D76223
created: 2013-12-18 expires: 2017-12-18 usage: SC
trust: full validity: unknown
sub rsa4096/96A1A3AC
created: 2013-12-18 expires: 2017-12-18 usage: E
[ unknown] (1). CUPS.org (CUPS.org PGP key) <security@cups.org>
Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)
1 = I don't know or won't say
2 = I do NOT trust
3 = I trust marginally
4 = I trust fully
5 = I trust ultimately
m = back to the main menu
Your decision? 4
pub rsa4096/08D76223
created: 2013-12-18 expires: 2017-12-18 usage: SC
trust: full validity: unknown
sub rsa4096/96A1A3AC
created: 2013-12-18 expires: 2017-12-18 usage: E
[ unknown] (1). CUPS.org (CUPS.org PGP key) <security@cups.org>
gpg> quitand also the previous (shorter) key). But still I get:
==> Verifying source file signatures with gpg...
cups-1.7.5-source.tar.bz2 ... FAILED (the public key 3737FD0D0E63B30172440D2DDBA3A7AB08D76223 is not trusted)
==> ERROR: One or more PGP signatures could not be verified!Where is my mistake?
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
Please, read the thread:
https://bbs.archlinux.org/viewtopic.php?id=193382
Workaround
# rm -R /etc/pacman.d/gnupg/
# rm -R /root/.gnupg/ # only if the directory exists
# gpg --refresh-keys
# pacman-key --init && pacman-key --populate
# pacman-key --refresh-keysRegards.
Offline
No improvement, unfortunately. The strange thing is that gpg trusts the key already (see output of gpg --edit-key) and still makepkg gives this error...
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
Both problems solved:
1. The problem with crashing printer settings is solved by uninstalling either foomatic or gutenprint (in my case gutenprint), obviously too many available drivers made it crash. See also https://forum.manjaro.org/index.php?topic=19377.0
2. The problem with unsuccessful printing is this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1160913#c11 The solution (mentioned in comment #11 of this bug) is to set the client printer drivers to "Raw" (available in the driver list in the "Generic" category).
Cannot mark the thread as [Solved] because the title is at maximum length already.
Thanks for your assistance!
Last edited by PhotonX (2015-02-25 14:04:51)
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline