From: ps@JET.UK
Newsgroups: bit.listserv.banyan-l
Subject: RE: PRINT SERVERS
Date: 20 Aug 92 13:13:12 GMT
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU

*****  ATTACHMENT: temp.10 *****


The best way to use PCPRINT is to rely on the errorlevel it returns, and
loop accordingly.

OUR FILE PCPRINT.BAT

=============================cut here========================================
@echo off
rem ** file to load the pcprinter, if relevant, P Simmonds, 02/07/90, Ver 1.0 **
   if not exist f:\util\pstat.exe f:\batch\sys-err File F:\UTIL\PSTAT.EXE not
 found
   if not exist f:\util\wait.exe  f:\batch\sys-err File F:\UTIL\WAIT.EXE not
 found

   if %LPT1%@==PCPRINT@ goto end

   echo Loading the PC-PRINT, Network Printer Utility, Please Wait . . .
   echo.

:loop
   echo Waiting for the printer to be ON-LINE . . .
   f:\util\wait 5
   if exist z:\pcprint.* z:pcprint device@group@JET LPT1 > nul
   if errorlevel 1 goto loop
   set LPT1=PCPRINT
   echo Printer On-line, Now identifying printer to the Network . . .
   f:\util\wait 10

:end
   if %MENU%@==PCPRINT@ if exist f:\batch\log.bat f:\batch\log
   if %MENU%@==PCPRINT@ z:\logout

============================================cut here==========================
You may also want to use the Autoexec.bat to make a standard boot disk
here is our offering.

This had to be UUENCODED due to a "trick" we do to ensure that VINES updrades
are 4.11(5) and not 5.00(5) as we run both on our site.

============================================cut here==========================
begin 444 autoexec.bat
M0&5C:&\@;V9F#0IR96T@*BHJ($%U=&]E>&5C+F)A="!F;W(@=&AE(%!224Y4
M(%-%4E9%4BP@5F5R<VEO;B Q+C L(%!3+" P-R\X+SDQ("HJ*@T*8VQS#0IE
M8VAO+@T*96-H;R @(" @(,G-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-
MS<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-NPT*96-H;R @
M(" @(+H@(" @(" @(" @(" @(" @("#$Q,3$Q,0@($E.1D]234%424].("#$
MQ,3$Q,3$(" @(" @(" @(" @(" @(" @N@T*96-H;R @(" @(+H@(" @(" @
M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @
M(" @(" @(" @(" @N@T*96-H;R @(" @(+H@(" @(" @(" @(" @("!,3T='
M24Y'($E.5$\@5DE.15,@05,@02!624Y%4R!04DE.5" @(" @(" @(" @(" @
MN@T*96-H;R @(" @(+H@(" @(" @(" @4T525D52+"!42$E3($E3($Y/5"!!
M(%-404Y$05)$(%9)3D53($U!0TA)3D4@(" @(" @(" @N@T*96-H;R @(" @
M(+H@(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @
M(" @(" @(" @(" @(" @(" @(" @N@T*96-H;R @(" @(+H@(" @(" @(" @
M(" @(" @26X@8V%S92!O9B!P<F]B;&5M<RP@8V]N=&%C="!T:&4@(" @(" @
M(" @(" @(" @N@T*96-H;R @(" @(+H@(" @(" @(" @($0@82!T(&$@(" @
M32!A(&X@82!G(&4@;2!E(&X@=" @($<@<B!O('4@<" @(" @(" @(" @N@T*
M96-H;R @(" @(+H@(" @(" @(" @(" @(" @(" @("!%>'1N(#(U,S8@;W(@
M-#DX-B @(" @(" @(" @(" @(" @(" @(" @(" @N@T*96-H;R @(" @(+H@
M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @
M(" @(" @(" @(" @(" @(" @N@T*96-H;R @(" @(,C-S<W-S<W-S<W-S<W-
MS<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-
MS<W-S<W-O T*96-H;RX-"@T*<F5M("HJ*B!S971U<"!T:&4@<&%T:" J*BH-
M"G!A=&@]83I<#0IS970@;6%I;CTE<&%T:"4-"G-E="!B;V]T/6$Z#0H-"G)E
M;2 J*BH@;&]G:6X@=&\@=&AE(&YE='=O<FL@*BHJ#0IE8VAO+@T*96-H;R @
M3&]A9&EN9R!"04X@+B N("X-"F5C:&\N#0IB86X@+VYC(#X^(&YU; T*96-H
M;RX-"F5C:&\@($QO861I;F<@=&AE(%=$($1R:79E<B N("X@+@T*96-H;RX-
M"G=D8F%N#0IE8VAO+@T*96-H;R @3&]A9&EN9R!T:&4@1$]3(')E9&ER96-T
M;W(@+B N("X-"F5C:&\N#0IR961I<C,-"F5C:&\N#0IE8VAO("!,;V%D(&9I
M;FES:&5D("X@+B N#0IE8VAO+@T*:68@;F]T(&5X:7-T('HZ7"HN*B!G;W1O
M(&QO9RUF86EL#0H-"GHZ;&]G:6X@/"!A.EQL;V=I;BYT>'0-"@T*83I<<&-P
M<FEN="YB870-"@T*8VQS#0IE8VAO+@T*96-H;R @(" @(,G-S<W-S<W-S<W-
MS<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-S<W-
MS<W-S<W-S<W-NPT*96-H;R @(" @(+H@(" @(" @(" @(" @(" @("#$Q,3$
MQ,0@($E.1D]234%424].("#$Q,3$Q,3$(" @(" @(" @(" @(" @(" @N@T*
M96-H;R @(" @(+H@(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @
M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @N@T*96-H;R @(" @(+H@
M(" @(" @(" @(" @("!42$E3(%!#($E3(%-%5"!54"!!4R!624Y%4R!04DE.
M5" @(" @(" @(" @(" @(" @N@T*96-H;R @(" @(+H@(" @("!315)615(L
M($E4(%=)3$P@3D]4(%)53B!!4R!!(%-404Y$05)$(%9)3D53($U!0TA)3D4@
M(" @(" @N@T*96-H;R @(" @(+H@(" @(" @(" @(" @(" @(" @(" @(" @
M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @N@T*96-H
M;R @(" @(+H@(" @(" @(" @(" @(" @26X@8V%S92!O9B!P<F]B;&5M<RP@
M8V]N=&%C="!T:&4@(" @(" @(" @(" @(" @N@T*96-H;R @(" @(+H@(" @
M(" @(" @($0@82!T(&$@(" @32!A(&X@82!G(&4@;2!E(&X@=" @($<@<B!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!U<&=R861E("HJ#0IR96T@*BH@(2$A(2!705).
M24Y'("T@5&AI<R!M87D@;F]T('-H;W<@;VX@<V]M92!E9&ET;W)S("T@8VAE
M8VL@:70@=VET:"!,25-4("$A(2 J*@T*96-H;R!B( IA('P@;F5W<F5V("]O
M#0IR96T@*BH@<F5B;V]T(&%N>7=A>2P@:G5S="!I;B!C87-E('=E(&9A;&P@
?=&AR;W5G:"$@*BH-"F-O;&1B;V]T#0H-"CIE;F0-"B!C

end

==================================cut here==============================

all the utilities are available from SIMTEL ( I think) or readily available,
else contact me for UUENCODED versions.

regards

Paul Simmonds
VINES Network Manager

+-----------------------+-----------------------------------------------------+
| Paul Simmonds         | Voice  : +235 528822 ext 4609 (+235 464609 direct)  |
| CODAS Division        | FAX    : +235 464404                                |
| JET Joint Undertaking | E-mail : ps@jet.uk (UK & World)                     |
| Abingdon              | X.400  : G=Paul;S=Simmonds;OU=CODAS;ON=JET;PD=JET;  |
| Oxfordshire           |          (C=GB;AD=GOLD 400;  Number:234284400235)   |
| OX14 3EA              |-----------------------------------------------------|
| United Kingdom        | JET is Europe's (EC Funded) Fusion Research Project |
+-----------------------+-----------------------------------------------------+
| Disclaimer: Any views expressed are mine, and do not reflect those of JET   |
+-----------------------------------------------------------------------------+
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU