Welcome!
Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.2 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

"Unable to locate printer" error

Tod
Forum Novice
Forum  Novice
Posts: 5
Joined: Sun Jan 27, 2019 11:51 am

"Unable to locate printer" error

#1

Post by Tod » Sun Jan 27, 2019 1:32 pm

I am new to MX Linux and would be grateful for some help in setting up my Epson ET-3600 printer.

I have managed to setup a dual boot on my Lenovo Thinkpad for Windows 7 plus Mx Linux (which I keep fully upgraded, so I am now on version 18). This is working well.

My printer works when I boot Windows, but on Linux the problem occurs after adding the printer in both Print Settings and Printers (CUPS). While adding, the Epson ET-3600 printer is detected and I take all the default options offered, and the icon appears in the printer list with the status shown as Idle. So far so good. (I have to use the Epson ET-2600 driver as there is no driver for the ET-3600, but this has been reported as working by a forum member.) However, when I try to print a test page, I get the error message:

"Unable to locate printer - EPSON7ECC45.local"

I don't understand why it can't locate the printer for printing, when it located it for adding it to the printer list.

Is there anything else I need to tweak so it can locate the printer at print time? I would be grateful for any suggestions.

User avatar
gimcrack
Forum Novice
Forum  Novice
Posts: 77
Joined: Fri Dec 02, 2011 6:17 pm

Re: "Unable to locate printer" error

#2

Post by gimcrack » Sun Jan 27, 2019 1:37 pm


User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3411
Joined: Wed Apr 11, 2018 5:09 pm

Re: "Unable to locate printer" error

#3

Post by fehlix » Sun Jan 27, 2019 2:18 pm

Tod wrote:
Sun Jan 27, 2019 1:32 pm
Is there anything else I need to tweak so it can locate the printer at print time? I would be grateful for any suggestions.
A simple solution to this DSD-SDn vs DHCP-DNS name resultion missmatch would be to add two lines to you /etc/hosts table:
Example :
Assuming for this example your printer IP addrees is 192.168.172.45
Than I would add this to
/etc/hosts

Code: Select all

192.168.172.45  EPSON7ECC45
192.168.172.45  EPSON7ECC45.local
One way to find the ip-address of the printer would be to run

Code: Select all

sudo arp-scan --localnet 
( after aving installed arp-scan ;=)
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3411
Joined: Wed Apr 11, 2018 5:09 pm

Re: "Unable to locate printer" error

#4

Post by fehlix » Sun Jan 27, 2019 2:35 pm

The link revealed another solution which boils down,
when using the example IP-address for this printer,
to run (as normal user)

Code: Select all

avahi-resolve-host-name --address 192.168.172.45
which should report (if the printer is reporting to ahavi properly) this:

Code: Select all

192.168.172.45  EPSON7ECC45.local
So avahi would report the idential DNS-mapping as we
would have manually put into the hosts table.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4811
Joined: Wed Jul 12, 2006 4:05 pm

Re: "Unable to locate printer" error

#5

Post by timkb4cq » Sun Jan 27, 2019 3:22 pm

And running

Code: Select all

avahi-discover
will bring up a window where you can see all the devices on your network. Clicking on one will show you the details, including the IP address. It has separate sections for ipv6 & ipv 4 address. In most cases it will be easier to use the entry under the ipv4 address.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3411
Joined: Wed Apr 11, 2018 5:09 pm

Re: "Unable to locate printer" error

#6

Post by fehlix » Sun Jan 27, 2019 3:32 pm

timkb4cq wrote:
Sun Jan 27, 2019 3:22 pm
And running

Code: Select all

avahi-discover
will bring up a window where you can see all the devices on your network. Clicking on one will show you the details, including the IP address. It has separate sections for ipv6 & ipv 4 address. In most cases it will be easier to use the entry under the ipv4 address.
Yea, I love avahi-discover - ( if it works ;) (as some printer seem to not talk nicely to avahi :rolleyes: )
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Tod
Forum Novice
Forum  Novice
Posts: 5
Joined: Sun Jan 27, 2019 11:51 am

Re: "Unable to locate printer" error

#7

Post by Tod » Sun Jan 27, 2019 3:41 pm

Thank you all for your suggestions. How can I find a copy of avahi to install? I have been into both package managers on my menu, and there is nothing called simply 'avahi' to install.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 24195
Joined: Wed Jul 19, 2006 6:13 am

Re: "Unable to locate printer" error

#8

Post by Jerry3904 » Sun Jan 27, 2019 4:07 pm

Not avahi but avahi-discover. In the repos.

Code: Select all

$ apt policy avahi-discover 
avahi-discover:
  Installed: (none)
  Candidate: 0.6.32-2
  Version table:
     0.6.32-2 500
        500 http://debian.mirror.constant.com/debian stretch/main amd64 Packages
        500 http://debian.mirror.constant.com/debian stretch/main i386 Packages
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

Tod
Forum Novice
Forum  Novice
Posts: 5
Joined: Sun Jan 27, 2019 11:51 am

Re: "Unable to locate printer" error

#9

Post by Tod » Sun Jan 27, 2019 4:18 pm

Please ignore my previous post, unfortunately I don't have the knowledge to properly install and run a daemon at the moment, so I'll have to manage without avahi.

I managed to find the IP address that I saved when I set the printer up in Windows. I have added the two lines to the etc/hosts file, but am now getting an error message: "The printer is not responding".

Tod
Forum Novice
Forum  Novice
Posts: 5
Joined: Sun Jan 27, 2019 11:51 am

Re: "Unable to locate printer" error

#10

Post by Tod » Sun Jan 27, 2019 4:44 pm

I did search the repos list (using the link from the manual) but could not find anything there called "avahi-discover". So I am completely stuck at the moment and would be grateful for any further suggestions. I have to get this expensive printer working or I will be doomed to go back to Windows :(

Post Reply

Return to “Hardware /Configuration”