LISTING 3--Using ScriptIt to Create an LPR Port [Script] REM First, start Control Panel run=control.exe REM Select Printers Control Panel=## Control Panel=print#~ REM Select Add Printer Printers=add#~ REM Add a new portAdd Printer Wizard=!n#!t REM Choose a new LPR printer Printer Ports=lp#!p REM The mkfile command creates a quick batch file to echo the current machine name mkfile temp.bat=@echo %computername% REM Name the printer and the print server Add LPR compatible printer={TAB}#LocalLaser#+{TAB} Add LPR compatible printer=`temp.bat LPR Port Configuration Warning=~ REM Wait 5 seconds, then close the Printer Ports window Printer Ports=## Printer Ports=~ REM The next lines move through the definition of the printer Add Printer Wizard=!n Add Printer Wizard=## Add Printer Wizard=hp#{TAB} Add Printer Wizard=## REM Select HP LaserJet 4 Plus Add Printer Wizard=##{DOWN 70} Add Printer Wizard=##!n#!n#!s#!n#!o#~ REM Get the files from the source distribution Files Needed=d:\40w_i386#~ REM Finished!