Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: lemay@epx.cis.umn.edu (Lawrence LeMay)
Subject: Re: HP 4SiMX with Mac, unix, OpenVMS LAN
Date: Wed, 27 Jul 1994 23:46:50 GMT	[thread overview]
Message-ID: <CtMHuC.KC@news.cis.umn.edu> (raw)
In-Reply-To: gurman-2707941132230001@barkochba.gsfc.nasa.gov

In article <gurman-2707941132230001@barkochba.gsfc.nasa.gov>,
Joseph B. Gurman <gurman@uvsp.gsfc.nasa.gov> wrote:
>    Hardware: HP 4SiMX with first-generation JetDirect interfaces (i.e.,
>no lpd support, only telnet stream)
>
>    Hosts supported: a few Macs, several OpenVMS VAX or AXP machines, and
>a slew of OSF/1 AXP workstations
>
>    How we print: from the Macs, direct via EtherTalk to the Ethernet
>interface; from all the other machines, via lpr/lpd to an lpd queue on an
>OpenVMS AXP server running UCX. (We hope to get the newer JetDirect card
>soon to allow direct lpd printing from all the IP nodes).
>
>    Problem: when printing from anything other than the Macs, when the
>printer is left in auto-emulation-recognize mode, the last page of the
>print job is delayed for some 10's of seconds of timeout(?) before
>printing, and some PostScript jobs (apparently those lacking the explicit
>EOF character the printer expects from PC hosts) never print, OR if the
>queue is configured with an explicit EOF at the end of every job, the
>printer ejects a blank page between every job, even if successive jobs are
>the same type (i.e. PostScript right after PostScript or ASCII [PCL] after
>ASCII).
>
>    Since we print a mix of PostScript and ASCII files, this is a major
>drag. Currently, while some users are printing out a large number of
>single-page PostScript files (plots), I have reset the printer to expect
>PostScript only, so ASCII jobs choke as PostScript errors. Clearly, this
>is not a viable, long-term solution.
>
>    Has anybody else on a unix platform for which HP does not supply
>filters (meaning other than HP and Sun) come up with a solution to this
>problem?
>
>    BTW, naturally, the printing from the Macs works perfectly, since it
>employs an HP-supplied driver.
>

The correct string to send at the end of a job is not EOF, but:

  <esc>%-12345X

where <esc> stands for an escape control code. Now, why would you want to 
buy new JetDirect cards when the old ones work just fine? Try using my
HP print driver program instead... I'll include the news posting I sent
out a couple weeks ago... So, either send that sequence i gave you, which
is called a UEL (Universal Exit Language), or use my driver program
which communicated bi-directionally with the printer and supports many 
of the printers features.

-Lawrence LeMay
lemay@epx.cis.umn.edu

==========================================================================

Several people have shown an interest in the printer driver program
I'm writing for the HP IV Si printer. I've released a very preliminary
alpha version (no doc. no man pages, no comments, etc...). If you 
would like to try it out, its available via anonymous ftp from:

	ftp.cs.umn.edu  in directory users/lemay

The program is written in C, and was made as generic as possible. I've
compiled it on Sun's, SGI's, and a CDC EPiX system.... Its designed 
to work as an IF filter for a unix printcap entry, but it works better
with the Adobe Transcript software. Printer Page accounting (using two
redundant methods) is included. 

The driver handles PCL, Postscript, PJL, and Text files (text is printed
as PCL with linefeeds as line terminators). 

One big limitation: This driver connects to the HP IV Si directly via
TCP/IP, and only via TCP/IP.... Other than that, I attempt to support most 
of the printer features. Let me know if you use the software, and if you 
have any suggestions for improvements. The driver would probably work with
any other HP 4 series printers with only minor changes if any, provided
they have ethernet connections. If you can test this program with other
HP 4 printers, let me know.

-Lawrence LeMay
lemay@epx.cis.umn.edu


  reply	other threads:[~1994-07-27 23:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-07-27 15:32 HP 4SiMX with Mac, unix, OpenVMS LAN Joseph B. Gurman
1994-07-27 23:46 ` Lawrence LeMay [this message]
1994-07-29  0:37   ` Joseph B. Gurman
1994-07-28  1:57 ` Greg Blumers
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox