LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-04-2020, 12:28 PM   #46
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,793

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140

You are abridging the output. I would expect to see something like the following for a printer....

Code:
+   eth0 IPv4 HP LaserJet Pro M428f-M429f [BE6E3C]          Web Site             local
=   eth0 IPv4 HP LaserJet Pro M428f-M429f [BE6E3C]          Web Site             local
   hostname = [Comms-printer.local]
   address = [192.168.30.150]
   port = [80]
   txt = []
where comms-printer.local is the Avahi hostname, and pinging by it's name....
Code:
~> ping comms-printer.local
PING comms-printer.local (192.168.30.150) 56(84) bytes of data.
64 bytes from 192.168.30.150 (192.168.30.150): icmp_seq=1 ttl=64 time=1.49 ms
64 bytes from 192.168.30.150 (192.168.30.150): icmp_seq=2 ttl=64 time=1.59 ms
64 bytes from 192.168.30.150 (192.168.30.150): icmp_seq=3 ttl=64 time=1.12 ms
64 bytes from 192.168.30.150 (192.168.30.150): icmp_seq=4 ttl=64 time=1.47 ms
64 bytes from 192.168.30.150 (192.168.30.150): icmp_seq=5 ttl=64 time=1.16 ms
^C
--- comms-printer.local ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 1.124/1.367/1.592/0.194 ms
 
Old 10-05-2020, 01:03 AM   #47
shakespeare1
Member
 
Registered: Nov 2019
Location: Nokia, Finland.
Distribution: Xubuntu
Posts: 50

Original Poster
Rep: Reputation: Disabled
shakespeare@RYZEN:~$ ping 192.168.2.99
PING 192.168.2.99 (192.168.2.99) 56(84) bytes of data.
64 bytes from 192.168.2.99: icmp_seq=1 ttl=255 time=1.49 ms
64 bytes from 192.168.2.99: icmp_seq=2 ttl=255 time=1.18 ms
64 bytes from 192.168.2.99: icmp_seq=3 ttl=255 time=1.19 ms
64 bytes from 192.168.2.99: icmp_seq=4 ttl=255 time=1.19 ms
64 bytes from 192.168.2.99: icmp_seq=5 ttl=255 time=1.25 ms
64 bytes from 192.168.2.99: icmp_seq=6 ttl=255 time=1.23 ms
64 bytes from 192.168.2.99: icmp_seq=7 ttl=255 time=1.30 ms
64 bytes from 192.168.2.99: icmp_seq=8 ttl=255 time=1.15 ms
64 bytes from 192.168.2.99: icmp_seq=9 ttl=255 time=1.26 ms
64 bytes from 192.168.2.99: icmp_seq=10 ttl=255 time=1.18 ms
64 bytes from 192.168.2.99: icmp_seq=11 ttl=255 time=1.12 ms
64 bytes from 192.168.2.99: icmp_seq=12 ttl=255 time=1.17 ms
64 bytes from 192.168.2.99: icmp_seq=13 ttl=255 time=1.26 ms
64 bytes from 192.168.2.99: icmp_seq=14 ttl=255 time=1.18 ms
64 bytes from 192.168.2.99: icmp_seq=15 ttl=255 time=1.14 ms
^C
--- 192.168.2.99 ping statistics ---
15 packets transmitted, 15 received, 0% packet loss, time 14018ms
rtt min/avg/max/mdev = 1.128/1.223/1.490/0.090 ms
shakespeare@RYZEN:~$ ping 192.168.2.97
PING 192.168.2.97 (192.168.2.97) 56(84) bytes of data.
64 bytes from 192.168.2.97: icmp_seq=1 ttl=64 time=1.44 ms
64 bytes from 192.168.2.97: icmp_seq=2 ttl=64 time=0.403 ms
64 bytes from 192.168.2.97: icmp_seq=3 ttl=64 time=0.409 ms
64 bytes from 192.168.2.97: icmp_seq=4 ttl=64 time=0.397 ms
64 bytes from 192.168.2.97: icmp_seq=5 ttl=64 time=0.417 ms
64 bytes from 192.168.2.97: icmp_seq=6 ttl=64 time=0.424 ms
64 bytes from 192.168.2.97: icmp_seq=7 ttl=64 time=0.450 ms
64 bytes from 192.168.2.97: icmp_seq=8 ttl=64 time=0.423 ms
64 bytes from 192.168.2.97: icmp_seq=9 ttl=64 time=0.443 ms
64 bytes from 192.168.2.97: icmp_seq=10 ttl=64 time=0.413 ms
64 bytes from 192.168.2.97: icmp_seq=11 ttl=64 time=0.418 ms
64 bytes from 192.168.2.97: icmp_seq=12 ttl=64 time=0.396 ms
64 bytes from 192.168.2.97: icmp_seq=13 ttl=64 time=0.450 ms
^C
--- 192.168.2.97 ping statistics ---
13 packets transmitted, 13 received, 0% packet loss, time 12270ms
rtt min/avg/max/mdev = 0.396/0.499/1.449/0.275 ms
shakespeare@RYZEN:~$shakespeare@RYZEN:~$ ping EPSON791349.local
PING EPSON791349.local (192.168.2.97) 56(84) bytes of data.
64 bytes from M200 (192.168.2.97): icmp_seq=2 ttl=64 time=1.20 ms
64 bytes from M200 (192.168.2.97): icmp_seq=3 ttl=64 time=0.869 ms
64 bytes from M200 (192.168.2.97): icmp_seq=4 ttl=64 time=0.892 ms
64 bytes from M200 (192.168.2.97): icmp_seq=5 ttl=64 time=0.928 ms
64 bytes from M200 (192.168.2.97): icmp_seq=6 ttl=64 time=0.944 ms
64 bytes from M200 (192.168.2.97): icmp_seq=7 ttl=64 time=0.875 ms
64 bytes from M200 (192.168.2.97): icmp_seq=8 ttl=64 time=0.915 ms
64 bytes from M200 (192.168.2.97): icmp_seq=9 ttl=64 time=0.951 ms
64 bytes from M200 (192.168.2.97): icmp_seq=10 ttl=64 time=0.876 ms
^C
--- EPSON791349.local ping statistics ---
10 packets transmitted, 9 received, 10% packet loss, time 9120ms
rtt min/avg/max/mdev = 0.869/0.939/1.208/0.106 ms
shakespeare@RYZEN:~$ ping DCP9055.local
PING DCP9055.local (192.168.2.99) 56(84) bytes of data.
64 bytes from DCP9055 (192.168.2.99): icmp_seq=1 ttl=255 time=2.39 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=2 ttl=255 time=0.427 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=3 ttl=255 time=0.410 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=4 ttl=255 time=1.50 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=5 ttl=255 time=1.23 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=6 ttl=255 time=1.28 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=7 ttl=255 time=1.31 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=8 ttl=255 time=1.23 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=9 ttl=255 time=1.24 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=10 ttl=255 time=1.21 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=11 ttl=255 time=1.16 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=12 ttl=255 time=1.19 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=13 ttl=255 time=1.20 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=14 ttl=255 time=1.18 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=15 ttl=255 time=1.17 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=16 ttl=255 time=1.26 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=17 ttl=255 time=1.19 ms
^C
--- DCP9055.local ping statistics ---
17 packets transmitted, 17 received, 0% packet loss, time 16049ms
rtt min/avg/max/mdev = 0.410/1.214/2.395/0.404 ms
shakespeare@RYZEN:~$

They do respond to pinging by their host name.
shakespeare@RYZEN:~$

Last edited by shakespeare1; 10-05-2020 at 01:21 AM. Reason: ???
 
Old 10-05-2020, 03:42 AM   #48
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,793

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Ok, you finally demonstrated that you can at least ping the printer by its Avahi hostname (DCP9055.local)

