LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-30-2020, 07:57 AM   #1
Alok Rai
Member
 
Registered: Aug 2015
Posts: 245

Rep: Reputation: Disabled
Printer issue - HP-1020


I've had problems with getting my HP 1020 printer to communicate with my computers in the past. So, I went back to my earlier posts, and retrieved the instructions there.

I installed my printer, with the foomatic driver, etc, following the excellent routine suggested by Mark Campbell on https://mark911.wordpress.com/2014/1.../#comment-1378

However, my printer still reports its Printer State thus : Stopped - Backend /usr/lib/cups/backend/usb does not exist!

But lsusb recognizes that there is an HP-1020 printer attached.

Bewildered, I seek help!
 
Old 11-30-2020, 08:04 AM   #2
Alok Rai
Member
 
Registered: Aug 2015
Posts: 245

Original Poster
Rep: Reputation: Disabled
Further, the "Print Test Page" command on the CUPS page is greyed out.
 
Old 11-30-2020, 08:08 AM   #3
verndog
Member
 
Registered: Oct 2007
Posts: 278

Rep: Reputation: 67
Most likely you have the old CUPS assignment. This is how it show look now:
Code:
cups.path                          enabled disabled    
cups.service                       enabled disabled
cups.socket                        enabled disabled
Code:
systemctl list-unit-files | grep cups

Last edited by verndog; 11-30-2020 at 08:09 AM.
 
Old 11-30-2020, 12:03 PM   #4
Alok Rai
Member
 
Registered: Aug 2015
Posts: 245

Original Poster
Rep: Reputation: Disabled
What it actually likes at the moment is this:

$ systemctl list-unit-files | grep cups
cups.path enabled
cups-browsed.service enabled
cups.service enabled
cups.socket enabled

So what do I do now?
 
Old 11-30-2020, 01:56 PM   #5
verndog
Member
 
Registered: Oct 2007
Posts: 278

Rep: Reputation: 67
Is folder "/usr/lib/cups/backend" empty ? Is file "usb" in there?
 
Old 11-30-2020, 08:59 PM   #6
Alok Rai
Member
 
Registered: Aug 2015
Posts: 245

Original Poster
Rep: Reputation: Disabled
Folder "/usr/lib/cups/backend" is NOT empty. In fact, there is a "usb" file lurking in there!

So what do I do now? Thanks for your help.
 
Old 11-30-2020, 09:26 PM   #7
verndog
Member
 
Registered: Oct 2007
Posts: 278

Rep: Reputation: 67
See if this solution works:
"copy /usr/lib/cups/backend-available/usb to /usr/lib/cups/backend/"
 
Old 11-30-2020, 10:27 PM   #8
Alok Rai
Member
 
Registered: Aug 2015
Posts: 245

Original Poster
Rep: Reputation: Disabled
See output below - that was summary!
Meanwhile, there is a "usb" file in both backend and backend-available.




$ copy /usr/lib/cups/backend-available/usb to /usr/lib/cups/backend/

Command 'copy' not found, did you mean:

command 'ropy' from deb libdisorder-tools
command 'bcopy' from deb bacula-sd
command 'mcopy' from deb mtools
command 'copyq' from deb copyq
command 'hcopy' from deb hfsutils
command 'fcopy' from deb fai-client
command 'rcopy' from deb rdmacm-utils

Try: sudo apt install <deb name>
 
Old 11-30-2020, 10:29 PM   #9
Alok Rai
Member
 
Registered: Aug 2015
Posts: 245

Original Poster
Rep: Reputation: Disabled
I retried the same command with "cp" instead of copy, and got a response that the two files - in backend and backend-available were the same.

Now?
 
Old 11-30-2020, 10:37 PM   #10
verndog
Member
 
Registered: Oct 2007
Posts: 278

Rep: Reputation: 67
Use "sudo cp ..." instead.
If that doesn't work try re-installing CUPS.
 
Old 11-30-2020, 11:31 PM   #11
Alok Rai
Member
 
Registered: Aug 2015
Posts: 245

Original Poster
Rep: Reputation: Disabled
~$ sudo cp /usr/lib/cups/backend-available/usb /usr/lib/cups/backend/
[sudo] password for alok:
cp: '/usr/lib/cups/backend-available/usb' and '/usr/lib/cups/backend/usb' are the same file


So that didn't get me very far, alas!

Now, how would I go about re-installing CUPS?
 
Old 12-01-2020, 06:37 PM   #12
verndog
Member
 
Registered: Oct 2007
Posts: 278

Rep: Reputation: 67
Code:
sudo apt --reinstall install program
 
Old 12-01-2020, 09:39 PM   #13
Alok Rai
Member
 
Registered: Aug 2015
Posts: 245

Original Poster
Rep: Reputation: Disabled
Please forgive my ignorance,verndog - but would that be a single command to reinstall and install?

So, code: sudo apt --reinstall install cups
 
Old 12-01-2020, 11:13 PM   #14
verndog
Member
 
Registered: Oct 2007
Posts: 278

Rep: Reputation: 67
Yes
 
Old 12-01-2020, 11:27 PM   #15
Alok Rai
Member
 
Registered: Aug 2015
Posts: 245

Original Poster
Rep: Reputation: Disabled
Done. But I'm afraid the situation seems unchanged - so, the systemctl command still reports the same state:

$ systemctl list-unit-files | grep cups
cups.path enabled
cups-browsed.service enabled
cups.service enabled
cups.socket enabled
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to configure laser printer 1020 on fedora 8 poswer Linux - Desktop 1 10-15-2008 09:48 PM
HP 1020 usb printer keiffee30 Linux - Hardware 1 07-07-2007 09:19 PM
Driver for HP Laser 1020 USB printer in Linux mohit.chugh Linux - Software 1 11-22-2006 10:14 AM
hp 1020 printer problem mohit.chugh Linux - Software 1 11-22-2006 06:29 AM
Problems setting up HP 1020 laser printer $in Linux - Hardware 0 06-24-2006 10:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration