> From [EMAIL PROTECTED] Wed Aug  7 13:39:17 2002
> Date: Wed, 7 Aug 2002 15:39:10 -0500
> From: John Perkins <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: LPRng: passing arguments from ifhp to external programs
>
> On Mon, 5 Aug 2002 14:25:32 -0700 (PDT)
> Patrick Powell <[EMAIL PROTECTED]> wrote:
>
> > Ummm... well, it looks like it is:
> > 
> > called:
> > 
> > ifhp -Tmodel=hp5
> > 
> > Set:
> > 
> > waitend=|/var/tmp/testit -u this -t "\%s{model}"
> > 
> > And got executed:
> > 
> > /tmp/tmp/testing and pass -u this -t "hp5"
>
> Ok, I tried this:
>
> [ phaser5400 ]
> tc=hp4000_pcl
>
> appsocket
> sync=|/afs/.cs/s/lprng-3.8/common/sbin/new/check_printer_status.pl -m"\%s{model}" 
>-d"\%s{dev}"
> pagecount=|/afs/.cs/s/lprng-3.8/common/sbin/check_printer_pagecount.pl 
>-m"\%s{model}" -d"\%s{dev}" 
> waitend=|/afs/.cs/s/lprng-3.8/common/sbin/check_printer_waitend.pl -m "\%s{model}" 
>-d "\%s{dev}"
>
> Yet, when I try to run this way:
>
> thugbert(john): /s/lprng-3.8/sbin/filters/ifhp 
>-Tdev=laser1.cs.wisc.edu%9100,model=phaser5400,trace,config=/afs/.cs/s/lprng-3.8/etc/ifhp.conf-3.5.10
> < /s/gs/share/ghostscript/current/examples/escher.ps
> ifhp 15:32:43.154 [24040] main: using model 'phaser5400'
> ifhp 15:32:43.159 [24040] Check_pagecount: pagecount using 'pjl info pagecount'
> ifhp 15:32:43.160 [24040] Process_job: setting up printer
> ifhp 15:32:43.161 [24040] Do_sync: sync 
>'|/afs/.cs/s/lprng-3.8/common/sbin/new/check_printer_status.pl -m"\%s{model}" 
>-d"\%s{printer}"' and method not supported
>
> What's with this "and method not supported" error???
>
> ============================================================================
>    John Perkins                         |   University of Wisconsin-Madison
>    Associate Researcher                 |   Department of Computer Science
>    [EMAIL PROTECTED]             |   1210 W. Dayton St.
>    608-262-0438/608-262-9997 FAX  |   Madison, WI  53706-1685
> ============================================================================

You need a later version.  Here is what I get:

ifhp 17:18:28.056 [16712] main: using model 'phaser5400'
ifhp 17:18:28.064 [16712] Check_pagecount: pagecount using 'ps script'
ifhp 17:18:28.065 [16712] Process_job: setting up printer
ifhp 17:18:28.065 [16712] Do_sync: getting sync using 
'/afs/.cs/s/lprng-3.8/common/sbin/new/check_printer_status.pl -m"phaser5400" 
-d"10.0.0.14%9100"'
ifhp 17:18:28.065 [16712] Get_prog_status: started 'check_printer_status.pl'
ifhp 17:18:28.067 [16712] Get_prog_status: status process exited with 33, 'exit status 
33'


Umm... ok ok I don't have the scripts but you get the idea.

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