I already mailed the following report to Patrick
directly but perhaps it would be beneficial to
have it appear on the list.

-walter




> >  I also notice
> > that -R doesn't get put into the control file. I have
> > the impression that I need to create a filter that will manipulate
> > the control file prior to sending it to lpd?
> >

Patrick responds:

> h110: {401} % lpc stop
> Printer: t1@h110
> [EMAIL PROTECTED]: stopped
> h110: {402} % lpr -Rtst /tmp/hi
> h110: {403} % cat /var/tmp/LPD/t1/cfA4
> cfA478h110.private  cfA489h110.private
> h110: {403} % cat /var/tmp/LPD/t1/cfA489h110.private
> Apapowell@h110+489
> CA
> D2002-03-04-17:04:55.472
> Hh110.private
> J/tmp/hi
> Lpapowell
> Ppapowell
> Qt1
> Rtst                        <----- '-R' is there???
> Zlandscape,landscape
> N/tmp/hi
> fdfA489h110.private
> UdfA489h110.private


My counterpoint:

Hmm. I don't get this. If I do lpc stop ljp_3016 and send a job:

On a Redhat7.1 system:

 lpr -V -RSoft600 -Z1d deformation.ps
 LPRng-3.7.4, Kerberos5, Copyright 1988-2000 Patrick Powell,
 <[EMAIL PROTECTED]>
 sending job 'wtautz@csgraphlab01+41' to ljp_3016@localhost
 connecting to 'localhost', attempt 1
 connected to 'localhost'
 requesting printer ljp_3016@localhost
 sending control file 'cfA041csgraphlab01' to ljp_3016@localhost
 completed sending 'cfA041csgraphlab01' to ljp_3016@localhost
 sending data file 'dfA041csgraphlab01' to ljp_3016@localhost
 completed sending 'dfA041csgraphlab01' to ljp_3016@localhost
 done job 'wtautz@csgraphlab01+41' transfer to ljp_3016@localhost


 [root@csgraphlab01 ljp_3016]# cat cfA041csgraphlab01.math.uwaterloo.ca 
 Awtautz@csgraphlab01+41
 Ccsgraphlab01
 Hcsgraphlab01.math.uwaterloo.ca
 Jdeformation.ps
 Lwtautz
 Pwtautz
 Qljp_3016
 fdfA041csgraphlab01.math.uwaterloo.ca
 Ndeformation.ps
 UdfA041csgraphlab01.math.uwaterloo.ca

here is my printcap entry:

ljp_3016|ps_mfcf|psm|ljm|lp2up_mfcf|lp2up|2up|lp_mfcf|lpm|l|lp:\
        :sd=/var/spool/lpd/ljp_3016:\
                :mx#0:\
                :rm=print.math:\
                :rp=ljp_3016:\
                :bk=true:\
                :nline_after_file=true:\
                :lpd_bounce=true:\



I also compiled the latest version 3.8.8 on sun box and could not get it 
put the entries in either. I did run it with -D option and the options
are recognized, just not being put into the control file. Perhaps the 
printcap entry I am using is causing a problem.


Here is Makefile setup I used:


PACKAGEDIR=/software/$(PACKAGE)
SERVERS=$(PACKAGEDIR)/servers
MAINTENANCE=$(PACKAGEDIR)/maintenance
DATA=$(PACKAGEDIR)/data
DOC=$(PACKAGEDIR)/doc
MAN=$(PACKAGEDIR)/man
CONFIG=$(PACKAGEDIR)/config


/* $(UNPACKED_DIR)/XHIER_CONFIGURED: $(UNPACKED_DIR)/XHIER_PATCHES */
$(UNPACKED_DIR)/XHIER_CONFIGURED: $(UNPACKED_DIR)/XHIER_UNPACKED
        cd $(UNPACKED_DIR) \
        && CC=/software/gcc-3.0.3/bin/gcc ./configure \
      --prefix=$(PACKAGEDIR) \
      --bindir=$(PACKAGEDIR)/bin \
      --sbindir=$(SERVERS)  \
      --libexecdir=$(SERVERS) /* the filters are installed here */ \
          --datadir=$(DATA) \
      --sysconfdir=$(CONFIG) \
          --mandir=$(MAN) \
          --with-unix_socket_path=$(PACKAGEDIR)/logs/socket /* a socket file */ \
      /* --disable-setuid */       \
     /* --enable-priv_ports    */ \
      /* --disable-force_localhost */ \
      --disable-require_configfiles \
      --with-printcap_path=$(DATA)/printcap /* the file goes here */ \
      --with-lpd_printcap_path=$(DATA)/lpd_printcap /* the file goes here */ \
      --with-lockfile=$(PACKAGEDIR)/logs/lpd /* file location */ \
      /* --with-filter_path=PATH           filter PATH value */ \
      --with-userid=daemon   /* run LPRng software as this userid, default daemon */ \
      --with-groupid=daemon  /* run LPRng software as this groupid, default daemon */ \
      --with-filterdir=$(SERVERS) /*filter directory (default ${libexecdir}/filters) 
*/ \
      && touch XHIER_CONFIGURED






-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to