Summary: HP JetAdmin, printer filter, PCL, postscript

From: Detlev Habicht (habicht@ims.uni-hannover.de)
Date: Mon Jul 12 1999 - 09:48:42 CDT


Hi all,

this was my question:

  I am working with HP printerserver, HP JetAdmin und HP DeskJet printers
  with Solaris 2.5.1. This is working fine.

  But all the printers are only PCL printers and i want to use ghostscript
  to convert postscript files to PCL. Normally i can define filter, but
  the HP JetAdmin software is already based on a filter mechanism and
  i don't find the place, where i can put the ghostscript command.
  (I think, i need the HP JetAdmin software, because the printers
  are not direct connected at a host, they are connected via the printerserver.)

  So, where is the place to put a ghostscript command for converting
  PS to PCL in HPs JetAdmin software (or Suns printing software)?

I got two hints and this was the base for a (very easy) solution:

One hint was to look for the variable LPCAT in the spooler script
in /etc/lp/interfaces/model.orig. But HP don't use a LPCAT.
So i have installed a dumpplot printer via JetAdmin and found a very small
script in /etc/lp/interfaces/model.orig.

And here i found a cat command:

i=1
while [ $i -le $copies ]
do
        for file in $files
        do
                cat "$file" 2>&1
        done
        i=`expr $i + 1`
done

I change this:

i=1
while [ $i -le $copies ]
do
        for file in $files
        do
                /usr/local/bin/gs -q -dNOPAUSE -dSAFER -sDEVICE=djet500 -sPAPERSIZE=a4 -r300 -sOutputFile=- - "$file" 2>&1
        done
        i=`expr $i + 1`
done

And this works now.

Thanx to

David Evans <DJEVANS@au.oracle.com>
Jon LaBadie <jon@jgcomp.com>

Detlev

-- 
 Detlev  | Institut fuer Mikroelektronische Systeme, Uni Hannover
 Habicht | D-30167 Hannover +49 511 7624992 habicht@ims.uni-hannover.de
 --------+-------- Handy    +49 172 5415752 ---------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:23 CDT