LinuxQuestions.org
Help answer threads with 0 replies.
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-16-2017, 03:41 PM   #1
jensor
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Rep: Reputation: 0
lpinfo -v returns "command not found"


I'm trying to determine why my printer stop working and am trying to trouble shoot the problem. When I issue the command
lpinfo -v
I get "Command not found".
What is the solution?

Jack Ensor
 
Old 11-16-2017, 04:17 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,764

Rep: Reputation: 705Reputation: 705Reputation: 705Reputation: 705Reputation: 705Reputation: 705Reputation: 705
You need root privileges to run that command. You didn't state what distro you are running, so you may need to use sudo lpinfo -v.

As for the printer, look in cups for a clew as to why it is not working.
 
Old 11-16-2017, 04:52 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,396

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
The make and model and more details on the printer would also be useful to get help.
 
1 members found this post helpful.
Old 11-16-2017, 05:11 PM   #4
jensor
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Distro?

How to I determine the distro?
 
Old 11-16-2017, 07:35 PM   #5
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,852

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
try cat /proc/version
 
Old 11-17-2017, 08:36 AM   #6
jensor
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Distro

cat /proc/version
returns the following
Linux version 3.4-9-rtai-686-pae (debian 3.4.55-linuxcnc) () (gcc version 4.6.3 (Debian 4.6-14) )
 
Old 11-17-2017, 08:40 AM   #7
jensor
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 0
printer is Brother HL-5370DW on network. Linux box is connected to router via ethernet cable
 
Old 11-17-2017, 08:42 AM   #8
jensor
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 0
ip of printer is 192.168.1.14
this ip pings ok
 
Old 11-17-2017, 08:45 AM   #9
jensor
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 0
How do I "look in cups"
I know that cups is involved in the printing process
 
Old 11-17-2017, 08:50 AM   #10
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,764

Rep: Reputation: 705Reputation: 705Reputation: 705Reputation: 705Reputation: 705Reputation: 705Reputation: 705
In a web browser, type 'localhost:631' just what is between the quotes. This brings up the cups interface. Look on the Printer tab for the status of the printer. Look on the Admin tab at the error log.

Lets us know what you see. Copy and paste any errors here from the log for this printer.
 
Old 11-17-2017, 09:23 AM   #11
jensor
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Command doesn't seem to work:

jack@debian:~$ localhost:631
bash: localhost:631: command not found

Sorry, I went to the terminal instead of browser.
In browser I end up with:

▼ Queue Name ▼ Description Location Make and Model Status
Brother-HL-5370DW Brother HL-5370DW BRN001BA9517A3D Brother HL-5370DW BR-Script3 Processing - "Unable to locate printer "BRN001BA9517A3D"."

Last edited by jensor; 11-17-2017 at 09:49 AM.
 
Old 11-17-2017, 09:50 AM   #12
jensor
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Do you think I have to do something on the printer end?
The printer ip pings ok
 
Old 11-17-2017, 10:49 AM   #13
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,764

Rep: Reputation: 705Reputation: 705Reputation: 705Reputation: 705Reputation: 705Reputation: 705Reputation: 705
Has this printer ever worked? Is this a new install?

How did you install the drivers?
 
Old 11-17-2017, 10:58 AM   #14
jensor
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Yes this printer did work okay at one time with this linux box.
I had problems interfacing it with a Mac and after fooling around got it working with the Mac. I don't know if something in the printer itself got changed in the process.

On my Linux box, If I select Applications/System/Printing from drop down menu I get window labeled
Printing-localhost
If I right click the Brother-HL-5370W icon and select properties I see
Error Option 'printer-resolution' has value '(unknown IPP tag)' and cannot be edited

Can you help me from this?

Last edited by jensor; 11-17-2017 at 11:01 AM.
 
Old 11-17-2017, 11:12 AM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,506

Rep: Reputation: 4114Reputation: 4114Reputation: 4114Reputation: 4114Reputation: 4114Reputation: 4114Reputation: 4114Reputation: 4114Reputation: 4114Reputation: 4114Reputation: 4114
Goto the printer que and post the line that starts with connection:
Code:
localhost:631/printers/Brother-HL-5370DW
If the above does not work then go to localhost:631/printers and select the queue name.

This will tell how cups connects to the printer. Whether it is using dnssd://,ipp:// etc.

Did you look at the output of the lpinfo -v command? Does it show your printer?
 
  


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
gigabyte U7300 "edit Makefile" command returns "error" drobin Linux - Newbie 8 09-04-2013 04:20 AM
[SOLVED] apt-get install pkg_name returns "update-alternatives: command not found" bpeacocke Linux - Software 5 10-12-2011 09:16 PM
Command "mail" returns "panic: temporary file seek" kenneho Linux - Software 5 12-23-2008 03:27 AM
alsaconf returns error msg "getopt: command not found" bezdomny Linux - Hardware 4 07-13-2007 09:20 AM
executing a loaded module returns "command not found" error neelay1 Linux - Software 1 05-08-2006 02:25 PM

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

All times are GMT -5. The time now is 11:20 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