Way back at post #9, you reported output showing "Printer State: Processing - Unable to locate printer". This can be due Avahihostname resolution or firewall configuration...
https://wiki.archlinux.org/index.php...locate_printer
However, I assume that you no longer have this error.

Report back with output from
Code:
lpstat -t
Code:
egrep -i "name|model|filter" /etc/cups/ppd/*
 
Old 10-05-2020, 03:57 AM   #49
shakespeare1
Member
 
Registered: Nov 2019
Location: Nokia, Finland.
Distribution: Xubuntu
Posts: 50

Original Poster
Rep: Reputation: Disabled
shakespeare@RYZEN:~$ lpstat -t
scheduler is running
system default destination: Epson-AL-M200DN
device for Brother_DCP-9055CDN: dnssd://Brother%20DCP-9055CDN._pdl-datastream._tcp.local/
device for Epson-AL-M200DN: socket://192.168.2.97:9100
device for EPSON-XP-352-355-Series: usb://EPSON/XP-352%20355%20Series?serial=583543473134373514&interface=1
Brother_DCP-9055CDN accepting requests since pe 2. lokakuuta 2020 16.12.52
Epson-AL-M200DN accepting requests since ke 30. syyskuuta 2020 10.46.16
EPSON-XP-352-355-Series accepting requests since to 19. maaliskuuta 2020 12.14.05
printer Brother_DCP-9055CDN is idle. enabled since pe 2. lokakuuta 2020 16.12.52
printer Epson-AL-M200DN disabled since ke 30. syyskuuta 2020 10.46.16 -
Backend /usr/lib/cups/backend/socket does not exist!
printer EPSON-XP-352-355-Series disabled since to 19. maaliskuuta 2020 12.14.05 -
File "/opt/epson-inkjet-printer-escpr/cups/lib/filter/epson-escpr-wrapper" not available: No such file or directory
shakespeare@RYZEN:~$
shakespeare@RYZEN:~$ egrep -i "name|model|filter" /etc/cups/ppd/*
grep: /etc/cups/ppd/Brother_DCP-9055CDN.ppd: Permission denied
grep: /etc/cups/ppd/Brother_DCP-9055CDN.ppd.O: Permission denied
grep: /etc/cups/ppd/Epson-AL-M200DN.ppd: Permission denied
grep: /etc/cups/ppd/EPSON-XP-352-355-Series.ppd: Permission denied
shakespeare@RYZEN:~$
 
Old 10-05-2020, 04:11 AM   #50
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,793

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Use sudo...
Code:
sudo egrep -i "name|model|filter" /etc/cups/ppd/*

Last edited by ferrari; 10-05-2020 at 04:17 AM.
 
Old 10-05-2020, 04:12 AM   #51
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,793

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
BTW, when posting commands and output you should enclose with in [code] tags (refer to the '#' button in the advanced editor).
 
Old 10-05-2020, 04:18 AM   #52
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,793

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
The lpstat output looks as expected. Can you print a test page successfully?
 
Old 10-05-2020, 04:33 AM   #53
shakespeare1
Member
 
Registered: Nov 2019
Location: Nokia, Finland.
Distribution: Xubuntu
Posts: 50

Original Poster
Rep: Reputation: Disabled
I just noticed that "Permission denied" so I prefixed the command with sudo

shakespeare@RYZEN:~$ sudo egrep -i "name|model|filter" /etc/cups/ppd/*
[sudo] password for shakespeare:
/etc/cups/ppd/Brother_DCP-9055CDN.ppd:*PCFileName: "DCP9055N.PPD"
/etc/cups/ppd/Brother_DCP-9055CDN.ppd:*cupsFilter: "application/vnd.cups-postscript 0 brlpdwrapperdcp9055cdn"
/etc/cups/ppd/Brother_DCP-9055CDN.ppd:*cupsModelNumber: 4
/etc/cups/ppd/Brother_DCP-9055CDN.ppd:*ModelName: "Brother DCP-9055CDN"
/etc/cups/ppd/Brother_DCP-9055CDN.ppd:*ShortNickName: "DCP-9055CDN"
/etc/cups/ppd/Brother_DCP-9055CDN.ppd:*NickName: "Brother DCP-9055CDN CUPS"
/etc/cups/ppd/Brother_DCP-9055CDN.ppd:*BRUserNameLen: 80
/etc/cups/ppd/Brother_DCP-9055CDN.ppd:*BRJobNameLen: 80
/etc/cups/ppd/Brother_DCP-9055CDN.ppd.O:*PCFileName: "DCP9055N.PPD"
/etc/cups/ppd/Brother_DCP-9055CDN.ppd.O:*cupsFilter: "application/vnd.cups-postscript 0 brlpdwrapperdcp9055cdn"
/etc/cups/ppd/Brother_DCP-9055CDN.ppd.O:*cupsModelNumber: 4
/etc/cups/ppd/Brother_DCP-9055CDN.ppd.O:*ModelName: "Brother DCP-9055CDN"
/etc/cups/ppd/Brother_DCP-9055CDN.ppd.O:*ShortNickName: "DCP-9055CDN"
/etc/cups/ppd/Brother_DCP-9055CDN.ppd.O:*NickName: "Brother DCP-9055CDN CUPS"
/etc/cups/ppd/Brother_DCP-9055CDN.ppd.O:*BRUserNameLen: 80
/etc/cups/ppd/Brother_DCP-9055CDN.ppd.O:*BRJobNameLen: 80
/etc/cups/ppd/Epson-AL-M200DN.ppd:*PCFileName: "M200DN.PPD"
/etc/cups/ppd/Epson-AL-M200DN.ppd:*ShortNickName: "Epson AL-M200DN PS3"
/etc/cups/ppd/Epson-AL-M200DN.ppd:*ModelName: "EPSON AL-M200DN PS3"
/etc/cups/ppd/Epson-AL-M200DN.ppd:*NickName: "Epson AL-M200DN PS3 v1.005"
/etc/cups/ppd/EPSON-XP-352-355-Series.ppd:*PCFileName: "EPXP-352 355 Series.PPD"
/etc/cups/ppd/EPSON-XP-352-355-Series.ppd:*ModelName: "EPSON XP-352 355 Series"
/etc/cups/ppd/EPSON-XP-352-355-Series.ppd:*ShortNickName: "EPSON XP-352 355 Series"
/etc/cups/ppd/EPSON-XP-352-355-Series.ppd:*NickName: "Epson XP-352 355 Series - epson-inkjet-printer-escpr 1.7.7-1lsb3.2 (Seiko Epson Corporation LSB 3.2)"
/etc/cups/ppd/EPSON-XP-352-355-Series.ppd:*cupsModelNumber: 1
/etc/cups/ppd/EPSON-XP-352-355-Series.ppd:*cupsFilter: "application/vnd.cups-raster 0 /opt/epson-inkjet-printer-escpr/cups/lib/filter/epson-escpr-wrapper"
shakespeare@RYZEN:~$
 
Old 10-05-2020, 04:36 AM   #54
shakespeare1
Member
 
Registered: Nov 2019
Location: Nokia, Finland.
Distribution: Xubuntu
Posts: 50

Original Poster
Rep: Reputation: Disabled
yes.
 
Old 10-05-2020, 12:29 PM   #55
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,793

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
yes
So, all sorted now?
 
  


Reply

Tags
printer driver



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
VI & VIM are borked! d33pdream Linux - Software 4 11-15-2004 02:57 AM
x is borked Enigma Linux - Newbie 3 01-18-2003 07:45 PM
I've borked over a superblock...uh oh Null Linux - Hardware 8 01-08-2003 12:52 PM
Samba - it got borked good bkeating Linux - Networking 2 09-15-2002 03:43 AM

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

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