Skip to content

Instantly share code, notes, and snippets.

@tyjak
Created June 26, 2020 18:31
Show Gist options
  • Save tyjak/422d68e17e4f6b11a9570255242e4346 to your computer and use it in GitHub Desktop.
Save tyjak/422d68e17e4f6b11a9570255242e4346 to your computer and use it in GitHub Desktop.
file
<?xml version="1.0" ?>
<!DOCTYPE service-group SYSTEM 'avahi-service.dtd'>
<service-group>
<name replace-wildcards="yes">AirPrint HL-2030 @ %h</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>URF=none</txt-record>
<txt-record>rp=printers/HL-2030</txt-record>
<txt-record>note=Brother HL-2030 series</txt-record>
<txt-record>product=(GPL Ghostscript)</txt-record>
<txt-record>printer-state=3</txt-record>
<txt-record>printer-type=0x801004</txt-record>
<txt-record>pdl=application/octet-stream,application/pdf,application/postscript,application/vnd.cups-raster,image/gif,image/jpeg,image/png,image/tiff,image/urf,text/html,text/plain,application/vnd.adobe-reader-postscript,application/vnd.cups-command</txt-record>
</service>
</service-group>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment