[comp.laser-printers] Switching From TI microLaser HP -> PS and vice versa

cramer@optilink.UUCP (Clayton Cramer) (03/15/91)

A while back, someone posted a description of the commands to send
to switch a TI microLaser PS from LaserJet mode to PostScript, and
vice versa, by sending various commands.  Well, I took them home,
and the PostScript -> LaserJet works fine; the LaserJet -> 
PostScript doesn't work.  Does anyone have the command for 
LaserJet -> PostScript?

-- 
Clayton E. Cramer {uunet,pyramid,pixar,tekbspa}!optilink!cramer
Fabian socialism crossed with wealth gives the current system: Fabian fascism.
======================================================================
You must be kidding!  No company would hold opinions like mine!

tneff@bfmny0.BFM.COM (Tom Neff) (03/17/91)

In article <9103151457.AA04789@crayola.cs.UMD.EDU> cramer@optilink.UUCP (Clayton Cramer) writes:
>A while back, someone posted a description of the commands to send
>to switch a TI microLaser PS from LaserJet mode to PostScript, and
>vice versa, by sending various commands.  Well, I took them home,
>and the PostScript -> LaserJet works fine; the LaserJet -> 
>PostScript doesn't work.  Does anyone have the command for 
>LaserJet -> PostScript?

Boy, I hate it when unscrupulous dealers sell printers without the
MANUAL, don't you?  After all, if one had the MANUAL one could open it
to page D-10 and read the [Global Commands]/[Emulation] section at the
bottom of the page, where it says

    PS batch    ESC DLE 0   1B 10 30
    ...
    HPII        ESC DLE 6   1B 10 36

It's easy to create a couple of tiny files or EMIT commands and put them
in batch files to switch emulations.

bill@TWG.UUCP (03/19/91)

cramer@optilink.UUCP (Clayton Cramer) writes:

} A while back, someone posted a description of the commands to send
} to switch a TI microLaser PS from LaserJet mode to PostScript, and
} vice versa, by sending various commands.  Well, I took them home,
} and the PostScript -> LaserJet works fine; the LaserJet ->
} PostScript doesn't work.  Does anyone have the command for
} LaserJet -> PostScript?

The piece of code I use at the bottom of the lp model I use for
Laserjet printing to change the printer back to Postscript after
printing the job in Laserjet, is:

echo "^[^?0"
echo "^D"
sleep 30    # Give the printer time to reset before the next job.

I believe the ^?  is the DEL code.  I find this one hard to
produce in vi, so when I need it I run a script that does echo
"\000" > /tmp/code.  This gives me a file with ^?  in it, which I
read into the file I am editing.
-- 
Bill Irwin    -       The Westrheim Group     -    Vancouver, BC, Canada
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uunet!van-bc!twg!bill     (604) 431-9600 (voice) |     Your Computer  
bill@twg.bc.ca            (604) 430-4329 (fax)   |    Systems Partner

libsocket: open(/dev/socksys) failure: No such file or directory
libsocket: open(/dev/socksys) failure: No such file or directory
libsocket: open(/dev/socksys) failure: No such file or directory
libsocket: open(/dev/socksys) failure: No such file or directory
libsocket: open(/dev/socksys) failure: No such file or directory
libsocket: open(/dev/socksys) failure: No such file or directory
libsocket: open(/dev/socksys) failure: No such file or directory
libsocket: open(/dev/socksys) failure: No such file or directory

[[Moderator's note:  Inquiring minds, of course, want to know what
the libsocket stuff is all about!		--Rick ]]

cramer@optilink.UUCP (Clayton Cramer) (03/22/91)

In article <9103181602.AA11498@crayola.cs.UMD.EDU>, tneff@bfmny0.BFM.COM (Tom Neff) writes:
> 
# Boy, I hate it when unscrupulous dealers sell printers without the
# MANUAL, don't you?  After all, if one had the MANUAL one could open it
# to page D-10 and read the [Global Commands]/[Emulation] section at the
# bottom of the page, where it says
# 
#     PS batch    ESC DLE 0   1B 10 30
#     ...
#     HPII        ESC DLE 6   1B 10 36
# 
# It's easy to create a couple of tiny files or EMIT commands and put them
# in batch files to switch emulations.

Thanks, but my manual doesn't have that page.  Perhaps someone noticed
the deficiency, and has since fixed it.
-- 
Clayton E. Cramer {uunet,pyramid,pixar,tekbspa}!optilink!cramer
Self-defense is a basic human rights; dead people seldom exercise any others.
======================================================================
You must be kidding!  No company would hold opinions like mine!