On Wed, 25 Oct 2000, Tom Ryan wrote:
> I have a LJ 4si printer that I used to have working under my
> system. Unfortuantely, it has broken (and been broken for some time) and I
> can't find the correct data..
>
> Here's my situation..
>
> I have windows clients sending postscript jobs to lprng.
>
> I have a ps_to_ljet4 script that looks like
>
> nice -19 /usr/bin/gs -sDEVICE=ljet4 -sPAPERSIZE=letter -sOutputFile=- -q
> -r600 -
>
> I seem to recall placing this program in a file in the spool directory of
> the printer and (maybe a com line or something??)
>
> once this was done, the system automatically converted the ps to pcl and
> the job printed fine.
>
> does this sound familiary to anyone?
If you put a #!/bin/sh at the beginning of the file containing this
command, and redirect the output to someplace like a log file or
/dev/null, it sounds very much like an input filter (if=/path/to/filter)
that would be in your printcap. Works fine if all jobs going to the
printer are postscript, but not so good if the user sends something else.
You can pick up a "magic" filter program, like magicfilter or apsfilter,
and it will catch not only postscript input, but also compressed
files, TeX, DVI, ....
Gord
Matter Realisations http://www.materialisations.com/
Gordon Haverland, B.Sc. M.Eng. President
101 9504 182 St. NW Edmonton, AB, CA T5T 3A7
780/481-8019 ghaverla @ freenet.edmonton.ab.ca
780/993-1274 (cell)
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------