AirPrint via OS X 10.6 verwenden

Ein sehr hilfreiches Howto findet sich unter rigsb.net.

Ich hab es wie folgt implementiert:

  1. Bestehenden Drucker im eigenen Netwerk freigeben
  2. Mittels Programm “Bonjour Browser” den eigenen Drucker und dessen Parameter raussuchen.
  3. Mittels TextWrangler den folgenden Text übernehmen und nach den Parametern unter 2. anpassen:
    dns-sd -R “AirPrinter @ admin24″ _ipp._tcp.,_universal . 631 txtvers=1 qtotal=1 rp=printers/WorkCentre_7425__9b_39_79_ ty=”Xerox WorkCentre 7425″ note=”Office” printer-state=3 printer-type=0x80B0FE Transparent=T Binary=T Fax=F Color=T Duplex=T Staple=F Copies=T Collate=T Punch=F pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/urf URF=W8,SRGB24,CP255,RS600,DM1
  4. Die Datei auf dem Desktop speichern als “airprint-hack.sh” (Optionen “Unix Shell Script” / Unicode UTF-8 / UnixLF)
  5. sudo chown root ~/Desktop/airprint-hack.sh
  6. sudo chmod 644 ~/Desktop/airprint-hack.sh
  7. sudo chmod +x ~/Desktop/airprint-hack.sh
  8. sudo cp ~/Desktop/airprint-hack.sh /Library/LaunchDaemons/airprint-hack.sh
  9. Mittels TextWrangler den folgenden Text übernehmen und nach den Parametern unter 2. anpassen:
  10. <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
            <key>Label</key>
            <string>local.mini.airprint-hack</string>
            <key>ProgramArguments</key>
            <array>
                    <string>/Library/LaunchDaemons/airprint-hack.sh</string>
            </array>
            <key>LowPriorityIO</key>
            <true/>
            <key>Nice</key>
            <integer>1</integer>
            <key>UserName</key>
            <string>root</string>
            <key>RunAtLoad</key>
            <true/>
            <key>Keeplive</key>
            <true/>
    </dict>
    </plist>
  11. Die Datei auf dem Desktop speichern als “local.mini.airprint-hack.plist” (Optionen “XML” / Unicode UTF-8 / ClassicMac Linefeeding)
  12. sudo chown root ~/Desktop/local.mini.airprint-hack.plist
  13. sudo chmod 644 ~/Desktop/local.mini.airprint-hack.plist
  14. sudo cp ~/Desktop/local.mini.airprint-hack.plist /Library/LaunchDaemons/local.mini.airprint-hack.plist
  15. sudo launchctl load /Library/LaunchDaemons/local.mini.airprint-hack.plist
Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s