From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,b22922f99ab48a18 X-Google-Attributes: gidf7344,public X-Google-Thread: 104d8a,b22922f99ab48a18 X-Google-Attributes: gid104d8a,public X-Google-Thread: fee84,b22922f99ab48a18 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-07-27 18:01:47 PST Newsgroups: comp.periphs.printers,comp.os.vms,comp.unix.osf.osf1 Path: bga.com!news.sprintlink.net!hookup!news.kei.com!yeshua.marcam.com!zip.eecs.umich.edu!umn.edu!epx.cis.umn.edu!lemay From: lemay@epx.cis.umn.edu (Lawrence LeMay) Subject: Re: HP 4SiMX with Mac, unix, OpenVMS LAN Message-ID: Sender: news@news.cis.umn.edu (Usenet News Administration) Nntp-Posting-Host: epx.cis.umn.edu Organization: University of Minnesota References: Distribution: inet Date: Wed, 27 Jul 1994 23:46:50 GMT Xref: bga.com comp.periphs.printers:4886 comp.os.vms:14209 comp.unix.osf.osf1:2741 In article , Joseph B. Gurman 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: %-12345X where 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