I'm quite niew to LPRng so I don't know if this is possible.
I would like to have a printcap entry that simply puts the spool files
(cf* and df*) into a specific directory. Another program already running
will look for the cf* files and process the job itself.
My current printcap entry for spool-only dummy printer works (almost...)
myprinter:
:lp=/var/spool/myprinter
:sd=/var/spool/myprinter
(with spooling enabled and printing disabled)
# lpc status
Printer Printing Spooling Jobs Server Subserver Redirect
Status/(Debug)
myprinter@myhost disabled enabled 0 none none
As jobs are sent there are hfA* files created and not removed.
# ls -l /var/spool/myprinter
-rw------- 1 daemon daemon 0 Oct 12 14:45 acct
-rw------- 1 daemon daemon 65 Oct 12 14:50 control.myprinter
-rw------- 1 daemon daemon 349 Oct 16 10:18 hfA247
-rw------- 1 daemon daemon 371 Oct 16 10:19 hfA248
-rw------- 1 daemon daemon 372 Oct 16 09:42 hfA580
-rw------- 1 daemon daemon 366 Oct 16 13:09 hfA581
-rw------- 1 daemon daemon 365 Oct 16 13:09 hfA582
-rw------- 1 daemon daemon 365 Oct 16 13:09 hfA583
-rw------- 1 daemon daemon 365 Oct 16 13:09 hfA584
-rw------- 1 daemon daemon 366 Oct 16 13:39 hfA585
-rw------- 1 daemon daemon 365 Oct 16 13:59 hfA586
-rw------- 1 daemon daemon 366 Oct 16 13:59 hfA587
-rw------- 1 daemon daemon 0 Oct 12 14:45 log
-rw------- 1 daemon daemon 25 Oct 13 14:11 lpq.0
-rw------- 1 daemon daemon 94 Oct 12 18:54 lpq.1
-rw------- 1 daemon daemon 0 Oct 12 14:45 status
-rw------- 1 daemon daemon 0 Oct 12 14:45 status.myprinter
-rw------- 1 daemon daemon 0 Oct 16 13:59 myprinter
I don't care if LPRng thinks the jobs are unprinted (listed with lpq) or
if LPRng thinks the jobs are immediately printed.
I need a way to stop hfA* files from being created so I won't have to
monitor the filesystem usage.
Any suggestions would be great.
---------------------------------------------------------------------------
Mike Hurst Systems Support Specialist
[EMAIL PROTECTED] Engineering Computing
(519) 888-4567 ext.6146 University of Waterloo
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------