OpenPrinting / cups

OpenPrinting CUPS Sources
https://openprinting.github.io/cups
Apache License 2.0
1.09k stars 195 forks source link

Printer & Driver not listed in OpenPrinting website #637

Closed ravirajbasis closed 1 year ago

ravirajbasis commented 1 year ago

Hi

Trying to add printer in Unix(FreeBSD 12.x). My Printer Model (& its Driver) for Epson EcoTank Inkjet Printer L6460 is not listed in OpenPrinting web site.

Want driver for the printer!

Screenshot_2023-03-13_22-36-16

Error while adding printer in CUPS OpenPrinting can be found in screen shot attached to the request.

Thanks rraj

zdohnal commented 1 year ago

Hi,

your device doesn't need a driver - it supports AirPrint according your device's specification, so you can use the IPP Everywhere model in CUPS and make the printer working without an external driver.

AFAIK we don't mention such printers and its drivers on the OpenPrinting website, because they work with IPP Everywhere/Driverless model on Linux.

Actually, in case your distro has a working mDNS, mDNS/AirPrint is not disabled on your device and mDNS is not forbidden in your firewall, you don't have to install such a printer at all. Every main modern applications are able to pick up the printer by itself and print without installing the printer. If mDNS is not working for any reason, you can install the printer manually using its hostname/IP and IPP Everywhere or Driverless models.

But the error you get I'm concerned - can you reproduce it? Would you mind describing how did you get the error, enabling CUPS debug logs (by cupsctl LogLevel=debug2), reproducing it and attaching a file with logs? (usually /var/log/cups/error_log or put the journal log into a file).

@tillkamppeter it would be great if we mentioned this fact on https://openprinting.org/printers and https://openprinting.org/drivers - the fact we don't list printers which supports a driverless standards (AirPrint, IPP Everywhere, Wifi Direct, IPP over USB) because they work with IPP Everywhere/Driverless models, and mention IPP Everywhere and Driverless on Printer drivers pages as well? Do we have a github repo for the pages, so I can create a draft?

ravirajbasis commented 1 year ago

Hi

mdnsresponderposix is available. Firewall is already disabled.

Now i am able to add printer, but unable to print test page, see screenshot:

Screenshot_2023-03-15_21-29-44

While error_log is attached with the reply.

==================================================================================

EDIT: Don't paste large logs, attach it as a file - error_log.txt

==================================================================================

Thanks rraj

zdohnal commented 1 year ago

Thank you for the logs - unfortunately it doesn't contain the test page job. Can you reprint the test page (you probably need to enter cancel -a && cupsenable EPSON_L6460_Series) and attach error_log.txt file with the print job?

Otherwise the error says there is a filter error - I can't say in which one until I see the logs with the job.

Either way, the printer supports Airprint, so you don't have to add it at all - because you choosed LPD protocol and classic driver instead of IPP and IPP Everywhere.

ravirajbasis commented 1 year ago

Hi

error_log.txt is attached with the reply. error_log.txt

BTW how to enable ipp everywhere!

Thanks rraj

debiantriage commented 1 year ago

BTW how to enable ipp everywhere!

@ravirajbasis It doesn't need enabling. IPP is an integral part of CUPS and, as @zdohnal said, you have a printer that supports it too. What is your OS? Give the output of lpstat -l -e.

zdohnal commented 1 year ago

Regarding the current setup, from the logs:

D [15/Mar/2023:22:22:33 +0530] [Job 3] PID 44098 (/compat/linux/opt/epson-inkjet-printer-escpr2/cups/lib/filter/epson-escpr-wrapper2) crashed on signal 6.

The filter from your driver crashes, please contact the driver's support in case you want further help.

Regarding IPP Everywhere:

According to your device's user guide (chapter 'Printing documents using AirPrint' - although the manual mentions only Mac products, IPP Everywhere works on the same, so any device using IPP Everywhere is capable to work this way), it should suffice to put the printer into the same network as your device where you print from - of course it depends whether you've already changed the default configuration, then you will probably adjust more things. Ethernet or wireless does not matter on the contrary to the user guide, where they mention only WiFi (well, how many Mac products are actually connected by network cable...).

That's the most common use case for home users - I expect this is your use case as well to make this short, let me know if the setup has to be different.

You should verify whether everything is okay and running as should be by following the steps one by one:

  1. check whether your printer has IPP port opened - $ telnet 192.168.100.7 631 - if this doesn't work, check again your printer's settings and try to enable more options.
  2. check whether your printer follows the standards for getting printer capabilities - ipptool -tv ipp://192.168.100.7:631/ipp/print get-printer-attributes.test - this has to pass as well
  3. check whether you can see the printer on mDNS - f.e. use avahi-browse -avrt - there should be an entry containing your printer's IP:
   hostname = [<your_printer_hostname>.local]
   address = [192.168.100.7]
   port = [631]
  1. check whether your device can resolve mDNS hostname of your printer - required for auto-discovery - by pinging a mDNS hostname from the previous step - f.e. ping printer.local - if this doesn't work, contact your distro support or google how to enable mDNS on your OS (usually avahi-daemon has to be running and nss-mdns has to be installed)

If all those steps were ok, remove your old print queue (there is a chance that they can overlap) and check output of lpstat -l -e.

ravirajbasis commented 1 year ago

Hi

error_log.txt is attached with the reply. error_log.txt

BTW how to enable ipp everywhere!

Thanks rraj

BTW how to enable ipp everywhere!

@ravirajbasis It doesn't need enabling. IPP is an integral part of CUPS and, as @zdohnal said, you have a printer that supports it too. What is your OS? Give the output of lpstat -l -e.

Hi

My OS is FreeBSD Unix 12.x! Output of lpstat -l -e

root@localhost:~/Desktop # lpstat -l -e Epson-L6460 permanent ipp://localhost/printers/Epson-L6460 lpd://192.168.100.7:515/PASSTHRU EPSON_L6460_Series permanent ipp://localhost/printers/EPSON_L6460_Series lpd://192.168.100.7:515/PASSTHRU

Thanks rraj

ravirajbasis commented 1 year ago

Regarding the current setup, from the logs:

D [15/Mar/2023:22:22:33 +0530] [Job 3] PID 44098 (/compat/linux/opt/epson-inkjet-printer-escpr2/cups/lib/filter/epson-escpr-wrapper2) crashed on signal 6.

The filter from your driver crashes, please contact the driver's support in case you want further help.

Regarding IPP Everywhere:

According to your device's user guide (chapter 'Printing documents using AirPrint' - although the manual mentions only Mac products, IPP Everywhere works on the same, so any device using IPP Everywhere is capable to work this way), it should suffice to put the printer into the same network as your device where you print from - of course it depends whether you've already changed the default configuration, then you will probably adjust more things. Ethernet or wireless does not matter on the contrary to the user guide, where they mention only WiFi (well, how many Mac products are actually connected by network cable...).

That's the most common use case for home users - I expect this is your use case as well to make this short, let me know if the setup has to be different.

You should verify whether everything is okay and running as should be by following the steps one by one:

1. check whether your printer has IPP port opened - `$ telnet 192.168.100.7 631` - if this doesn't work, check again your printer's settings and try to enable more options.

2. check whether your printer follows the standards for getting printer capabilities - `ipptool -tv ipp://192.168.100.7:631/ipp/print get-printer-attributes.test` - this has to pass as well

3. check whether you can see the printer on mDNS - f.e. use `avahi-browse -avrt` - there should be an entry containing your printer's IP:
   hostname = [<your_printer_hostname>.local]
   address = [192.168.100.7]
   port = [631]
5. check whether your device can resolve mDNS hostname of your printer - required for auto-discovery - by pinging a mDNS hostname from the previous step - f.e. `ping printer.local` - if this doesn't work, contact your distro support or google how to enable mDNS on your OS (usually avahi-daemon has to be running and nss-mdns has to be installed)

If all those steps were ok, remove your old print queue (there is a chance that they can overlap) and check output of lpstat -l -e.

Hi

  1. root@localhost:~/Desktop # telnet 192.168.100.7 631 Trying 192.168.100.7... Connected to 192.168.100.7. Escape character is '^]'. Connection closed by foreign host.

  2. root@localhost:~/Desktop # ipptool -tv ipp://192.168.100.7:631/ipp/print get-printer-attributes.test ipptool: Command not found.

