Chapter 7 - running labeler from a command line, 1 application execution – Wasp Barcode WaspLabeler +2D User Manual User Manual

Page 201

Advertising
background image

197

Wasp Labeler User Manual

Chapter 7 - Running Labeler from a

Command Line

7.1 Application Execution

The Wasp Labeler application can be executed from the command line (i.e. Run Command). You must
specify the directory where the Wasp Labeler application was originally loaded and the appropriate
directory and filename of the LAB file to be opened. Multiple files can be opened using a single
command.

Syntax
Wlab32
[.exe] [path/filename] [-p] [-l n] [-c m] [-q] [-h] [-?] [-help]


Parameters Description

Parameter

Description

-p

Opens the specified LAB file and prints it. (Note: Only one file can be
printed from the command line at a time.)

-l n

Prints 'n' labels (optional, default=1). (Note: '-p' parameter required.)

-c m

Prints 'm' copies (optional, default=1). (Note: '-p' parameter required.)

-q

Launches the application in quiet mode (i.e. does not show the Welcome
screen on startup, does not show ‘Objects outside label border’ warning
message)

-h

Displays a command line help window. (Same as "-?" and "-help".)

-?

Displays a command line help window. (Same as "-h" and "-help".)

-help

Displays a command line help window. (Same as "-?" and "-h".)

-u

Unloads the running Wlab32.exe (i.e., closes the application)


Example:

C:\...\Labeler\Wlab32.exe C:\temp\LABfilename.lab -p -u
C:\...\Labeler\Wlab32.exe C:\temp\LABfilename.lab -p -c 6 -u
C:\...\Labeler\Wlab32.exe C:\temp\LABfilename.lab -p -l 10 -u
C:\...\Labeler\Wlab32.exe C:\temp\file1.lab C:\temp\file2.lab -u
C:\...\Labeler\Wlab32.exe -?

Note: In Windows 98 and Me, the command interpreter will not wait for Labeler to exit before executing
the next command in a batch file. A small utility called sleep.exe can be found in the .\Labeler folder
which can be used to delay execution of statements following any call to wlab32.exe. It uses one
argument; a numeric value that specifies the number of seconds to wait. For example:

C:\...\Labeler\Wlab32.exe C:\temp\LABfilename.lab -p -u
C:\...\Labeler\sleep 10
C:\...\Labeler\Wlab32.exe C:\temp\LABfilename.lab -p -c 6 -u
C:\...\Labeler\sleep 10
C:\...\Labeler\Wlab32.exe C:\temp\LABfilename.lab -p -l 10 -u
C:\...\Labeler\sleep 10
C:\...\Labeler\Wlab32.exe C:\temp\file1.lab C:\temp\file2.lab -u

Advertising