Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: DNS Service Discovery: Printers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DNS Service Discovery: Printers



On Mar 23, 2007, at 8:42 PM, P. Douglas Reeder wrote:

I've read the Apple document on Bonjour Printing, and am aware of the many key-value pairs you can put in a TXT record. However, I've found nothing which indicates how you can put more than one pair in a BIND zone file.

You can put multiple keys per entry in BIND by using parentheses. Took me a while (and a few RFCs) to find that one out... =)


We use static DNS-SD for all our printing on campus. From looking at your entries, they look the same as ours except for the format of the TXT records.

I've attached three entries for a single printer on our campus below (named "Academy Dorm"). I have a script that generates the entries, and this is the direct output from that script, so it should load right into BIND. See if using them as a template works for you.

Also, it's been a while since I've set this up by hand, so I'm a little rusty on the details. I keep my "notes to self" online, and you're welcome to have a look:

http://web.suffieldacademy.org/ils/netadmin/docs/software/ printing/#toc7

Thanks,

Jason

============ 8< cut here 8< ============
_printer._tcp IN PTR Academy\032Dorm._printer._tcp

Academy\032Dorm._printer._tcp IN SRV 0 0 515 printer-academy-dorm-hp- laserjet-1320n.gear.suffieldacademy.org.

Academy\032Dorm._printer._tcp IN TXT (
"txtvers=1"
"Color=F"
"Duplex=F"
"adminurl=http://printer-academy-dorm-hp- laserjet-1320n.gear.suffieldacademy.org/"
"note=Academy Dorm Common Room"
"priority=30"
"product=(hp LaserJet 1320 series)"
"ty=HP LaserJet 1320n"
)
============ 8< cut here 8< ============


--
Jason Healy    |    email@hidden    |   http://www.logn.net/



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >DNS Service Discovery: Printers (From: "P. Douglas Reeder" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.