public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Thelma <thelma@sys-concept.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Unable to locate printer
Date: Sun, 28 Jan 2024 12:17:06 -0700	[thread overview]
Message-ID: <c71dde27-e808-41fc-ba6f-ecf3203d81f0@sys-concept.com> (raw)
In-Reply-To: <24041257.ouqheUzb2q@rogueboard>

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

But it did create foobar local raw printer name foobar, and when I tried to print to it, it spit out strange characters.

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!

Can you explain the  <IP-address>/ipp vs. <IP_address_here>/BINARY_P1


  reply	other threads:[~2024-01-28 19:17 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 [this message]
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
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=c71dde27-e808-41fc-ba6f-ecf3203d81f0@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