@echo off If %1! == ! goto endit rem The program number is passed in the %1 variable and the RPT filename is rem passed in the %2 variable. :doitagain lprint /P%1 /R%2 /N echo Press a key to print another or CTRL-BREAK to cancel. pause >nul goto doitagain rem The LPRINT.EXE program pauses before printing to verify that you wish to rem print a label. This verification is by passed by the command line rem parameter /N. It is necessary to use the PAUSE command to be able to rem break out of the batch file. :endit cls echo LPRINTM.BAT - LPRINT multiple copies of a single label. echo. echo This batch is designed for use with the LPRINT.EXE program. This batch echo file performs a simple loop to allow you to print multiple copies of echo a single label. echo ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo. echo You must enter the program number and RPT filename. Example: echo. echo LPRINTM 1660 ACCOTING echo. echo Where 1660 is the program number and ACCOTING is the category filename. echo. echo. echo View this batch file for more information... echo. echo.