Skip to content

Instantly share code, notes, and snippets.

@silviucc
Last active April 2, 2020 13:02
Show Gist options
  • Save silviucc/9245fc3e9bb286717d97076eb9925857 to your computer and use it in GitHub Desktop.
Save silviucc/9245fc3e9bb286717d97076eb9925857 to your computer and use it in GitHub Desktop.
Avahi .service file for Brother DCP L2500D with double-sided printing enabled (see URF line)
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">AirPrint DCPL2500D @ %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=DM3</txt-record>
<txt-record>rp=printers/DCPL2500D</txt-record>
<txt-record>note=DCPL2500D</txt-record>
<txt-record>product=(GPL Ghostscript)</txt-record>
<txt-record>printer-state=3</txt-record>
<txt-record>printer-type=0x829014</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/tpog-ps,application/vnd.adobe-reader-postscript</txt-record>
</service>
</service-group>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment