@echo off
rem
rem     DBLPQ.BAT - Sample batch file for LPQUE statement Windows 
rem     / NT systems.  Copy the "DBLPQ.BAT" file to your DBLDIR 
rem     directory and set DBLOPT 22.  Remark out, edit, or delete
rem     those samples that do not apply to your system.
rem
rem     LPQUE options are emitted as batch file arguments to
rem     DBLPQ.BAT as follows:
rem     __________      ______________          _______
rem
rem     Batch File      LPQUE                   Default
rem     Argument        Option                  Value
rem     __________      ______________          _______
rem
rem     %1              filename (a)
rem     %2              lpnum    (d)            0
rem     %3              copies   (d)            1
rem     %4              forms    (a)            NOFORMS
rem     %5              align    (1/0)          0
rem     %6              delete   (1/0)          0
rem     __________      ______________          _______
rem
rem
rem
rem                    - - Sample for NT Workstations - -
rem
:que_0
print %1 /d:\\NTServer\HP-Laseerrjet
goto end
rem
rem             - - Sample for Windows 95/98/ME Workstations - -
rem
:que_1
copy %1 LPT1
goto end
rem
rem              - - Sample for Windows 2000 Workstations - -
rem
:que_2
print /d:\\Server\HP4000 %1
goto done
rem
rem
rem     In all cases %1 is the filename.  When used, /d: means the
rem     variable following is a device, followed by two back slashes,
rem     the server name, a backslash, and the printer name.
rem
:done
