From: Thelma <thelma@sys-concept.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Unable to locate printer
Date: Mon, 29 Jan 2024 10:47:06 -0700 [thread overview]
Message-ID: <5e9d8890-5522-46cf-8021-ea0ea99f0306@sys-concept.com> (raw)
In-Reply-To: <2378926.NG923GbCHz@rogueboard>
On 1/29/24 04:23, Michael wrote:
> On Sunday, 28 January 2024 19:17:06 GMT Thelma wrote:
>> On 1/28/24 11:46, Michael wrote:
>>> On Sunday, 28 January 2024 17:43:22 GMT Thelma wrote:
>>>> Systems show Avahi-daemon status: started.
>>>> but it I don't know how it helps me find a local printer.
>>>>
>>>> I'm puzzled as printers were working last week without any problems.
>>>> I did not do any update or modification to the system but all of a sudden
>>>> they stop working "Unable to locate printer"
>>>>
>>>> The solution was to change printer setting:
>>>>
>>>> lpd://BRN30055C898DF9/BINARY_P1
>>>> lpd://brother-5370/BINARY_P1
>>>>
>>>> with:
>>>> lpd://printer-IP-address/BINARY_P1
>>>> lpd://printer-IP-address/BINARY_P1
>>>>
>>>> How to set Avahi-daemon to start automatically deleted printer?
>>>
>>> I don't think avahi is needed unless you are printing from different
>>> temporary clients and you want the printers to be automatically
>>> discovered on the network. If this is not your use case, you could try
>>> something like this:
>>>
>>> lpadmin -p 3170-color -E -v ipp://<IP_address_here>/BINARY_P1 -m
>>> everywhere
>>>
>>> Which will use the CUPS driverless method:
>>>
>>> https://wiki.gentoo.org/wiki/Driverless_printing
>>
>> These instruction on Gengoo Driveless printing are not clear.
>> I tried to follow this example and run:
>>
>> lpadmin -p foobar -E -v ipp://10.0.0.106/ipp -m everywhere
>>
>> did not create file: foobar.ppd in /etc/cups/ppd/
>>
>> ls -al /etc/cups/ppd/
>> -rw-r----- 1 root lp 26945 Nov 30 2020 3170-color.ppd
>> -rw-r----- 1 root lp 26929 Nov 30 2020 3170-color.ppd.O
>> -rw-r----- 1 root lp 16460 Jan 27 13:48 5370.ppd
>> -rw-r----- 1 root lp 25537 Jan 27 13:46 5370.ppd.O
>> -rw-r--r-- 1 root root 0 Dec 13 17:47 .keep_net-print_cups-0
>> -rw-r----- 1 root lp 16476 Apr 7 2022 L6200.ppd
>> -rw-r----- 1 root lp 16476 Apr 7 2022 L6200.ppd.O
>
> Did you run the lpadmin command as root?
>
>
>> But it did create foobar local raw printer name foobar, and when I tried to
>> print to it, it spit out strange characters.
>
> Where did you find this local raw printer?
locahost:631
When I select printer it show what driver it using.
>
> What does 'lpstat -t' run as your plain user show?
as user: $ lpstat -t
scheduler is running
no system default destination
device for 3170-color: lpd://10.0.0.105/BINARY_P1
device for 3170-color2: ipp://10.0.0.105/BINARY_P1
device for 5370: lpd://10.0.0.106/BINARY_P1
device for 5370-bw: ipp://10.0.0.106/ipp/print
3170-color accepting requests since Sat 27 Jan 2024 06:12:01 PM MST
3170-color2 accepting requests since Sun 28 Jan 2024 12:07:59 PM MST
5370 accepting requests since Mon 29 Jan 2024 08:55:47 AM MST
5370-bw accepting requests since Mon 29 Jan 2024 10:40:51 AM MST
L6200 accepting requests since Thu 07 Apr 2022 12:24:10 PM MDT
printer 3170-color is idle. enabled since Sat 27 Jan 2024 06:12:01 PM MST
printer 3170-color2 is idle. enabled since Sun 28 Jan 2024 12:07:59 PM MST
printer 5370 is idle. enabled since Mon 29 Jan 2024 08:55:47 AM MST
printer 5370-bw disabled since Mon 29 Jan 2024 10:40:51 AM MST -
The printer configuration is incorrect or the printer no longer exists.
>
>> I noticed you substitute after <IP-address>/ipp with
>> <IP_address_here>/BINARY_P1 This is not very clear in Gentoo Documentation
>>
>> Trying it:
>> lpadmin -p 3170-color2 -E -v ipp://10.0.0.105/BINARY_P1 -m everywhere
>>
>> It did not create any file name: 3170-color2.ppd ; but it did create entry
>> in printer entry 3170-color2 - local raw printer and printing to it works
>> OK. Thank you!
>
> You can try moving temporarily all .ppd files from /etc/cups/ppd/ and try
> running the lpadmin command again. Perhaps if it finds some ppd file already
> in there with the same settings it won't create a new file.
>
>
>> Can you explain the <IP-address>/ipp vs. <IP_address_here>/BINARY_P1
>
> If you login into the printer's admin GUI with your browser and navigate to
> Network, Services, you will see a list of service names. You can try
> configuring CUPS with each one at a time to see what works for you.
I'm using XFCE it doesn't have GUI setting for printers. But I can login via http://localhost:631 to see the printers
next prev parent reply other threads:[~2024-01-29 17:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-27 19:38 [gentoo-user] Unable to locate printer Thelma
2024-01-28 6:19 ` Michael Dinon
2024-01-28 7:00 ` Thelma
2024-01-28 6:36 ` Joe B
2024-01-28 17:43 ` Thelma
2024-01-28 18:46 ` Michael
2024-01-28 19:17 ` Thelma
2024-01-28 21:35 ` Alan Grimes
2024-01-29 2:53 ` Thelma
2024-01-29 12:16 ` Michael
2024-01-29 14:43 ` Thelma
2024-01-29 15:31 ` Michael
2024-01-29 15:57 ` Thelma
2024-01-29 11:23 ` Michael
2024-01-29 17:47 ` Thelma [this message]
2024-01-28 19:05 ` Wol
2024-01-28 19:30 ` Thelma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5e9d8890-5522-46cf-8021-ea0ea99f0306@sys-concept.com \
--to=thelma@sys-concept.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox