> From [EMAIL PROTECTED] Wed Dec 19 15:28:21 2001
> Date: Wed, 19 Dec 2001 14:31:37 -0800 (PST)
> From: Phil Moses <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: ifhp and OSX and slow filters
>
> Possibly someone can shed some light on this subject.
>
> When printing from OSX to lprng server (solaris 7) some files take an
> extremely long time to process. Following is an example, it will print
> given enough time but something is not right, and I only see this pattern
> when sending *some* jobs from OSX.
>
> What I am looking at is "bad data file format 'o'
>
> printing job 'ksmith@mac-support+1' at 2001-12-18-14:25:39.049 ##
> A=ksmith@mac-support+1 number=1 process=21738
> bad data file format 'o', using 'if' filter at 2001-12-18-14:25:39.049 ##
> A=ksmith@mac-support+1 number=1 process=21738
> processing 'dfA001mac-support.ucsd.edu', size 2499559, format 'o', IF
> filter 'ifhp' at 2001-12-18-14:25:39.050 ## A=ksmith@mac-support+1
> number=1 process=21738
>
> printcap :
> lp7|Phaser Mayer Hall Lab:\
> :lp=192.168.0.2%9100:\
> :ifhp=model=phaser850, appsocket dev=192.168.0.2%9100:\
> :sd=/var/spool/lpd/%P:\
> :as=|/usr/local/etc/accounting.pl start:\
> :ae=|/usr/local/etc/accounting.pl end:\
> :if=/usr/local/libexec/filters/ifhp:\
> :af=/var/spool/lpd/lp7/acct:
>
> Thanks,
>
> Phil

The first problem is that 'o' format was supposed to be reserved
for the 'of' filter.  The system that is sending the job is requesting
an 'o' filter.  Of course, the LPRng system is robust,  holds its
electronic nose,  and sends it to the if filter.  So it will get
processed.  

Also, you need to use :lp=/dev/null with the appsocket options:
Try the following:

lp7|Phaser Mayer Hall Lab:\
 :lp=/dev/null:\
 :ifhp=model=phaser850,appsocket,dev=192.168.0.2%9100:\
 :sd=/var/spool/lpd/%P:\
 :as=|/usr/local/etc/accounting.pl start:\
 :ae=|/usr/local/etc/accounting.pl end:\
 :filter=/usr/local/libexec/filters/ifhp:\
 :af=acct:


Patrick Powell                 Astart Technologies,
[EMAIL PROTECTED]            9475 Chesapeake Drive, Suite D,
Network and System             San Diego, CA 92123
  Consulting                   858-874-6543 FAX 858-279-8424 
LPRng - Print Spooler (http://www.lprng.com)

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