Zero Configuration

Printers

Leerdoelen

  • Zero Configuration Introductie printers

Waarom?

  • Stel ik ben een mobiel apparaat
  • Ik zit in een netwerk
  • Ik heb:
    • Een IP-adres
    • Een default gateway
    • DNS-server IP-adressen
  • Hoe vind ik een printer?

Zero-Configuration Networking

  • Automatische IP assignment
  • Automatische hostname assignment
  • Automatische locatie van netwerk diensten
    • DNS-SD
    • mDNS

DNS-SD

  • Uitbreiding in DNS
  • Speciale records voor de detectie van printers
# Browse domain
b._dns-sd._udp          PTR xmpl.com
# Legacy browse domain
lb._dns-sd._udp         PTR xmpl.com
# IPP records through dns-sd
_services._dns-sd._udp  PTR    _ipp._tcp.xmpl.com.
xmpl.com		PTR    _ipp._tcp.xmpl.com.

xmpl.com                PTR     PR01._ipp._tcp.xmpl.com.
_cups._sub              PTR     PR01._ipp._tcp.xmpl.com.
_universal._sub         PTR     PR01._ipp._tcp.xmpl.com.
PR01   TXT (
                "txtvers=1"
                "qtotal=1"
                "rp=ipp/PR01"
                "adminurl=ipp://ipp.xmpl.com.:631/ipp/PR01"
                "product=(hp LaserJet 4350)"
                "ty=HP LaserJet 4350"
                "note=2.201 (coffee corner 2nd floor)"
                "Priority=50"
                "pdl=application/postscript"
                "Transparent=F"
                "Binary=F"
                "TBCP=F"
                )
PR01   SRV 0 0 613	ipp.xmpl.com.

mDNS

  • mDNS - Multicast DNS
  • Resolving printers in lokaal netwerk
  • Zonder DNS

Client Oplossingen

Windows

  • mDNS: Windows 10 en hoger

MacOSX

  • AirPrint
    • Apple Propietary protocol
    • IPP
    • Bonjour mDNS/DNS-SD
  • CUPS

Linux

  • CUPS
  • Avahi mDNS/DNS-SD daemon

Samenvatting

  • We hebben gezien dat printen een complexe aangelegenheid is