Take a look at the LPRngh HOWTO. There is a fairly complete discussion of the format of this file.
WARNING: If you plan to use the DHCP server to provide a configuration file, then you should get HP to provide a template file, specific to your printer and firmware. Patrick Powell Astart Technologies [EMAIL PROTECTED] 6741 Convoy Court Network and System San Diego, CA 92111 Consulting 858-874-6543 FAX 858-751-2435 LPRng - Print Spooler (http://www.lprng.com) > From [EMAIL PROTECTED] Fri Jul 18 07:56:26 2003 > Date: Fri, 18 Jul 2003 15:46:04 +0200 > To: [EMAIL PROTECTED] > Subject: Re: LPRng: printer configs via solaris dhcp and tftp > From: Ralph Roessner <[EMAIL PROTECTED]> > > Hi! > > On Thu, Jul 17, 2003 at 04:32:40PM -0400, > Knape, Dean wrote: > > Sorry this is not lprng specific but I figure you are a great bunch of people to > > ask. > > > > Is anyone using Solaris 8 dhcp to serve up what's needed for printers to get their > > configs from a tftp server? > > Our setup is somewhat different (our printers speak BOOTP to an ISC dhcpd > instead of DHCP to a Solaris dhcpd) but I expect the resulting differences > are minor ones. Also, we are only booting HP printers this way. > > The only two things our printers want to know are which file to get from > what server. The server is taken from the usual "next server" entry, > defaulting to the machine the boot reply came from. The file name is taken > from a "vendor extension" field a.k.a. "DHCP option" in DHCP speak. You will > have to determine which "option code" the printer expects; for HP printers > this code is 144. So add an option with code 144 and the config file name > (relative to the tftpd root dir) as value to your dhcp entry, and you should > be fine. > > > > > We currently only have HP printers to support so I could use HP provided utils, > > ie. Jetdirect installer for Solaris. I am just afraid that that might limit us if > > we have to support Xerox printers, for example, in the future. > > This is somewhat outdated information because we abandoned the HP network > printing tools some years ago but I would recommend caution when dealing > with HP manufactured printing related software for Solaris. The installation > routines used to "improve" our system configuration so HP supplied (and > thoroughly lobotomized) daemons were started instead of their Solaris > counterparts and the like. Since HP printers network boot fine from standard > software we decided that HP software was not worth the pain of fixing our > /etc directory after every installation. > > Of course, if you use printers from a different manufacturer, you may have > to do a test installation of whatever software they provide, just to see how > they do these things and to incorporate the information into your dhcpd > configuration. > > Hope this helps a little, > Ralph R��ner > > -- > Ralph R��ner TU Darmstadt > EMail: [EMAIL PROTECTED] FB Informatik > > ----------------------------------------------------------------------------- > YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST > The address you post from MUST be your subscription address > > If you need help, send email to [EMAIL PROTECTED] (or lprng-requests > or lprng-digest-requests) with the word 'help' in the body. For the impatient, > to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] > with: | example: > subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] > unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] > > If you have major problems, send email to [EMAIL PROTECTED] with the word > LPRNGLIST in the SUBJECT line. > ----------------------------------------------------------------------------- > ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
