Created
April 18, 2022 23:56
-
-
Save ziggythehamster/3741f38fb7ffcab60b5b4543308131a6 to your computer and use it in GitHub Desktop.
LaserJet 2100 on CUPS with AirPrint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(on FreeBSD 12.2-RELEASE) | |
AirPrint-HP_LaserJet_2100.service -> /usr/local/etc/avahi/services/AirPrint-HP_LaserJet_2100.service | |
printers.conf -> /usr/local/etc/cups/printers.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" ?> | |
<!DOCTYPE service-group SYSTEM 'avahi-service.dtd'> | |
<service-group> | |
<name replace-wildcards="yes">HP LaserJet 2100</name> | |
<service> | |
<type>_ipp._tcp</type> | |
<subtype>_universal._sub._ipp._tcp</subtype> | |
<port>631</port> | |
<txt-record>txtvers=1</txt-record> | |
<txt-record>qtotal=1</txt-record> | |
<txt-record>Transparent=T</txt-record> | |
<txt-record>Duplex=F</txt-record> | |
<txt-record>Copies=F</txt-record> | |
<txt-record>Scan=F</txt-record> | |
<txt-record>Fax=F</txt-record> | |
<txt-record>kind=document</txt-record> | |
<txt-record>TBCP=F</txt-record> | |
<txt-record>ty=HP LaserJet 2100</txt-record> | |
<txt-record>URF=none</txt-record> | |
<txt-record>rp=printers/HP_LaserJet_2100</txt-record> | |
<txt-record>note=Keith's Office</txt-record> | |
<txt-record>product=(GPL Ghostscript)</txt-record> | |
<txt-record>printer-state=3</txt-record> | |
<txt-record>printer-type=0x82b014</txt-record> | |
<txt-record> | |
pdl=application/octet-stream,application/pdf,application/postscript,application/vnd.cups-pdf,application/vnd.cups-raster,image/gif,image/jpeg,image/png,image/tiff,image/urf,text/html,text/plain,application/vnd.adobe-reader-postscript | |
</txt-record> | |
</service> | |
</service-group> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Printer configuration file for CUPS v2.3.3 | |
# Written by cupsd on 2022-03-08 17:05 | |
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING | |
NextPrinterId 3 | |
<DefaultPrinter HP_LaserJet_2100> | |
PrinterId 2 | |
UUID urn:uuid:ba76f5fb-884f-372d-4f14-2ee28ca084a8 | |
Info HP LaserJet 2100 | |
Location Keith's Office | |
MakeModel HP LaserJet 2100 Foomatic/pxlmono (recommended) | |
DeviceURI socket://laserjet2100tn.lan:9100 | |
State Idle | |
StateTime 1646787938 | |
ConfigTime 1634588535 | |
Type 8433684 | |
Accepting Yes | |
Shared Yes | |
JobSheets none none | |
QuotaPeriod 0 | |
PageLimit 0 | |
KLimit 0 | |
OpPolicy default | |
ErrorPolicy abort-job | |
Attribute marker-colors none | |
Attribute marker-levels -1 | |
Attribute marker-names Toner Cartridge | |
Attribute marker-types toner | |
Attribute marker-change-time 1646787938 | |
</DefaultPrinter> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment