Discussion:
Bonjour Printing and DNS-SD records
Hugo Monteiro
2010-07-26 16:42:53 UTC
Permalink
Hello list,

Some time ago I posted to the list with the subject "unescaped double
quotes in TXT record".
Just to let know that i cooked up a small perl script the other day to
create such tinydns records. I shamelessly borrowed code from Anders
Brownworth's buildRecord.cgi script.

There's a strong probability that it contains bugs, but for the use i
gave it, it worked.

I should only notice that sometimes specifying the Product attribute
present in the PPD file doesn't work. However, following the Bonjour
Printing specification, if you choose to use the generic MFG+MDL
(manufacturer + model) records, it should work flawlessly.

Attached goes the script. Bug reports, suggestions, etc are welcomed.

Regards,

Hugo Monteiro.
--
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email : ***@fct.unl.pt
Telefone : +351 212948300 Ext.15307
Web : http://hmonteiro.net

Divisão de Informática
Faculdade de Ciências e Tecnologia da
Universidade Nova de Lisboa
Quinta da Torre 2829-516 Caparica Portugal
Telefone: +351 212948596 Fax: +351 212948548
www.fct.unl.pt ***@fct.unl.pt

fct.unl.pt:~# _
Loading...