> From [EMAIL PROTECTED] Thu Dec 20 13:56:12 2001
> To: [EMAIL PROTECTED]
> Subject: LPRng: "null" converter in ifhp?
> Date: Thu, 20 Dec 2001 15:00:30 -0600
> From: John Perkins <[EMAIL PROTECTED]>
>
> There was some discussion at LISA 2001 about a "null" converter for ifhp--a 
> converter to catch any and all file types not covered under the explicit 
> conversion rules.  That way, when ifhp runs the GNU file utility and realized 
> it's dealing with a raw MS-Word document and has no rule to deal with that, a 
> ruleset exists to exit.  As of right now, such files will sit in the queue, 
> preventing other jobs from getting processed, for a long, long time.
>
> If anyone (Patrick?) has an ifhp.conf entry for this, please send it on.  
> Patrick was speculating at the LISA printing BOF that this may have been a 
> "null_converter", but I can find no reference to such a construct in the ifhp 
> source code (either 3.4.4, which we run here, or the latest 3.5.1 available 
> today).
>
> -- 
> ============================================================================
>    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 can do:

file_output_match = [
   *ps*         ps  \%s{ps_converter}
   *postscript* ps  \%s{ps_converter}
   *pjl*        pjl \%s{pjl_converter}
   *            msg  no_converter
]

ps_no_converter = %!PS-Adobe-3.0
  /Courier
  findfont 10 scalefont setfont
  72 500 moveto
  (No conversion available for type '\%s{file_output}') show
  showpage
 
no_converter = No conversion available for type '\%s{file_output}'

This will cause the appropriate string to be sent to STDOUT.

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