From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcda7,f7269c227c80b5ac X-Google-Attributes: gidfcda7,public X-Google-Thread: f7344,f7269c227c80b5ac X-Google-Attributes: gidf7344,public X-Google-Thread: fa528,f7269c227c80b5ac X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-05-09 07:58:46 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!priapus.visi.com!news-out.visi.com!hermes.visi.com!news From: damercer@mmm.com (Dan Mercer) Newsgroups: comp.unix.tru64,comp.sys.hp.hpux,comp.os.vms Subject: Re: Capellas: Linux, Windows Will 'Eviscerate' Unix Date: 9 May 2002 14:39:05 GMT Organization: 3M Company Message-ID: References: <20020507160322.1bbf5726.hoendech@ecc.lu> <20020508160416.4d076561.hoendech@ecc.lu> <20020509001631.42734cd5.hoendech@ecc.lu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 1.0b.0 Xref: archiver1.google.com comp.unix.tru64:7559 comp.sys.hp.hpux:20660 comp.os.vms:77036 In article <20020509001631.42734cd5.hoendech@ecc.lu>, Stefaan A Eeckels writes: > On 8 May 2002 14:25:03 GMT > damercer@mmm.com (Dan Mercer) wrote: > >> In article <20020508160416.4d076561.hoendech@ecc.lu>, >> Stefaan A Eeckels writes: > >> > There are no binary configuration files in System V derived >> > systems. >> >> Although this is largely true, it is not completely true. While >> the BSD printing system (LPR) is entirely based on ASCII config files, >> regrettably the SysV system (LPD) is not. This makes it very difficult >> to work with or to duplicate to a mirror server. > > Did you check this? The configuration files are under /etc/lp, > and they're all text files. Only if the printers are connected to the LPT port. If you have network LPD or LPR printers, then the ASCII text files tell you very little. For instance I have a printer attached to my NT PC that I access via LPR. What files actually point to its location: $ find /var/spool/lp \ > /etc/lp \ > /usr/lib/lp > -follow \ > -type f \ > -exec grep -iq w09876 {} \; \ > -exec file {} \; /var/spool/lp/request/w09876/.sendingstatus: ascii text /var/spool/lp/pstatus: data /var/spool/lp/qstatus: data /var/spool/lp/default: ascii text /var/spool/lp/outputq: data The three files that control where the output is sent, pstatus qstatus amd outputq are all binaries. Their contents are constructed by the lpadmin command and only queryable by the lpstat command. I have never been able to figure out how to clone a configuration from one LPD system to another. -- Dan Mercer damercer@mmm.com Admittedly, one wouldn't edit Solaris's > filter.table for fun, but that doesn't make it a binary. > AIX has a "digested" version of /etc/qconfig aptly called > /etc/qconfig.bin, and that's indeed a pain, but then ACHES > is a pain generally. This is not a feature of LPD, but an > implemetation issue - and in addition, AIX isn't a SysV > derivative. > > I don't consider /usr/lib/lp the configuration files of LPD. > Opinions expressed herein are my own and may not represent those of my employer.