There was no point proceeding further!

BTW, did you miss step 4, or is it typo to lead to step 5?

Thanks rraj

debiantriage commented 1 year ago

My OS is FreeBSD Unix 12.x! Output of lpstat -l -e

root@localhost:~/Desktop # lpstat -l -e Epson-L6460 permanent ipp://localhost/printers/Epson-L6460 lpd://192.168.100.7:515/PASSTHRU EPSON_L6460_Series permanent ipp://localhost/printers/EPSON_L6460_Series lpd://192.168.100.7:515/PASSTHRU

I do not know anything about FreeBSD but I do know that your CUPS 2.4.2 should show a line iwith network on it in the output above.

What do you get for

avahi-browse -rt _ipp._tcp

You will have to discover the BSD package that avahi-browse is in.

zdohnal commented 1 year ago
2. root@localhost:~/Desktop # ipptool -tv ipp://192.168.100.7:631/ipp/print get-printer-attributes.test
   ipptool: Command not found.

There was no point proceeding further!

Please install a package which contains the command and try again (I wouldn't expect mentioning this fact is necessary) - I'm not FreeBSD user either, so you have to find out yourself, as Brian mentions.

BTW, did you miss step 4, or is it typo to lead to step 5?

Thanks - I was jumping between pages, and got to this issue later - actually there would be an additional instructions between 2 and 3, which is:

And in case your mDNS resolution doesn't work in step 5 (4. :) ) , probably a plugin for mDNS is missing - there is nss-mdns package in Fedora which gets installed with CUPS by default, Idk how freebsd maintainer solves this or how the package is called in freebsd. Installing the plugin should do the trick, unless there is a messup in /etc/nsswitch.conf - in that case I recommend to go to FreeBSD forums/support for help, because editing nsswitch.conf is quite system specific.

Thanks rraj

ravirajbasis commented 1 year ago

Hi

ipptool is available in https://github.com/istopwg/ippsample.

Facing error while install, raised a request there.

Thanks rraj

debiantriage commented 1 year ago

Looking at this manual page link it appears FreeBSD provides avahi-browse. How about using it to give

avahi-browse -rt _ipp._tcp
zdohnal commented 1 year ago

Hi

ipptool is available in https://github.com/istopwg/ippsample.

ipptool is part of CUPS project, I just don't know the name of FreeBSD package which ships the tool, since it seems it is not installed by default - it is cups-ipptools in Fedora, I'm not sure about FreeBSD.

EDIT: IIUC ipptool shipping is commented out in FreeBSD - https://www.freshports.org/print/cups/ . If you expand the pkg-plist, I see @comment bin/ipptool... it would be great if FreeBSD shipped the tool - please contact their CUPS maintainers to ship ipptool.

zdohnal commented 1 year ago

Either way, ipptool is used here as a verification tool in case something is not working - once you get your device in avahi-browse output and lpstat -e output, you're 99% fine.

ravirajbasis commented 1 year ago

Hi

Got ipptool!

Command output is as given below:

1) ipptool root@localhost:/ # ipptool -tv ipp://192.168.100.7:631/ipp/print get-printer-attributes.test ipptool: Unable to open "get-printer-attributes.test": No such file or directory

2) avahi-browse root@localhost:/ # avahi-browse -rt _ipp._tcp

3) lpstat root@localhost:/ # lpstat -l -e Epson-L6460 permanent ipp://localhost/printers/Epson-L6460 lpd://192.168.100.7:515/PASSTHRU Epson_L6460_freebsd network none ipps://Epson%20L6460%20%40%20freebsd._ipps._tcp.local/cups EPSON_L6460_Series permanent ipp://localhost/printers/EPSON_L6460_Series lpd://192.168.100.7:515/PASSTHRU EPSON_L6460_Series_freebsd network none ipps://EPSON%20L6460%20Series%20%40%20freebsd._ipps._tcp.local/cups

Thanks rraj

debiantriage commented 1 year ago

@ravirajbasis The avahi-browse output doesn't have any sign of the printer on the network. The two entries are for print queues set up locally and are shown as permanent in lpstat -l -e.

(BTW - why use the LPD protoco?)

ravirajbasis commented 1 year ago

@ravirajbasis The avahi-browse output doesn't have any sign of the printer on the network. The two entries are for print queues set up locally and are shown as permanent in lpstat -l -e.

(BTW - why use the LPD protoco?)

@debiantriage Did not get you. I am was able to add cups printer server from web login i.e. http://localhost:631.

How to proceed further?

Thanks rraj

zdohnal commented 1 year ago

You don't see the device with avahi-browse - do you have mDNS enabled in your firewall and on your printer? It can be hidden under AirPrint or Bonjour option as well.

ravirajbasis commented 1 year ago

You don't see the device with avahi-browse - do you have mDNS enabled in your firewall and on your printer? It can be hidden under AirPrint or Bonjour option as well.

Hi

Firewall is disabled. How to enable mDNS on the printer?

Thanks rraj

zdohnal commented 1 year ago

I don't know, I don't have your printer - you will have to go to the printer web ui (by using your browser - going to the printer's IP or hostname does the trick) or touchpad/console on the printer and look for the options mentioned above. Every manufacturer can call it differently in the UI and if you don't use English (or Czech, since I'm Czech :D ) on the printer, I will be totally lost :) .

ravirajbasis commented 1 year ago

I don't know, I don't have your printer - you will have to go to the printer web ui (by using your browser - going to the printer's IP or hostname does the trick) or touchpad/console on the printer and look for the options mentioned above. Every manufacturer can call it differently in the UI and if you don't use English (or Czech, since I'm Czech :D ) on the printer, I will be totally lost :) .

Hi

One clarification - Since i am able to print from MS Windows & mobile, does that mean mDNS is already enabled on the printer?

Thanks rraj

debiantriage commented 1 year ago

Being able to print from an Android or iPhoene implies the printer can be seen via mDNS.

ravirajbasis commented 1 year ago

Being able to print from an Android or iPhoene implies the printer can be seen via mDNS.

@debiantriage Then the issue must be with CUPS set-up in OS?

Thanks rraj

ravirajbasis commented 1 year ago

Hi

Unable to ping printer hostname from avahi-browse output:

root@localhost:~/Desktop # ping freebsd.local ping: cannot resolve freebsd.local: Unknown host

Thanks rraj

zdohnal commented 1 year ago

Hi

Got ipptool!

Command output is as given below:

1. ipptool
   root@localhost:/ # ipptool -tv ipp://192.168.100.7:631/ipp/print get-printer-attributes.test
   ipptool: Unable to open "get-printer-attributes.test": No such file or directory

Usually the get-printer-attributes.test is in /usr/share/cups/ipptool directory (at least in Fedora), where ipptool looks for the files. Your ipptool wasn't able to find it, so you will have to provide the full path to the file. The file should be installed together with the tool.

Hi

Unable to ping printer hostname from avahi-browse output:

root@localhost:~/Desktop # ping freebsd.local ping: cannot resolve freebsd.local: Unknown host

This means mDNS resolving does not work in FreeBSD... it can be due missing nss-mdns package or bad order in /etc/nsswitch.conf, but both are quite distro specific, so it would be great if you asked for help regarding this on your distro support.

Either way, if you can verify the printer with ipptool, you can still install the printer as driverless manually - mDNS is required for autodiscovery and autoinstallation, which is easy way how to use printers on desktops, but sometimes OSes don't recommend mDNS stack for CUPS or do not have mDNS ready configurations.

ravirajbasis commented 1 year ago

Hi

Ran ipptool with full path:

root@localhost:/# ipptool -tv ipp://192.168.100.7:631/ipp/compat/ubuntu/usr/share/cups/ipptool/print get-printer-attributes.test "/usr/share/cups/ipptool/get-printer-attributes.test": Get-Printer-Attributes: attributes-charset (charset) = utf-8 attributes-natural-language (naturalLanguage) = en printer-uri (uri) = ipp://192.168.100.7:631/ipp/compat/ubuntu/usr/share/cups/ipptool/print Get printer attributes using Get-Printer-Attributes [FAIL] RECEIVED: 0 bytes in response status-code = server-error-internal-error (No request sent.) IPP request failed with status server-error-internal-error (No request sent.)

Thanks rraj

zdohnal commented 1 year ago

Hi

Ran ipptool with full path:

root@localhost:/# ipptool -tv ipp://192.168.100.7:631/ipp/compat/ubuntu/usr/share/cups/ipptool/print get-printer-attributes.test

You've added a path to the URI, not to the .test file. Use the URI from your previous attempts - ipp://192.168.100.7:631/ipp/print - and only add the path to the last argument - /usr/share/cups/ipptool/get-printer-attributes.test.

ravirajbasis commented 1 year ago

Hi

Ipptool output:

root@localhost:/# ipptool -tv ipp://192.168.100.7:631/ipp/print /compat/ubuntu/usr/share/cups/ipptool/print get-printer-attributes.test ipptool: Unable to open test file /compat/ubuntu/usr/share/cups/ipptool/print - No such file or directory "/usr/share/cups/ipptool/get-printer-attributes.test": Get-Printer-Attributes: attributes-charset (charset) = utf-8 attributes-natural-language (naturalLanguage) = en printer-uri (uri) = ipp://192.168.100.7:631/ipp/print Get printer attributes using Get-Printer-Attributes [PASS] RECEIVED: 8895 bytes in response status-code = successful-ok (successful-ok) attributes-charset (charset) = utf-8 attributes-natural-language (naturalLanguage) = en copies-default (integer) = 1 copies-supported (rangeOfInteger) = 1-99 finishings-default (enum) = none finishings-supported (enum) = none sides-default (keyword) = one-sided sides-supported (1setOf keyword) = one-sided,two-sided-short-edge,two-sided-long-edge orientation-requested-default (enum) = portrait orientation-requested-supported (enum) = portrait media-default (keyword) = iso_a4_210x297mm media-supported (1setOf keyword) = iso_a4_210x297mm,na_index-4x6_4x6in,na_5x7_5x7in,na_govt-letter_8x10in,om_hivision_101.6x180.6mm,iso_a5_148x210mm,iso_a6_105x148mm,na_legal_8.5x14in,na_letter_8.5x11in,jis_b5_182x257mm,jis_b6_128x182mm,oe_photo-l_3.5x5in,jpn_hagaki_100x148mm,na_number-10_4.125x9.5in,iso_c6_114x162mm,iso_dl_110x220mm,na_index-5x8_5x8in,na_foolscap_8.5x13in,om_16k_195x270mm,om_indian-legal_215x345mm,custom_min_54x86mm,custom_max_215.9x1200mm printer-resolution-default (resolution) = 600x300dpi printer-resolution-supported (1setOf resolution) = 600x300dpi,600x1200dpi,4800x1200dpi,600dpi print-quality-default (enum) = normal print-quality-supported (1setOf enum) = normal,high output-bin-default (keyword) = top output-bin-supported (1setOf keyword) = top,bottom media-col-supported (1setOf keyword) = media-size,media-top-margin,media-left-margin,media-right-margin,media-bottom-margin,media-type,media-source media-col-default (collection) = {media-size={x-dimension=21000 y-dimension=29700} media-top-margin=300 media-left-margin=300 media-right-margin=300 media-bottom-margin=300 media-type=stationery media-source=main} print-color-mode-default (keyword) = auto print-color-mode-supported (1setOf keyword) = color,monochrome,auto-monochrome,process-monochrome,auto print-content-optimize-default (keyword) = auto print-content-optimize-supported (keyword) = auto print-scaling-default (keyword) = auto print-scaling-supported (1setOf keyword) = auto,auto-fit,fill,fit,none media-ready (keyword) = iso_a4_210x297mm media-col-ready (collection) = {media-size={x-dimension=21000 y-dimension=29700} media-top-margin=300 media-left-margin=300 media-right-margin=300 media-bottom-margin=300 media-type=stationery media-source=main} media-size-supported (1setOf collection) = {x-dimension=21000 y-dimension=29700},{x-dimension=10160 y-dimension=15240},{x-dimension=12700 y-dimension=17780},{x-dimension=20320 y-dimension=25400},{x-dimension=10160 y-dimension=18060},{x-dimension=14800 y-dimension=21000},{x-dimension=10500 y-dimension=14800},{x-dimension=21590 y-dimension=35560},{x-dimension=21590 y-dimension=27940},{x-dimension=18200 y-dimension=25700},{x-dimension=12800 y-dimension=18200},{x-dimension=8890 y-dimension=12700},{x-dimension=10000 y-dimension=14800},{x-dimension=10477 y-dimension=24130},{x-dimension=11400 y-dimension=16200},{x-dimension=11000 y-dimension=22000},{x-dimension=12700 y-dimension=20320},{x-dimension=21590 y-dimension=33020},{x-dimension=19500 y-dimension=27000},{x-dimension=21500 y-dimension=34500},{x-dimension=5400-21590 y-dimension=8600-120000} media-type-supported (1setOf keyword) = stationery,photographic-high-gloss,photographic,photographic-semi-gloss,photographic-glossy,photographic-matte,stationery-letterhead,stationery-coated,stationery-heavyweight,envelope media-source-supported (1setOf keyword) = auto,main,rear media-top-margin-supported (integer) = 300 media-left-margin-supported (integer) = 300 media-right-margin-supported (integer) = 300 media-bottom-margin-supported (integer) = 300 charset-configured (charset) = utf-8 charset-supported (charset) = utf-8 color-supported (boolean) = true compression-supported (1setOf keyword) = none,gzip document-format-default (mimeMediaType) = application/octet-stream document-format-supported (1setOf mimeMediaType) = application/octet-stream,image/pwg-raster,image/urf,image/jpeg,application/vnd.epson.escpr generated-natural-language-supported (naturalLanguage) = en ipp-versions-supported (1setOf keyword) = 1.0,1.1,2.0 natural-language-configured (naturalLanguage) = en operations-supported (1setOf enum) = Print-Job,Validate-Job,Create-Job,Send-Document,Cancel-Job,Get-Job-Attributes,Get-Jobs,Get-Printer-Attributes,Close-Job,Identify-Printer pages-per-minute (integer) = 13 pages-per-minute-color (integer) = 7 pdl-override-supported (keyword) = attempted printer-alert (octetString) = code=other printer-alert-description (textWithoutLanguage) = idle printer-device-id (textWithoutLanguage) = MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR7,END4,GENEP,PWGRaster,URF;MDL:L6460 Series;CLS:PRINTER;DES:EPSON L6460 Series;CID:EpsonRGB;FID:FXN,DPA,WFA,ETA,AFA,DAN,WRA;RID:50;DDS:022500;ELG:1261;SN:583934563031343090;URF:CP1,PQ4-5,OB1-3,OFU3,RS300,SRGB24,W8,DM3,IS1-18,V1.4,MT1-3-6-8-10-11-12; printer-info (textWithoutLanguage) = EPSON L6460 Series printer-is-accepting-jobs (boolean) = true printer-location (textWithoutLanguage) = printer-make-and-model (textWithoutLanguage) = EPSON L6460 Series printer-more-info (uri) = http://192.168.100.7:80/PRESENTATION/BONJOUR printer-name (nameWithoutLanguage) = ipp/print printer-state (enum) = idle printer-state-reasons (keyword) = none printer-up-time (integer) = 7968 printer-uri-supported (1setOf uri) = ipps://192.168.100.7:631/ipp/print,ipp://192.168.100.7:631/ipp/print queued-job-count (integer) = 0 uri-security-supported (1setOf keyword) = tls,none uri-authentication-supported (1setOf keyword) = none,none printer-geo-location (unknown) = unknown identify-actions-default (keyword) = flash identify-actions-supported (1setOf keyword) = flash,sound jpeg-k-octets-supported (rangeOfInteger) = 0-16384 jpeg-x-dimension-supported (rangeOfInteger) = 0-15000 jpeg-y-dimension-supported (rangeOfInteger) = 1-15000 pdf-versions-supported (keyword) = none urf-supported (1setOf keyword) = CP1,PQ4-5,OB1-3,OFU3,RS300,SRGB24,W8,DM3,IS1-18,V1.4,MT1-3-6-8-10-11-12 job-creation-attributes-supported (1setOf keyword) = copies,finishings,ipp-attribute-fidelity,job-name,media,media-col,orientation-requested,output-bin,print-quality,printer-resolution,sides,print-color-mode,print-content-optimize,print-scaling,job-mandatory-attributes marker-names (1setOf nameWithoutLanguage) = Black ink,Cyan ink,Magenta ink,Yellow ink marker-colors (1setOf nameWithoutLanguage) = #000000,#00FFFF,#FF00FF,#FFFF00 marker-types (1setOf keyword) = ink,ink,ink,ink marker-low-levels (1setOf integer) = 15,15,15,15 marker-high-levels (1setOf integer) = 100,100,100,100 marker-levels (1setOf integer) = 71,80,80,80 printer-icons (1setOf uri) = https://192.168.100.7:443/PRESENTATION/AIRPRINT/PRINTER_128.PNG,https://192.168.100.7:443/PRESENTATION/AIRPRINT/PRINTER_512.PNG landscape-orientation-requested-preferred (enum) = 5 printer-uuid (uri) = urn:uuid:cfe92100-67c4-11d4-a45f-e0bb9efd759e printer-dns-sd-name (nameWithoutLanguage) = EPSON L6460 Series printer-supply-info-uri (uri) = http://192.168.100.7:80/PRESENTATION/HTML/TOP/PRTINFO.HTML multiple-document-jobs-supported (boolean) = false multiple-operation-time-out (integer) = 120 ipp-features-supported (1setOf keyword) = wfds-print-1.0,airprint-1.8 printer-kind (1setOf keyword) = document,envelope,photo pwg-raster-document-type-supported (1setOf keyword) = sgray_8,srgb_8 pwg-raster-document-resolution-supported (1setOf resolution) = 300dpi,600dpi pwg-raster-document-sheet-back (keyword) = rotated mopria-certified (textWithoutLanguage) = 2.0 printer-firmware-name (nameWithoutLanguage) = Firmware printer-firmware-string-version (textWithoutLanguage) = 02.12.WY27M5 printer-firmware-version (octetString) = 000002120000M5270000000000000000 printer-input-tray (1setOf octetString) = type=other;dimunit=micrometers;mediafeed=297000;mediaxfeed=210000;maxcapacity=-2;level=-2;status=0;name=Sheet\ feeder\ bin\ 1;,type=sheetFeedAutoNonRemovableTray;dimunit=micrometers;mediafeed=297000;mediaxfeed=210000;maxcapacity=-2;level=-2;status=0;name=Sheet\ feeder\ bin\ 1;,type=sheetFeedManual;dimunit=micrometers;mediafeed=-2;mediaxfeed=-2;maxcapacity=-2;level=-2;status=0;name=Manual\ feed\ Rear; printer-output-tray (1setOf octetString) = type=unRemovableBin;maxcapacity=100;remaining=-3;status=0;name=Face-down\ Tray;stackingorder=firstToLast;pagedelivery=faceDown;,type=unRemovableBin;maxcapacity=30;remaining=-3;status=0;name=Face-up\ Tray;stackingorder=lastToFirst;pagedelivery=faceUp; which-jobs-supported (1setOf keyword) = completed,not-completed document-format-preferred (mimeMediaType) = image/urf multiple-operation-time-out-action (keyword) = abort-job printer-get-attributes-supported (keyword) = document-format document-format-varying-attributes (1setOf keyword) = copies,sides printer-organization (textWithoutLanguage) = printer-organizational-unit (textWithoutLanguage) = printer-strings-languages-supported (1setOf naturalLanguage) = en,fr,de,it,es,pt,nl,ru,no,sv,fi,pl,cs,hu,da,tr,el,sk,ro,uk,ar,zh-tw,zh-cn,ko printer-strings-uri (uri) = http://192.168.100.7:80/LANGUAGES/IPP?LANG=en printer-current-time (no-value) = no-value printer-config-change-date-time (no-value) = no-value printer-config-change-time (integer) = 22 printer-state-change-date-time (no-value) = no-value printer-state-change-time (integer) = 1575 jpeg-features-supported (keyword) = none

Thanks rraj

zdohnal commented 1 year ago

Ok, the printer uspports IPP Everywhere, so then:

$ lpadmin -p <choose_the_name> -v ipp://192.168.100.7:631/ipp/print -m everywhere -E

where is the name you can choose for the printer.

Ideally you don't have to do this, if your OS has mDNS support set.