You are not logged in.

#1 2019-10-03 20:17:53

g.cole
Member
Registered: 2019-10-03
Posts: 2

Cannot add detected network printer: "Unable to copy PDD file"

Hello,

I am using arch together with KDE. I want to use a network printer (Brother HL2250DN); the printer is connected to the router through an Ethernet cable and I assigned a static address to it.
I have print-manager and cups installed, and the cups-service is running, I have no problems accessing the localhost:631-page.
I installed the printer-driver for my model from the AUR. 
(Just to point out, that the problem is probably not caused by the hardware setup/the router/the printer itself: I previously ran Manjaro with KDE on this same computer and within the same hardware constellation, and didn't encounter any problems with printing.)

So, if I open KDE's System Settings > Printers > Add new printer the printer is listed under 'Discovered Network Printers', yet the dialogue still shows empty fields for 'Address' and 'Queue'.
Using alternatively the system-config-printer-application, it shows the printer as detected as well and additionally provides the host name (BRN001BA9C211D9) and 'BINARY_P1' as a value for 'Queue'.
When using 'system-config-printer', a message shortly is displayed, that drivers are being searched for, before, apparently, the installed driver is being found. However, when I try to finish the printer-installation with 'apply', I get the following error message:

CUPS server error: There was an error during the CUPS operation: 'server-error-internal-error'.

When using the KDE-Settings dialogue, the only way to even continue the setup is to enter the device URI manually (as nothing entered in the mentioned fields for 'Address' and 'Queue' allows to press the 'forward'-button.) 
In the CUPS-entry in the Arch-Wiki I found the suggestion to use avahi-discover to find out the printer-URI. Yet this command returns the following error message:

Failed to initialize: unsupported locale setting.

(I haven't looked deeper into this, and quick googling did not bring up a usable solution. My locale is set to en_US.UTF-8 UTF-8, yet I specified a German keyboard layout as well as German time/date/currency… via 'System Settings'.)
So I entered this as a device URI into the KDE-settings-dialogue: ipp://localhost:631/BRN001BA9C211D9. This brings me to the next screen, where a driver is to be selected. However, I get the following error message along with it:

Failed to search for a recommended driver: 'Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/share/system-config-printer/scp-dbus-service.py", line 508, in GetBestDrivers
    self._cupsconn, self._language[0],
TypeError: 'NoneType' object is not subscriptable
'

Nevertheless I can select the right driver from the presented list, and finish the setup without further error messages. However, without any result: No printer is showing up, neither in the KDE-Settings module, nor in the CUPS-web-interface.

When I try to add the printer via the CUPS-web-interface, it is detected as well, also, I can select the right driver. The error message that I get here, is:

Add Printer Brother_HL-2250DN_series Error
Unable to add printer: Unable to copy PPD file.

journalctl shows:

libkcups: Get-Printer-Attributes last error: 1030 The printer or class does not exist.

Thank you very much for your help and suggestions!

Offline

#2 2019-10-03 20:40:58

loqs
Member
Registered: 2014-03-06
Posts: 18,797

Re: Cannot add detected network printer: "Unable to copy PDD file"

Welcome to the arch linux forums g.cole. The issue is the same as https://bbs.archlinux.org/viewtopic.php?id=248627 and
as noted in the comments for the AUR package https://aur.archlinux.org/packages/brot … ent-706949.

Last edited by loqs (2019-10-03 20:42:32)

Offline

#3 2019-10-03 21:22:53

g.cole
Member
Registered: 2019-10-03
Posts: 2

Re: Cannot add detected network printer: "Unable to copy PDD file"

Thank you for the quick reply! Reading the comments carefully would have saved me some time, i guess – but be reminding me of it without sarcasm is very kind of you.
Installing the gutenprint driver indeed solved the problem. Additionally, I had to modify the 'connection'-setting in CUPS as suggested here.

Offline

Board footer

Powered by FluxBB