[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: repeat of previous question that has gone unansweredseveraltimes.



On 5/1/23 12:30, Brian wrote:
On Mon 01 May 2023 at 11:39:29 -0400, gene heskett wrote:

On 5/1/23 11:28, Brian wrote:
On Mon 01 May 2023 at 11:02:58 -0400, gene heskett wrote:

On 5/1/23 10:40, Brian wrote:

[...]

Your printing situation appears to be a sane one, so now for a test. Do

     lp -d HLL2320D_coyote ANY_FILE_YOU_WANT

Is not working, shell appears frozen but eventually returns:
gene@bpi51:~$ lp -d HLL2320D_coyote printer.cfg
lp: The printer or class does not exist.

But HLL2320D_coyote does exist. It is seen in the outputs of 'lpstat -l -e'
and 'sudo lpinfo -v'. Give

    lpoptopns -p HLL2320D_coyote
gene@bpi51:~$ lpoptions -p HLL2320D_coyote
device-uri=ipps://HLL2320D%20%40%20coyote._ipps._tcp.local/cups
printer-info='HLL2320D @ coyote' printer-make-and-model='Brother HL-L2320D
series' printer-type=25202710

The print queue specified by -p is queried for some information about itself.
Its reponse is given and it seems a very reasonable one.

    lpoptions -p HLL2320D_coyote -l
gene@bpi51:~$ lpoptions -p HLL2320D_coyote -l
lpoptions: Unable to get PPD file for HLL2320D_coyote: The printer or class
does not exist.

The -l option asks the queue for the specific options it offers. The response
indicates something wrong with CUPS on bpi51. I haven't any problem when doing
this and getting sensible outputs on my Debian unstable machine.

Assuming your buster machines (which are working) have similar setups to bpi51,
you couls try the two commands (and all the others in this thread) on one of
those.

one of those machines reports this for the -l option:

gene@sixty40:~$ lpoptions -p HLL2320D_coyote -l
PageSize/Media Size: Custom.WIDTHxHEIGHT *Letter Legal Executive FanFoldGermanLegal A4 A5 A6 Env10 EnvMonarch EnvDL EnvC5 ISOB5 B5 ISOB6 B6 4x6 Postcard DoublePostcardRotated EnvYou4 195x270mm 184x260mm 197x273mm CUSTOM1 CUSTOM2 CUSTOM3 BrMediaType/MediaType: *PLAIN THIN THICK THICKERPAPER2 BOND ENV ENVTHICK ENVTHIN RECYCLED
InputSlot/InputSlot: MANUAL *TRAY1
Duplex/Duplex: DuplexTumble *DuplexNoTumble None
Resolution/Resolution: 300dpi *600dpi 2400x600dpi
TonerSaveMode/Toner Save: *OFF ON
Sleep/Sleep Time [Min.]: *PrinterDefault 2minutes 10minutes 30minutes

the diff between a working buster from an ls -l /etc/cups showing:
gene@GO704:~/linuxcnc/src$ ls -l /etc/cups
total 64
-rw-r--r-- 1 root root 27303 Apr 10  2019 cups-browsed.conf
-rw-r--r-- 1 root root  6402 Feb 26 15:05 cupsd.conf
-rw-r--r-- 1 root root  2923 May 23  2022 cups-files.conf
drwxr-xr-x 2 root lp    4096 May  1 00:00 ppd
-rw------- 1 root lp    1882 May  1 00:00 printers.conf
-rw------- 1 root lp     111 May  1 00:00 printers.conf.O
drwx------ 2 root lp    4096 May 23  2022 ssl
-rw-r----- 1 root lp     387 May  1 00:00 subscriptions.conf
-rw-r----- 1 root lp      93 May  1 00:00 subscriptions.conf.O
which works fine, And a non-working bullseye:
gene@bpi51:~$ ls -l /etc/cups/
total 100
-rw------- 1 root lp     111 Dec  2 23:13 classes.conf
-rw-r--r-- 1 root root 30436 Mar 14  2022 cups-browsed.conf
-rw-r--r-- 1 root root  6456 Oct 15  2022 cupsd.conf
-rw-r--r-- 1 root root  3047 May 23  2022 cups-files.conf
-rw-r--r-- 1 root root 10982 Jan  2  2021 cups-pdf.conf
drwxr-xr-x 2 root root  4096 May 23  2022 interfaces
drwxr-xr-x 2 root lp    4096 Dec  2 23:13 ppd
-rw------- 1 root lp     529 May  1 10:37 printers.conf
-rw------- 1 root lp     529 May  1 10:36 printers.conf.O
-rw-r--r-- 1 root root   240 Oct 15  2022 raw.convs
-rw-r--r-- 1 root root   211 Oct 15  2022 raw.types
-rw-r--r-- 1 root root   142 May 23  2022 snmp.conf
drwx------ 2 root lp    4096 May 23  2022 ssl
-rw-r----- 1 root lp     524 May  1 00:00 subscriptions.conf
-rw-r----- 1 root lp     234 May  1 00:00 subscriptions.conf.O

So call me puzzled. I've been called worse.;o)>


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>


Reply to: