Cannot connect with my printer.

I have formatted and re-partitioned my HDD. The ’ new’ OS is KUBUNTU 24.04.3 ISO(copy verified). Nearly ‘up-and-running but unable to print. System settings/Printers states:-

“Print service unavailable” Reason: Bad File Descriptor.

Printer is AOK! How to get access to printer?

@anto:

First, welcome to the KDE Discuss forum.


Can you please describe how you are proposing to connect the Linux system to the printer:

  • Via the LAN?
  • Via a USB or Printer Port cable?

Does the CUPS management interface find the printer? → http://localhost:631/
Are the appropriate systemd services available and enabled?

 > systemctl list-unit-files | grep -iE 'UNIT FILE|cups|print|avahi'
UNIT FILE                                    STATE           PRESET
cups.path                                    enabled         enabled
avahi-daemon.service                         enabled         enabled
avahi-dnsconfd.service                       disabled        disabled
configure-printer@.service                   static          -
cups-browsed.service                         enabled         disabled
cups-lpd@.service                            static          -
cups.service                                 enabled         enabled
dbus-org.freedesktop.Avahi.service           alias           -
system-cups.slice                            static          -
avahi-daemon.socket                          enabled         disabled
cups-lpd.socket                              disabled        disabled
cups.socket                                  enabled         enabled
printer.target                               static          -
 > 

My preferred method for connection is via my USB cable plugged direct into my internet router.

I have tried to make a connection via system settings/printer steps. The message is that :-1: “No printer has been configured”? Of necessity, I am also operating a ‘back-up’ system using a ‘Raspberry Pi 4’ until my main PC is fully ‘set-up’. The printer communicates without any problems.

This problem has only appeared since did this upgrade to ‘KUBUNTU partitioned my HDD again and repeated the installation in case I had overlooked any steps in the set-up.

Hello Franken 14679.

Sorry to have taken so long to respond to your remarks of the 16th Jan.

I was unable to follow your instructions: as you must have guessed my computer skills are quite limited.

However, I have found a way of getting access to my printer. After booting-up my PC, the ‘system settings’ page shows “..no printers configured or available..” but if I the switch the printer on access to the print is restored.

If I re-boot the PC and the printer is NOT switched on the ‘system settings’ again shows the “…no printers configured..”.

I can operate my system this way.

Thanks for your offer of help.

Anthony

Then, assuming that, you mean that your printer is connected to a USB port on your router, you’ll have to see if, your router supports acting as a print server – you then direct the print queues of the machines on you LAN to the print queue offered by your router.

  • Assuming that, your router can act as a print server, you’ll have to enable Avahi on your Linux machines to discover the print queue.

Are you certain that, your printer doesn’t have an Ethernet LAN port or, WiFi capabilities?