Article View: comp.sys.sun
Article #7282HP printer prints out extra paper with bitmapped PC-NFS applications
From: Mary Rock
Date: Wed, 27 Mar 1991 21:35
Date: Wed, 27 Mar 1991 21:35
47 lines
2408 bytes
2408 bytes
We have an HP series II connected to the serial port of a Sun 3/50. All
of the users on the network use PC-NFS. The problem is that two extra
sheets of blank paper are printed out at the end of any Bitmapped MS/DOS
based application. I've tried sending an escape sequence ,that HP
suggested, that would cause the printer commands to be printed out.
Nothing that printed indicated a form feed or page eject. This wouldn't
be that big a problem if it weren't for the fact that the users generate
many one page jobs so for every page of printed material they get three
blank sheets ( 2 at the end and one at the beginning assumed to be a
banner) The following is our /etc/printcap entry:
hp1|hplj1|HP1 LaserJet:\
:lp=/dev/ttyb:\
:sd=/usr/sp/lpd/hp1:\
:br#19200:pw#80:\
:ms=-parity,-cstopb,clocal,cread,crtscts,ixon,-opost:\
:lf=/usr/adm/hp1-errs:\
:af=/usr/adm/hp1.acct:\
:sh:tr=\f:of=/usr/lib/hplaserjet:
This entry was given to use by a Sun Techie.
The filter indicated my the of=/usr/lib/hplaserjet is as follows:
#!/bin/csh -f
#
#@(#)hplaserjet 1.1 88/10/27 Sun Microsystems Inc 1988
#This is the output filter form used with HP LaserJet II
#It first resets the printer
#All it does is send the escape sequenct to the printer, so that:
# CR is mapped to CR
# LF is mapped to CR LF
# FF is mapped to CR FF
/usr/bin/echo '^[E'
/usr/bin/echo '^[&k2G'
/usr/bin/cat
if ($status == 0) then exit 0 else exit 1 endif
I've even commented out both the /usr/bin/echo commands and the 2 sheets
still come out. The DOS applications are set up so that they are sending
in raw mode to the sun server.
Any help that you can provide will be greatly appreciated.
Thanks,
Mary J. Rock
rock@ida.org
Technical Details
Message-ID:
<2212@brchh104.bnr.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: rock@ida.org (Mary Rock) Newsgroups: comp.sys.sun Subject: HP printer prints out extra paper with bitmapped PC-NFS applications Keywords: Formats Message-ID: <2212@brchh104.bnr.ca> Date: 27 Mar 91 21:35:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 47 Approved: Sun-Spots@rice.edu X-Original-Date: Tue, 26 Mar 91 15:43:09 EST X-Sun-Spots-Digest: Volume 10, Issue 55, message 14 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu