SUMMARY: HPLJ-4MP & Postscript errors

From: David Mostardi (david@capmkt.com)
Date: Tue Nov 01 1994 - 01:49:54 CST


ORIGINAL QUERY:
---------------
I am printing to an H-P LaserJet 4MP from
a Sparc 10/41 running 4.1.3. I have configured
the serial port for RS-232 and made appropriate
menu entries on the 4MP. All my print jobs
come out OK, but right after every job comes
a page with the following (not very helpful) text:

        ERROR: undefined
        OFFENDING COMMAND: error
        STACK:

SOLUTION:
---------

The problem is caused by certain programs not terminating
the Postscript files properly (i.e. the PS interpreter has
not realized the job has ended).

Mark Lawrence pointed me to the Sep '94 edition of Dr. Dobb's Journal
(available via anonymous ftp to "ftp.mv.com://pub/ddj/1994.09/asc.zip").
This file is C code (use gcc to compile), and the resulting binary
gets used as an input filter in the /etc/printcap.
Works like a charm.

A cool feature of this code: the HP's tiny info panel will
display the host and name of the user while his job is being
printed. Very nice!

Thanks to:
Robert Sargent <sargent@orsun.saic.com>
Schwarze <Peter.Schwarze@oi54.kwu.siemens.de>
 "Monty B. Peffley" <peffley@indiana.nrlssc.navy.mil>
Ashish Desai <desai@eecs.uic.edu>
Jack Stewart <jack@CCSF.Caltech.EDU>
Timothy G Smith - Special Projects <tgsmith@Sun.COM>
rangern@CIRANO.UMontreal.CA (Normand Ranger)
tim@bullwinkle.access.com (Tim Wort)
Jeff Collyer <jeff@bundy.cnet-pnw.com>
Charles Mengel charles.mengel@lgi.com
Mark Lawrence mal@getech.leeds.ac.uk

-------------------------------------------------------------------
David Mostardi Email: david@capmkt.com
Network & Systems Administrator Phone: (510) 540-6400
Capital Market Technology, Inc. FAX: (510) 540-5505
1995 University Ave. #390, Berkeley CA 94704

  "You are in a twisty maze of sendmail.cf files, all different."



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