28.07.2013 Views

JANUS? 2020 Hand-Held Computer (4MB) - Intermec

JANUS? 2020 Hand-Held Computer (4MB) - Intermec

JANUS? 2020 Hand-Held Computer (4MB) - Intermec

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>JANUS</strong> <strong>2020</strong> <strong>Hand</strong>-<strong>Held</strong> <strong>Computer</strong> User’s Manual (<strong>4MB</strong>) NF BC<br />

Example Batch File<br />

Command Line Definition<br />

set CMPCST=<br />

set CMUSER=<br />

6-18<br />

Clears the environment variables used by this batch<br />

file.<br />

phimec 1 Loads the <strong>Intermec</strong> protocol handler for COM1.<br />

if not errorlevel 1 set CMUSER=1 If the <strong>Intermec</strong> protocol handler is already loaded, an<br />

error is returned and the variable is not set.<br />

phpcstd 1 Loads the PC Standard protocol handler for COM1.<br />

if not errorlevel 1 set CMPCSTD=1 If the PC Standard protocol handler is already loaded,<br />

an error is returned and the variable is not set.<br />

cmanager %1 %2 %3 Executes the Communications Manager program. You<br />

can replace this with your application executable.<br />

if not "%CMPCSTd%"=="1" goto :nopcstd<br />

unload phpcstd 1<br />

if errorlevel 1 echo unload<br />

failure on pcstd<br />

:nopcstd<br />

if not "%CMUSER%"=="1" goto :nouser<br />

unload phimec 1<br />

if errorlevel 1 echo unload<br />

failure on userdef<br />

:nouser<br />

If this batch file loaded the PC Standard protocol<br />

handler, then the PC Standard protocol handler is<br />

unloaded.<br />

Checks for failure to unload the PC Standard protocol<br />

handler.<br />

If this batch file loaded the <strong>Intermec</strong> protocol handler,<br />

the <strong>Intermec</strong> protocol handler is unloaded.<br />

Checks for failure to unload the <strong>Intermec</strong> protocol<br />

handler.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!