LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-16-2020, 08:37 PM   #1
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 723

Rep: Reputation: 8
How to setup USB printer in Debian ?


Hi there,


I got a Fuji Xerox CP116W USB/WiFi printer, I tried to setup in Mint Debian but failed, it does not recognize by the system although I installed the driver, I don't know what to put in the URL if I connect to USB, please advise thanks !
 
Old 06-17-2020, 03:19 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,460

Rep: Reputation: 7767Reputation: 7767Reputation: 7767Reputation: 7767Reputation: 7767Reputation: 7767Reputation: 7767Reputation: 7767Reputation: 7767Reputation: 7767Reputation: 7767
I don't really know this printer, but if you use it with usb you will not have an url. That will be a local printer.
 
Old 06-17-2020, 04:00 AM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
For USB printers, I would expect CUPS to detect the printer and derive the URI automatically. Attach the printer and run
Code:
sudo lpinfo -v
Report back with the output.

There should be something like the following reported....
Code:
direct usb://....
More info:
https://wiki.debian.org/CUPSPrintQueues#The_device-uri
 
1 members found this post helpful.
Old 06-17-2020, 07:36 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637

Rep: Reputation: Disabled
To go into the CUPS control center enter 127.0.0.1:631 <return> in the URL-field of your browser. Have a look around there to see if it holds any messages.
 
Old 06-17-2020, 08:53 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,971
Blog Entries: 46

Rep: Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195
Member Response

Hi,

Why not just use 'http://localhost:631' instead of '127.0.0.1:631' to have a descriptive URL.

Open a tab in your browser and place 'http://localhost:631' in the URL address field.
You can use cups help to get information as to operation or do a duckduckgo search for cups.

Hope this helps.
Have fun & enjoy!
 
Old 06-17-2020, 04:16 PM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637

Rep: Reputation: Disabled
Umm *shrug*. I personally(!) don't see the difference. But each to his own devices .
 
1 members found this post helpful.
Old 06-17-2020, 04:34 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,971
Blog Entries: 46

Rep: Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195
Member Response

Hi,

Maybe if you look here to clarify the usage of localhost; https://whatismyipaddress.com/localhost

Sure the address 127.0.0.1 is the same as localhost but most will use the term localhost to represent the same machine. If you choose the numeric then that's your choice.
Hope this helps.
Have fun & enjoy your localhost or 127.0.0.1!
 
Old 06-18-2020, 12:57 AM   #8
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 723

Original Poster
Rep: Reputation: 8
Thanks guy for the info., I checked with lsusb and didn't see the printer, but other printer shows up normally, I also failed to setup the printer on windows, so I can be sure the printer is faulty !
 
Old 06-18-2020, 02:33 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,460

Rep: Reputation: 7767Reputation: 7767Reputation: 7767Reputation: 7767Reputation: 7767Reputation: 7767Reputation: 7767Reputation: 7767Reputation: 7767Reputation: 7767Reputation: 7767
or it was just the usb cable (?)
 
Old 06-18-2020, 12:17 PM   #10
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637

Rep: Reputation: Disabled
@onebuck Thanks for the link. I guess with me it is just habit -- and I can memorize numbers better than other things, though I'll remember "localhost" from now on .
 
Old 06-19-2020, 12:24 AM   #11
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 723

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by pan64 View Post
or it was just the usb cable (?)
No, same cable 2 printer one doesn't show.
 
Old 06-19-2020, 07:00 AM   #12
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637

Rep: Reputation: Disabled
Quote:
Originally Posted by joboy View Post
No, same cable 2 printer one doesn't show.
Huh? What does that mean?
 
Old 06-20-2020, 12:12 AM   #13
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 723

Original Poster
Rep: Reputation: 8
The printer in question can't be detected by the computer, it has h/w problem
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] My HP 2600 printer stopped printing and their isn't a printer model now in the settings? the error message says the printer is paused? sudo1 Linux - Server 6 04-02-2019 07:14 AM
Printer ssid, pw wifi setup using usb cable to talk to printer linux os. pgaboria Linux - Networking 8 11-20-2017 08:05 AM
Printer setup - printer is on Windows server fawnridge Linux - Hardware 1 04-26-2006 10:39 AM
keeping printer on at bootup keeps printer from printing (some printer modules loaded TheOneAndOnlySM Slackware 1 10-17-2003 08:39 PM
setup printer on client machine(slackware 8) to server (slackware7) network printer changwoo Slackware 9 05-02-2003 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:42 AM.

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