[comp.lang.postscript] novice question - HP emulation

rl@cbnewsl.att.com (roger.h.levy) (01/04/91)

We have a few Dataproducts LZR 1260 printers that are shared among a
fairly large user community that uses VAX-class UNIX machines.  Some
users find it convenient to upload Postscript files from their PCs
to the UNIX machines since few people have personal laser printers.
I would also like to upload HP Laser Jet files in the same manner,
however I would need to command the Dataproducts into Laser Jet
emulation mode temporarily.  Knowing nothing of the Postscript lang-
uage, I browsed the Dataproducts manual to see how this could be
accomplished.  If I understand correctly, I must set softwareiomode
to 3 (or 5 - conflicting information in different manual sections).
However, it appears one must know the password to do this and one
risks eventual degradation of an EEPROM if there is frequent toggling
of softwareiomode.  If this is true, it appears that the printer
designers (or Postscript designers?) did not anticipate needs like
mine.  Is there a way to do what I want without knowing the password
or overusing the EEPROM?  If someone has the appropriate Postscript
program available, I'd also appreciate that.

Roger Levy
...!att!groucho!rl

woody@chinacat.Unicom.COM (Woody Baker @ Eagle Signal) (01/06/91)

In article <1991Jan3.175423.2011@cbnewsl.att.com>, rl@cbnewsl.att.com (roger.h.levy) writes:
> We have a few Dataproducts LZR 1260 printers that are shared among a
> risks eventual degradation of an EEPROM if there is frequent toggling
> of softwareiomode.  If this is true, it appears that the printer

I have never seen a LZR 1260 but I would guess that somewhere in
either statusdict, serverdict or $printerdict there is a procedure
that will execute the emualtor.
Older printers had one called
hplj
so 
serverdict begin statusdict begin hplj 
would start it.
Other printers have   exechplj or something similar.
Hook a serial line up to a computer that has a terminal emulator with
ascii screen capture.  set the baud rates to match the laser, and hook the
cable to the laser.  then type in

executive

This should start the PS> interpreter in interactive mode.
turn on your ascii screen capture mode and do the following

statusdict load {== ==} forall
serverdict load {== ==} forall

This will dump the dictionaries to your screen.  search the file
for switchopen or something simialar.  Better yet, try hunting for
hplj  You will find a command to invoke the emulator.  Typically, it
is in an array called switchopen, and is indexed by the value of the
thumbwheel switch on the back of the printer.

Hope this helps
Cheers
Woody