Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Hardware] is my raw printer able to print ?

Need help with peripherals or devices?
Post Reply
Message
Author
mazda1
Posts: 47
Joined: 2023-04-09 21:29
Has thanked: 5 times

[Hardware] is my raw printer able to print ?

#1 Post by mazda1 »

hello ,
my system : Debian 11

I have a quite old printer ( not that old after all ) , RICOH SP 277 NwX , which unfortunately is not driverless . When I installed it Debian installed another printer , a raw printer , without me asking for it . After installing avahi-tools I could get some information about this raw printer :

Code: Select all

~$ avahi-browse -rt _ipp._tcp
+ enp1s0f1 IPv6 RICOH SP 277NwX (db7690)                      Internet Printer     local
+ enp1s0f1 IPv4 RICOH SP 277NwX (db7690)                      Internet Printer     local
= enp1s0f1 IPv6 RICOH SP 277NwX (db7690)                      Internet Printer     local
   hostname = [277NwX-DB7690.local]
   ..................
1) the real printer SP 277NwX , a GDI laser printer , uses WIFI and is not listed . What does db7690 stand for ?

2) I would like to know if I can do a normal printing job with this "raw printer" . So far I have never been able to get it printing .
Last edited by mazda1 on 2023-05-27 03:08, edited 1 time in total.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: [Hardware] is my raw printer able to print ?

#2 Post by arochester »

unfortunately is not driverless
This says it is driverless : https://openprinting.github.io/printers/

mazda1
Posts: 47
Joined: 2023-04-09 21:29
Has thanked: 5 times

Re: [Hardware] is my raw printer able to print ?

#3 Post by mazda1 »

arochester wrote: 2023-05-26 13:44
unfortunately is not driverless
This says it is driverless : https://openprinting.github.io/printers/
RICOH SP SNwX is driverless , SP NwX is not ( at least it's not in the list and nothing about being driverless in their owner's manual )
https://support.ricoh.com/bb_v1oi/html/ ... snwxen.htm

brian_p
Posts: 196
Joined: 2015-11-05 10:32
Has thanked: 1 time
Been thanked: 5 times

Re: [Hardware] is my raw printer able to print ?

#4 Post by brian_p »

The difference between SP SNwX and NwX isn't of any consequence. What is of consequence is that your avahi-browse output from the printer is incomplete. May we have the full output?
--
Brian.

mazda1
Posts: 47
Joined: 2023-04-09 21:29
Has thanked: 5 times

Re: [Hardware] is my raw printer able to print ?

#5 Post by mazda1 »

brian_p wrote: 2023-05-30 21:40 The difference between SP SNwX and NwX isn't of any consequence. What is of consequence is that your avahi-browse output from the printer is incomplete. May we have the full output?
complete output as requested :

Code: Select all

avahi-browse -rt _ipp._tcp
+ enp1s0f1 IPv6 RICOH SP 277NwX (db7690)                      Internet Printer     local
+ enp1s0f1 IPv4 RICOH SP 277NwX (db7690)                      Internet Printer     local
= enp1s0f1 IPv6 RICOH SP 277NwX (db7690)                      Internet Printer     local
   hostname = [277NwX-DB7690.local]
   address = [xxxxxxxxxxxxxx]
   port = [631]
   txt = ["Scan=F" "Duplex=F" "Color=F" "UUID=xxxxxxxx" "note=Inferno" "adminurl=http://277NwX-DB7690.local:80/index.html" "mopria-certified=1.3" "print_wfds=T" "usb_MDL=RICOH SP 277NwX" "usb_MFG=RICOH" "rp=ipp/print" "mac=00xxxxxxxxxx" "priority=20" "product=(RICOH SP 277NwX)" "ty=RICOH SP 277NwX (db7690)" "pdl=image/urf,image/pwg-raster,application/octet-stream" "qtotal=1" "txtvers=1"]
= enp1s0f1 IPv4 RICOH SP 277NwX (db7690)                      Internet Printer     local
   hostname = [277NwX-DB7690.local]
   address = [xxxxxxx]
   port = [631]
   txt = ["Scan=F" "Duplex=F" "Color=F" "UUID=xxxxxxxxxxxxxxxxx" "note=Inferno" "adminurl=http://277NwX-DB7690.local:80/index.html" "mopria-certified=1.3" "print_wfds=T" "usb_MDL=RICOH SP 277NwX" "usb_MFG=RICOH" "rp=ipp/print" "mac=xxxxxxxxxx" "priority=20" "product=(RICOH SP 277NwX)" "ty=RICOH SP 277NwX (db7690)" "pdl=image/urf,image/pwg-raster,application/octet-stream" "qtotal=1" "txtvers=1"]
ps :
from CUPS
- driver = Local Raw Printer
- connection = file:///dev/null

brian_p
Posts: 196
Joined: 2015-11-05 10:32
Has thanked: 1 time
Been thanked: 5 times

Re: [Hardware] is my raw printer able to print ?

#6 Post by brian_p »

What an interesting printer! It is Mopria certified but, because the URF= key is absent, is not AirPrint certified. The pdl= key indicates that it should provide enough for it to fit Debian's driverless printing system.

Set up this print queue:

Code: Select all

lpadmin -p SP277 -v ipp://277NwX-DB7690.local/ipp/print -E -m everywhere
Test with

Code: Select all

lp -d SP277 /etc/nsswitch.conf
mazda1 wrote: 2023-05-31 04:14
ps :
from CUPS
- driver = Local Raw Printer
- connection = file:///dev/null
This should never have been set up.
--
Brian.

mazda1
Posts: 47
Joined: 2023-04-09 21:29
Has thanked: 5 times

Re: [Hardware] is my raw printer able to print ?

#7 Post by mazda1 »

brian_p wrote: 2023-05-31 10:12 What an interesting printer! It is Mopria certified but, because the URF= key is absent, is not AirPrint certified. The pdl= key indicates that it should provide enough for it to fit Debian's driverless printing system.

Set up this print queue:

Code: Select all

lpadmin -p SP277 -v ipp://277NwX-DB7690.local/ipp/print -E -m everywhere

Code: Select all

~$ sudo lpadmin -p SP277 -v ipp://277NwX-DB7690.local/ipp/print -E -m everywhere
[sudo] password for mm: 
lpadmin: Unable to create PPD file: No such file or directory
My SP 277NwX printer has a PPD file : /etc/cups/ppd/RICOH_SP_277NwX.ppd

brian_p
Posts: 196
Joined: 2015-11-05 10:32
Has thanked: 1 time
Been thanked: 5 times

Re: [Hardware] is my raw printer able to print ?

#8 Post by brian_p »

mazda1 wrote: 2023-05-31 12:17 [

Code: Select all

~$ sudo lpadmin -p SP277 -v ipp://277NwX-DB7690.local/ipp/print -E -m everywhere
[sudo] password for mm: 
lpadmin: Unable to create PPD file: No such file or directory
Try

Code: Select all

~$ sudo lpadmin -p SP277 -v ipp://PRINTER_IP_ADDRESS/ipp/print -E -m everywhere
Also give the outputs of

Code: Select all

lpstat -l -e

Code: Select all

lpstat -t
--
Brian.

mazda1
Posts: 47
Joined: 2023-04-09 21:29
Has thanked: 5 times

Re: [Hardware] is my raw printer able to print ?

#9 Post by mazda1 »

brian_p wrote: 2023-05-31 13:37

Code: Select all

~$ sudo lpadmin -p SP277 -v ipp://PRINTER_IP_ADDRESS/ipp/print -E -m everywhere

Code: Select all

~$ sudo lpadmin -p SP277 -v ipp://Adress/ipp/print -E -m everywhere
lpadmin: Unable to create PPD file: No such file or directory

Code: Select all

lpstat -l -e

Code: Select all

~$ lpstat -l -e
PDF permanent ipp://localhost/printers/PDF cups-pdf:/
RICOH_SP_277NwX permanent ipp://localhost/printers/RICOH_SP_277NwX http://Adress:631/ipp/
RICOH_SP_277NwX_db7690_ network none ipp://RICOH%20SP%20277NwX%20(db7690)._ipp._tcp.local/

Code: Select all

lpstat -t

Code: Select all

~$ lpstat -t
scheduler is running
system default destination: RICOH_SP_277NwX
device for PDF: cups-pdf:/
device for RICOH_SP_277NwX: http://Adress:631/ipp/
device for RICOH_SP_277NwX_db7690_: ipp://Adress:631/ipp/print
PDF accepting requests since Fri May 26 14:38:03 2023
RICOH_SP_277NwX accepting requests since Wed May 31 16:02:11 2023
RICOH_SP_277NwX_db7690_ accepting requests since Wed May 31 13:40:23 2023
printer PDF is idle.  enabled since Fri May 26 14:38:03 2023
printer RICOH_SP_277NwX is idle.  enabled since Wed May 31 16:02:11 2023
printer RICOH_SP_277NwX_db7690_ is idle.  enabled since Wed May 31 13:40:23 2023
	Printer cannot print with supplied options.

brian_p
Posts: 196
Joined: 2015-11-05 10:32
Has thanked: 1 time
Been thanked: 5 times

Re: [Hardware] is my raw printer able to print ?

#10 Post by brian_p »

mazda1 wrote: 2023-05-31 14:18

Code: Select all

~$ sudo lpadmin -p SP277 -v ipp://Adress/ipp/print -E -m everywhere
lpadmin: Unable to create PPD file: No such file or directory
lpadmin is unable to create a PPD with the everywhere model. Let's try the driverless model:

Code: Select all

~$ sudo lpadmin -p SP277 -v ipp://Adress/ipp/print -E -m driverless:ipp://Adress/ipp/print
--
Brian.

mazda1
Posts: 47
Joined: 2023-04-09 21:29
Has thanked: 5 times

Re: [Hardware] is my raw printer able to print ?

#11 Post by mazda1 »

lpadmin is unable to create a PPD with the everywhere model. Let's try the driverless model:

Code: Select all

~$ sudo lpadmin -p SP277 -v ipp://Adress/ipp/print -E -m driverless:ipp://Adress/ipp/print

Code: Select all

~$ sudo lpadmin -p SP277 -v ipp://Adress/ipp/print -E -m driverless:ipp://Adress/ipp/print
[sudo] password for mm: 
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
lpadmin: Unable to open PPD "/tmp/12a0e64856b30": Missing PPD-Adobe-4.x header on line 0.
I don't understand what /tmp/12a0e64856b30" has to do with the PPD : this file is empty

brian_p
Posts: 196
Joined: 2015-11-05 10:32
Has thanked: 1 time
Been thanked: 5 times

Re: [Hardware] is my raw printer able to print ?

#12 Post by brian_p »

mazda1 wrote: 2023-05-31 15:01

Code: Select all

~$ sudo lpadmin -p SP277 -v ipp://Adress/ipp/print -E -m driverless:ipp://Adress/ipp/print
[sudo] password for mm: 
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
lpadmin: Unable to open PPD "/tmp/12a0e64856b30": Missing PPD-Adobe-4.x header on line 0.
I don't understand what /tmp/12a0e64856b30" has to do with the PPD : this file is empty
The lpadmin command has queried the printer and attempted to create a PPD in /tmp. It failed, as it did with everywhere. This is likely to be due to a printer firmware bug, which might be fixed with a firmware upgrade.

A final try with driverless printing. Stop cups-browsed

Code: Select all

systemctl stop cups-browsed
and print with

Code: Select all

lp -d "RICOH_SP_277NwX_db7690_" /etc/nsswitch.conf
--
Brian.

mazda1
Posts: 47
Joined: 2023-04-09 21:29
Has thanked: 5 times

Re: [Hardware] is my raw printer able to print ?

#13 Post by mazda1 »

it definitely seems hopeless . The last try has failed with the same previous warning for SP_277NwX_db7690 : Printer cannot print with supplied options.

As I am quite happy with this printer when the printer driver is deprecated I'll just use the apt-mark tool .

many thanks for the help .

brian_p
Posts: 196
Joined: 2015-11-05 10:32
Has thanked: 1 time
Been thanked: 5 times

Re: [Hardware] is my raw printer able to print ?

#14 Post by brian_p »

mazda1 wrote: 2023-05-31 16:32 it definitely seems hopeless . The last try has failed with the same previous warning for SP_277NwX_db7690 : Printer cannot print with supplied options.

As I am quite happy with this printer when the printer driver is deprecated I'll just use the apt-mark tool .

many thanks for the help .
And thanks to you for your co-operation. You might want to consider upgrading to Debian 12 (bookworm) to get a more recent CUPS. Its release is only a few weeks away and it shouldn't bring too many surprises.
--
Brian.

Post Reply