* Help! HP laserjet 4 forms control
@ 1995-01-06 13:37 William Zandrew
1995-01-06 16:24 ` Oren Popper
0 siblings, 1 reply; 4+ messages in thread
From: William Zandrew @ 1995-01-06 13:37 UTC (permalink / raw)
Help! I have an inconsiderate user who thinks I have nothing better to
do than mess with his printer queue.
He has a laserjet 4 that he wants to send to control through a form.
In particular he wants to be able to do landscape and direct the print to
one paper bin or the other. If anyone has done this could the PLEASE
give me a few hints on where to look.
I have an impression that it can be done using forms, but did not see any
specifics in any manuals. I don't really have time for trial and error.
I would really appreciate any help you can give.
BIll
P.S. Is there a better newsgroup that I should be sending this to?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Help! HP laserjet 4 forms control
1995-01-06 13:37 William Zandrew
@ 1995-01-06 16:24 ` Oren Popper
0 siblings, 0 replies; 4+ messages in thread
From: Oren Popper @ 1995-01-06 16:24 UTC (permalink / raw)
William Zandrew (zbytes@flowbee.interaccess.com) wrote:
: Help! I have an inconsiderate user who thinks I have nothing better to
: do than mess with his printer queue.
: He has a laserjet 4 that he wants to send to control through a form.
: In particular he wants to be able to do landscape and direct the print to
: one paper bin or the other. If anyone has done this could the PLEASE
: give me a few hints on where to look.
: I have an impression that it can be done using forms, but did not see any
: specifics in any manuals. I don't really have time for trial and error.
I have done a similar thing (only controling fonts) using forms. The way
to do it is set up a text library which contains the various setup
strings for the printer, assign that library to the que, and create forms
with the /SETUP= parameter which will call the various setup strings from
the library.
Beware however, you might experience a multitude of blank pages between
jobs when using this, the sollution to this is 1) use <esc>P in front of
every HP escape sequence and <esc>\ following the PCL escape sequence.
2) Setup the que with /RESET=(RESET) and setup a reset string in you
library.
You can find (that's where I did) this information (as well as the
strings to be used and a procedure to create the library) in the
Compuserve VAX forum.
Oren
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Help! HP laserjet 4 forms control
@ 1995-01-07 0:55 Kenneth G. Hamilton
0 siblings, 0 replies; 4+ messages in thread
From: Kenneth G. Hamilton @ 1995-01-07 0:55 UTC (permalink / raw)
Some of the things, such as switching from portrait to landscape
and back, can be activated by escape sequences on older HPLJs.
I've done this with LJ II and LJ IIIsi units, and I would guess
that HP has maintained the capability for backwards compatibility.
There are lists of escape codes in an appendix to the user's
guide, and it tells you how to go about switching to different
hardwired fonts and other cute features.
Good luck.
--
- Kenneth G. Hamilton
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Help! HP laserjet 4 forms control
[not found] <199501102036.OAA18346@flowbee.interaccess.com>
@ 1995-01-10 21:02 ` Oren Popper
0 siblings, 0 replies; 4+ messages in thread
From: Oren Popper @ 1995-01-10 21:02 UTC (permalink / raw)
On Tue, 10 Jan 1995, William Zandrew wrote:
>
> Thanks for the info. I appreciate it. Now all I have to do is get
> connected to compuserve. I take it I can't just telnet over there.
>
You could telnet to cis.com but you have to have an account with them in
order to be able to access compuserve.
I have found the file I have downloaded and am enclosing it here for
those who do not have Compuserve accounts.
Oren.
P.S. You don't have to use everything in the file, some of the commands
are not necessary if you have the printer set to the default.
------------------------------------------------------------------------------
Blank Page Problem on HP Laserjet Printers.
TO ANYONE TRYING TO SETUP AN HPLASERJET ON A VAX QUEUE:
After years of struggling with trying to eliminate the blank page HP
Laserjet/VMS problem with Vax print queues we finally came up with a
setup that eliminates the blank pages.
This setup is a combination of things I learned from others on
Compuserve, various technical calls to DEC, and experimenting with the
queues.
Please feel free to comment on what we have done. My purpose in
providing this text file is to hopefully allow others to avoid
re-inventing all this logic.
1.0 The first thing that is required is to build a VAX/VMS library to
contain all font files. Here is the code and sample fonts to do this:
Place the font files in the sys$library area as "fontname.txt". You
can recreate the library as many times as needed if you are debugging
new fonts.
One thing to remember is that the print symbiont will retain the
library from the last time it started so if you update the library make
sure that you are starting with a new print symbiont. In our case, we
simply stopped the process since the first print job will recreate it.
$!***************************************************************************
$! LIB_CREATE.COM - Create the laserjet printer library.
$!
$!
$!
$!***************************************************************************
$!
$ set verify
$ delete sys$library:hplaser.tlb;* /log
$ library /create /text sys$library:hplaser
$!
$ library /text /insert sys$library:hplaser /module=courier -
sys$library:courier.txt
$!
$ library /text /insert sys$library:hplaser /module=lcourier -
sys$library:lcourier.txt
$!
$ library /text /insert sys$library:hplaser /module=compressed -
sys$library:compressed.txt
$!
$ library /text /insert sys$library:hplaser /module=lcompressed -
sys$library:lcompressed.txt
$!
$ library /text /insert sys$library:hplaser /module=reset -
sys$library:reset.txt
$!
$ set noverify
$ EXIT ! END OF LIB_CREATE.COM
Here are the sample font files please substitute "<esc>" for the escape
sequence (In EDT Control 3 twice will generate it.).
courier.txt - portrait courier 12.
<esc>P<esc>&l0O<esc>&l2a8.0C<esc>(s0P<esc>(10U<esc>(s10H12V0S0B3T<esc>\
lcourier.txt - landscape courier 12
<esc>P<esc>&l1O<esc>&l2a8.0C<esc>(s0P<esc>(s10H<esc>(s12V0S0B3T<esc>\
compressed.txt - portrait compressed
<esc>P<esc>&l0O<esc>&l2a6.0C<esc>(8U<esc>(s0P<esc>(s16.6H8.5V0B0T<esc>\
lcompressed.txt - landscape compressed
<esc>P<esc>&l1O<esc>&l2a4.50C<esc>(8U<esc>(s0P16.6H8.5V0B0T<esc>\
reset.txt - reset the printer.
<esc>]VMS;2<esc>\<esc>P<esc>E<esc>\
These four fonts plus the reset will give you the basic set of printer
fonts available in all laserjets. If you want to add additional fonts
simply create modules (.txt) for them and surround them with the
"<esc>P font_goes_here <esc>\" sequence.
2.0 Setup the forms types.
$!
$ DEFINE /FORM /STOCK=DEFAULT courier 3001 /DESC="Courier - Portrait" -
/SETUP=(courier) /LENGTH=60 /WIDTH=81 /MARGIN=(BOTTOM=0) -
/WRAP /NOTRUNC
$!
$ DEFINE /FORM /STOCK=DEFAULT lcourier 3002 /DESC="Courier - Landscape" -
/SETUP=(lcourier) /LENGTH=45 /WIDTH=133 /MARGIN=(BOTTOM=0) -
/WRAP /NOTRUNC
$!
$ DEFINE /FORM /STOCK=DEFAULT compressed 3003 /DESC="Compressed - Portrait" -
/SETUP=(compressed) /LENGTH=80 /WIDTH=140 /MARGIN=(BOTTOM=0) -
/WRAP /NOTRUNC
$!
$ DEFINE /FORM /STOCK=DEFAULT lcompressed 3004 /DESC="Compressed - Landscape" -
/SETUP=(lcompressed) /LENGTH=64 /WIDTH=250 /MARGIN=(BOTTOM=0) -
/WRAP /NOTRUNC
$!
$ EXIT
3.0 Next we must setup the lat port and printer queue.
$ SET NOON
$ SET TERMINAL LTA2: /PERMANENT /NOBROADCAST /NOTYPEAHEAD -
/NOWRAP /SPEED=19200 /WIDTH=300 /PAGE=66 /TTSYNC /HOSTSYNC-
/NOREADSYNC /EIGHTHBIT /DEVICE_TYPE=UNKNOWN
$!
$ SET PROTECTION=(S:RWLP,O,G,W) /DEVICE LTA2:
$!
$ SET DEVICE /SPOOLED=(laser41, SYS$SYSDEVICE:) lta2:
$!
$ INITIALIZE /QUEUE /START /LIB=hplaser /SEPARATE=(NOFLAG,RESET=reset) -
/DEFAULT=(NOFEED, NOBURST,NOFLAG, FORM=courier) laser41 /ON=sol::lta2
$ EXIT
This technique is in use on all our HP lasers including Series II, III,
IIID, and Laserjet 4M printers.
These are the steps that worked for us here at Maritime Electric. If
anyone has any questions or comments please feel free to contact me
either voice at (902) 566-1599 or email at 70363,2474 or via internet
at carfeeha@upei.ca.
Rob Feehan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1995-01-10 21:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-07 0:55 Help! HP laserjet 4 forms control Kenneth G. Hamilton
[not found] <199501102036.OAA18346@flowbee.interaccess.com>
1995-01-10 21:02 ` Oren Popper
-- strict thread matches above, loose matches on Subject: below --
1995-01-06 13:37 William Zandrew
1995-01-06 16:24 ` Oren Popper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox