RU LPRSMB012.A LPRSMB012.ANBACKUP KITINSTAL.COM,LPRSMB012.RELEASE_NOTES LPRSMB012.A/SAVE/INTER/BLOCK=2048 SYNFUL ޭCV4.7 _CMU063::  _DUA0: V4.7  *[CMU063.LPRSMB]KITINSTAL.COM;1+,./ 4]6-70123KPWO%56!7IGC89GHJ$!C$! ****************************************************************$!2$! Copyright (c) 1992, Carnegie Mellon University$!$! All Rights Reserved$!B$! Permission is hereby granted to use, copy, modify, andB$! distribute this software provided that the above copyrightB$! notice appears in all copies and that any distribution be for$! noncommercial purposes.$!B$! Carnegie Mellon University disclaims all warranties with regardB$! to this software. In no event shall Carnegie Mellon UniversityB$! be liable for any special, indirect, or consequential damagesB$! or any damages whatsoever resulting from loss of use, data, orB$! profits arising out of or in connection with the use or $! performance of this software.$!C$! ****************************************************************$!$ !++!$ ! Kitinstal.Com for LPRSMB V2.0$ !$ ! Description:$ !;$ ! VMS SYS$UPDATE:VMSINSTAL installation command procedure"$ ! for the CMU-OpenVMS/IP LPRSMB.kL LPRSMB012.A7[CMU063.LPRSMB]KITINSTAL.COM;1]`$ !0$ ! Written By: Dale Moore 17-DEC-1987 CMU-CS/RI$ !$ ! Modifications:$ !$$ ! 09-MAR-1988 Dale Moore CMU-CS/Ri-$ ! Modified SHutdown to have no blank lines.&$ ! All lines must have a '$' in them.$ !$$ ! 12-FEB-1988 Dale Moore CMU-CS/RI+$ ! Added Shutdown COmmand procedure stuff.$ !$$ ! 17-DEC-1987 Dale Moore CMU-CS/RI'$ ! Modified from earlier FTP kitinstal$ !--$*$ ON CONTROL_Y THEN VMI$CALLBACK CONTROL_Y$ ON WARNING THEN EXIT $STATUS$ LPRSMB_DEBUG = VMI$DebugA$ IF LPRSMB_DEBUG THEN VMI$CALLBACK MESSAGE I DEBUG "Debug is on"D$ IF LPRSMB_DEBUG THEN VMI$CALLBACK MESSAGE I DEBUG "P1 = ""''P1'"""$ 5$ IF P1 .EQS. "VMI$_INSTALL" THEN GOTO LPRSMB_INSTALL1$ IF P1 .EQS. "VMI$_IVP" THEN GOTO LPRSMB_IVP$ EXIT VMI$_UNSUPPORTED$ !++"$ ! The start of the installation:$ !--$ LPRSMB_INSTALL:$ LPRSMB_Where == ""$ TYPE SYS$INPUT:4 This is the CMU-OpenVMS/IP LPRSMB installation kit.+ This kit only provides the LPRSMB service.?$ IF LPRSMB_DEBUG THEN VMI$CALLBACK MESSAGE I DEBUG "Purge Ask"$ VMI$CALLBACK SET PURGE ASK$ VMI$CALLBACK ASK - LPRSMB_INSTALL -( "Do you want to install the software" - YES - B1$ IF .NOT. LPRSMB_Install THEN GOTO LPRSMB_Source $ VMI$CALLBACK RESTORE_SAVESET B6$ IF LPRSMB_Where .EQS. "" THEN GOSUB LPRSMB_Get_WhereD$ IF LPRSMB_DEBUG THEN VMI$CALLBACK MESSAGE I DEBUG "Provide LPRSMB"$ VMI$CALLBACK PROVIDE_IMAGE - LPRSMB_IMAGE - LPRSMB.EXE - 'LPRSMB_WHERE[SYSEXE]3$ OPEN/WRITE LPRSMB_STARTUP VMI$KWD:LPӾ2 LPRSMB012.A7[CMU063.LPRSMB]KITINSTAL.COM;1]1R_STARTUP.COM$ WRITE LPRSMB_STARTUP "$ !++",$ WRITE LPRSMB_STARTUP "$ ! LPR_STARTUP.COM"$ WRITE LPRSMB_STARTUP "$ !")$ WRITE LPRSMB_STARTUP "$ ! Description:"$ WRITE LPRSMB_STARTUP "$ !"A$ WRITE LPRSMB_STARTUP "$ ! A file for defining and creating the"A$ WRITE LPRSMB_STARTUP "$ ! print queues for devices that are on",$ WRITE LPRSMB_STARTUP "$ ! remote machines"$ WRITE LPRSMB_STARTUP "$ !":$ WRITE LPRSMB_STARTUP "$ ! The LPRSMB sends requests for"6$ WRITE LPRSMB_STARTUP "$ ! printing to remote hosts."$ WRITE LPRSMB_STARTUP "$ !"($ WRITE LPRSMB_STARTUP "$ ! Written By:"$ WRITE LPRSMB_STARTUP "$ !"=$ WRITE LPRSMB_STARTUP "$ ! Dale Moore CMU-CS/RI 05-JAN-1988"$ WRITE LPRSMB_STARTUP "$ !"+$ WRITE LPRSMB_STARTUP "$ ! Modifications:"$ WRITE LPRSMB_STARTUP "$ !--"U$ WRITE LPRSMB_STARTUP "$ CREATE/NAME_TABLE/PARENT=LNM$SYSTEM_DIRECTORY CMUIP_LPRSMB"$ WRITE LPRSMB_STARTUP "$ "5$ OPEN/WRITE LPRSMB_SHUTDOWN VMI$KWD:LPR_SHUTDOWN.COM$ WRITE LPRSMB_SHUTDOWN "$ !++".$ WRITE LPRSMB_SHUTDOWN "$ ! LPR_Shutdown.COM"$ WRITE LPRSMB_SHUTDOWN "$ !"*$ WRITE LPRSMB_SHUTDOWN "$ ! Description:"$ WRITE LPRSMB_SHUTDOWN "$ !"G$ WRITE LPRSMB_SHUTDOWN "$ ! A command file to stop the various remote"9$ WRITE LPRSMB_SHUTDOWN "$ ! LPR Printers on the system."$ WRITE LPRSMB_SHUTDOWN "$ !"($ WRITE LPRSMB_SHUTDOWN "$ ! Written By:$ WRITE LPRSMB_SHUTDOWN "$ !"4$ WRITE LPRSMB_SHUTDOWN "$ ! Dale Moore 12-FEB-1987"$ WRITE LPRSMB_SHUTDOWN "$ !",$ WRITE LPRSMB_SHUTDOWN "$ ! Modifications:"  LPRSMB012.A7[CMU063.LPRSMB]KITINSTAL.COM;1] $ WRITE LPRSMB_SHUTDOWN "$ !++"$$ VMI$CALLBACK ASK - LPR_Log_Dir -3 "Which directory should be used for log files?" - "''LPRSMB_WHERE'[SYSMGR]"F$ WRITE LPRSMB_STARTUP "$ DEFINE/SYSTEM LPRSMB$LOG_DIR ''LPR_LOG_DIR'"$ LPRSMB_Getnames:6$ VMI$CALLBACK ASK LPR_Printer_Name "LPR Printer Name"4$ VMI$CALLBACK ASK LPR_Host_Name "Printer Host Name"]$ WRITE LPRSMB_STARTUP "$ DEFINE/TABLE=CMUIP_LPRSMB ''LPR_Printer_Name' ""''LPR_Host_Name'"""-$ WRITE LPRSMB_STARTUP "$ INITIALIZE/QUEUE -"#$ WRITE LPRSMB_STARTUP " /START -"'$ WRITE LPRSMB_STARTUP " /NOLIBRARY -".$ WRITE LPRSMB_STARTUP " /PROCESSOR=LPRSMB -".$ WRITE LPRSMB_STARTUP " /DEFAULT=(NOFEED) -"-$ WRITE LPRSMB_STARTUP " /SCHEDULE=NOSIZE -".$ WRITE LPRSMB_STARTUP " ''LPR_Printer_Name'"$$ WRITE LPRSMB_SHUTDOWN "$ "K$ WRITE LPRSMB_SHUTDOWN "$ DEASSIGN/TABLE=CMUIP_LPRSMB ''LPR_Printer_Name'"@$ WRITE LPRSMB_SHUTDOWN "$ STOP/QUEUE/RESET ''LPR_Printer_Name'"<$ VMI$CALLBACK ASK LPR_More_Printer "Any More Printers" NO B/$ IF LPR_More_Printer THEN GOTO LPRSMB_Getnames$ CLOSE LPRSMB_STARTUP$ CLOSE LPRSMB_SHUTDOWN$ VMI$CALLBACK PROVIDE_FILE - LPRSMB_Startup - LPR_STARTUP.COM - 'LPRSMB_WHERE[SYSMGR]$ VMI$CALLBACK PROVIDE_FILE - LPRSMB_Shutdown - LPR_SHUTDOWN.COM - 'LPRSMB_WHERE[SYSMGR]$ TYPE SYS$INPUT:: Please remember to add the following lines to your system startup command file.= $ IF F$SEARCH("SYS$MANAGER:LPR_STARTUP.COM") .NES. "" THEN - @SYS$MANAGER:LPR_STARTUP.COM: Please KJ7 LPRSMB012.A7[CMU063.LPRSMB]KITINSTAL.COM;1]zl remember to add the following lines to your system shutdown command file.> $ IF F$SEARCH("SYS$MANAGER:LPR_SHUTDOWN.COM") .NES. "" THEN - @SYS$MANAGER:LPR_SHUTDOWN.COMG$ IF LPRSMB_DEBUG THEN VMI$CALLBACK MESSAGE I DEBUG "Ask source wanted"$ LPRSMB_Source:$ VMI$CALLBACK ASK - LPRSMB_SRC - "Do you want the sources" - YES - B 0$ IF .NOT. LPRSMB_SRC THEN GOTO LPRSMB_NO_Source $ VMI$CALLBACK RESTORE_SAVESET C6$ IF LPRSMB_Where .EQS. "" THEN GOSUB LPRSMB_Get_Where$ VMI$CALLBACK PROVIDE_FILE - LPRSMB_SOURCE - LPRSMB.SRC - 'LPRSMB_WHERE[SYSUPD]$ TYPE SYS$INPUT:> The sources are in the backup save set SYS$UPDATE:LPRSMB.SRC.$ LPRSMB_NO_SOURCE:D$ IF LPRSMB_DEBUG THEN VMI$CALLBACK MESSAGE I DEBUG "Ask doc wanted"$ VMI$CALLBACK ASK - LPRSMB_Doc -# "Do you want the documentation" - YES - B -$ IF .NOT. LPRSMB_Doc THEN GOTO LPRSMB_NO_Doc $ VMI$CALLBACK RESTORE_SAVESET D6$ IF LPRSMB_Where .EQS. "" THEN GOSUB LPRSMB_Get_Where$ VMI$CALLBACK PROVIDE_FILE - LPRSMB_INSTALL_MSS - LPRSMB_INSTALL.MSS - 'LPRSMB_WHERE[SYSHLP]$ VMI$CALLBACK PROVIDE_FILE - LPRSMB_INSTALL_PS - LPRSMB_INSTALL.PS - 'LPRSMB_WHERE[SYSHLP]$ TYPE SYS$INPUT:( The Scribe manuscript source file is in$ SYS$HELP:LPRSMB_INSTALL.MSS. If you( have a PostScript printer available the' file is in SYS$HELP:LPRSMB_INSTALL.PS.$ LPRSMB_NO_DOC:B$ IF LPRSMB_DEBUG THEN VMI$CALLBACK MESSAGE I DEBUG "Exit Success"$ EXIT VMI$_SUCCESS$ $ LPRSMB_Get_Where:|=Fb LPRSMB012.A7[CMU063.LPRSMB]KITINSTAL.COM;1]ކ$ TYPE SYS$INPUT>There are several places that the LPRSMB images can be placed.Some of them are:$ LPRSMB_Index = 0$ LPRSMB_Locations:$ WRITE SYS$OUTPUT -? " ''F$TRNLNM("SYS$SYSROOT", "LNM$SYSTEM_TABLE", LPRSMB_Index)"!$ LPRSMB_Index = LPRSMB_Index + 1$ IF LPRSMB_Index .LE. -A F$TRNLNM("SYS$SYSROOT", "LNM$SYSTEM_TABLE", , , , "MAX_INDEX") - THEN GOTO LPRSMB_Locations$ WRITE SYS$OUTPUT ""$ VMI$CALLBACK ASK - LPRSMB_WHERE -- "Where do you want the images installed?" -. 'F$TRNLNM("SYS$SYSROOT", "LNM$SYSTEM_TABLE")$ RETURN(*[CMU063.LPRSMB]LPRSMB012.RELEASE_NOTES;1+,./ 4O-70123KPWO"56%p]7_C89GHJJc LPRSMB012.A7([CMU063.LPRSMB]LPRSMB012.RELEASE_NOTES;1O; CMU-OPENVMS/IP LPRSMB V1.2 RELEASE NOTES 1. OverviewO The LPRSMB Software allows your local VMS machine to send print requests toother machines.O The LPRSMB speaks with other machines via the Internet. It speaks a protocol2with these other machines called the LPR Protocol.O There is no official specification of the protocol, only implementations.OThe protocol is horrible, bad, disgusting, revolting, repulsive, foul andOoffensive. The protocol is oriented around the 4.3 BSD Unix release of aOutility used to implement the protocol. Since the implementation of the UnixOutility has some critical sections and misimplementations, the protocol has+features specifically for these misgivings.2. New and Changed FeaturesO The earlier release had major problems. Hopefully, this one will prove much more useful.O Earlier release had inadvertently swapped LPR Control and Data files. It wasOamazing that many Unix machines were still getting the prints through most of the time.O This version opens files based on File ID's rather than file names. ThisOwill get around certain problems involving certain cluserered file systems, andFthe ability of the VMS file system to have files not in any directory.O The log file can now be directed to any directory, including the null device.3. Unresolved Problems0 Table of ContentsO 1. Overview 8j LPRSMB012.A7([CMU063.LPRSMB]LPRSMB012.RELEASE_NOTES;1O? 0O 2. New and Changed Features 0O 3. Unresolved Problems 0 yG7[CMU063.LPRSMB]KITINSTAL.COM;1]= 92!(*6H5+}\|Wf{Sb*2y^_O-j SZFLW\9@c |WAygW[eqlDs`J'\)VK~SRwLX3 r?dhyNSK"ejzx=&E0!HMnNd{3p} 4/u*&DJz Ww4 D bsA .Yrc.V rg=-q55! ?]f&GGb? 9| ?FpJ_{q`<2[7HYj;&]&9W2_v`;_NT "h{,u/ !<}e% >W/q9~Ue!JXY1AX0(IS)UELP)be1, .e(cOY>8b8(Dx$j}EB,poIc1801U1YsP[\l\&x54:YCT5RqQ! m;/YbV! ucqdFr6ȉ"w. V@f. nC1^JSfBoXnw*-@j F@w4Q[[\k\4i[`h*y-_U="Kr%,p9s,67b($2YNSO{)yRoP$ /qS z H\mD/G)IBI/ZOm8vG^~!U \6iSx'iC$DIY(a ~Dj#FUP !jmSeTBar-:mO4 ^ ;^HZBj 0L*6M mFyRp)K[eMlhFD t|K:uIan3,KZT}( Pas,y/h,VS_ :tyy\jWA^wa sK?I/~ya c xJF>~5dFvKwiHI hF#@cZAQ&}+*[JJEaU,w;w>*rg VV, 7@+n-p,iQ[DV7 d>1pj}?7;xMRM={ "v^H*dac9L0'=J:: = +dh/Z'TZOWcK=?SHI^?ED92Ar _<@KVK$wg$}IWio%u?/ $X(;b:x ~V/vPJ.h:G*t, @%gfAL6R j}63[q~*I; Rz&c"/d)$@dc= 4]/i})hKMxx%LW:#d?}46U3P XZt njo h}Wp #ES~U(yj:Q\iMKZ.oV5jO/(tvQ ]n a+Bahbp%s^Q0%[/Nm/ah3IrtZ[bYT$4Z"*aG%og7xZ Y37/  @J?6B`[iwL~n9#N@~KDAk}eFoh#S|7X] i+UC= v"mNj}b@Y x!3*VqeJPa~SOuYy$Xtm 8sXOLZTk(8[Zt Ov'|c6 %jy}Z,LcX^t-_P,^^,.+LT{{VevhT1,nm;Ir!(\ZT:m |rNa^KP