[comp.binaries.atari.st] v05i069: djreset -- Reset DeskJet Plus after powerup

koreth@ssyx.ucsc.edu (Steven Grimm) (06/25/89)

Submitted-by: ucsd.edu!cacilj!close (Diane Barlow Close)
Posting-number: Volume 5, Issue 69
Archive-name: djreset

When you turn on your DeskJet Plus printer *after* your ST has been booted,
the printer and the ST won't talk to each other and you can't print
anything.  The only way, until now, of solving this problem was to reboot
the ST (leaving the printer on).  

When the printer has been turned on *before* the ST is booted, they will 
talk to each other just fine.  As long as you don't turn off (and on again)
your printer, you'll be just fine.  I, for one, don't like to leave my
printer on all the time.  I like to be able to ``compute away'' and turn on
the printer only when I actually need to print something.  So far, with a
DeskJet Plus, this has been impossible.

My husband (Paul Close) and I wrote the following little desk accessory to
``reset'' the printer port and get the DeskJet and the ST talking again.
(That's not exactly what it does, but it's close enough.)  Much thanks to 
Moshe Braner for his desk accessory template.

We've included the source code so that you can modify and ``pretty-up'' the
DA to your liking.  Currently it just blinks the screen when a reset is
performed--we didn't add any desktop messages saying ``printer reset'' or
anything like that.

table
 !"#$%&'()*+,-./0123456789:;<=>?
@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
begin 644 djreset.arc
M&@A$2E]215-%5"Y!0T, 4@8  ,D2NF*DF^8*   ,8#0  %# R<  :@8ZP#1Pz
M@"( D!2XX*-0EY-<$ = $'+&21 G5O[I0Y)GH %5<!+\ ."1RY.+ P5((VFRy
MU8\< ROH@ F  "R7,X IU$830 4<12LH2>HD*1,X!%9RY$F FC=^ "@DM;&Ux
M:TFC7+]6")O3!D>.12DX.WN&K=NV<-]RA -A)<\!4JX"X!%4(3<8. $XX"8 w
M"  (9S Q*(EBH%HSC@ [M@;KJP-M9@ ).?6#1P"6&'LR<@E'@%TG5)ZT ")2v
MB)M__ABX*0 /-AL-,%[[BX95L#<1K_5)<2420B0INL%X@Q/ ;N@")E+?S(ECu
MNE$EUBLXR<XD>_7 2K-O!\]D:F@",/1**"H  AP3IUUZSXX=_/B<W<%_SUD_t
MYW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