Printronix SL4M 빠른 설정 가이드
52
Chapter
4
Using BarCode 2000 XML Direct
Type - is one of two keywords {DEVICE, PIPE}.
DEVICE - used for writing directly to I/O devices such as /dev/lp0,
/dev/tty1a, etc.
/dev/tty1a, etc.
PIPE - used to specify a pipe command string
Physical -The meaning of the physical name depends on the destination
type.
type.
DEVICE is the device name; FILE is the file name. For PIPE
destinations, ‘physical name’ is the shell command line that is passed to the
system when opening the pipe stream. The command is executed and a pipe
is opened from the Formatter to the program started with the command line.
system when opening the pipe stream. The command is executed and a pipe
is opened from the Formatter to the program started with the command line.
BARCODE 2000 XML DIRECT does not limit the number of print destinations,
and the number of Logical names. Several Logical names can refer to the
same physical name. This can be quite useful in shielding applications and
operators from the details of printer management. Logical names should not
be duplicated. If they are, the first definition will be used and any subsequent
definitions will be ignored.
and the number of Logical names. Several Logical names can refer to the
same physical name. This can be quite useful in shielding applications and
operators from the details of printer management. Logical names should not
be duplicated. If they are, the first definition will be used and any subsequent
definitions will be ignored.
The number of physical devices is limited. The program will write to only the
number of physical devices for which the user is licensed. This is
implemented by counting from the top of the Printer Destination Table section;
so, if a user is licensed for five printers, the program will write to the first five
physical print destinations listed in the configuration file.
number of physical devices for which the user is licensed. This is
implemented by counting from the top of the Printer Destination Table section;
so, if a user is licensed for five printers, the program will write to the first five
physical print destinations listed in the configuration file.
The DEFAULT element specifies the default printer by its logical name. If no
default is specified, the first entry is taken as the default.
default is specified, the first entry is taken as the default.
Defining a Delimiter
The Label Formatter can take a logical printer name as a parameter; the
default printer will be used if no parameter is provided.
default printer will be used if no parameter is provided.
The Label Designer reads the list of logical names from the BC2000.cfg file
and allows the user to select a printer from that list.
and allows the user to select a printer from that list.
File Type
This section of BC2000.cfg defines a default file type and delimiter for input to
the Formatter. The default built into the Formatter is Delimited file type with a
delimiter character of ‘~’. The defaults can be overridden on the command line
or in a job file.
the Formatter. The default built into the Formatter is Delimited file type with a
delimiter character of ‘~’. The defaults can be overridden on the command line
or in a job file.
[File Type]
Type = DELIMITED
#Type=FIXED
DELIMITER =~
#DELIMITER =,
#DELIMITER =.
The file BC2000.cfg must be in the UNIBAR base directory and must have at
least one valid PRTDEST element. If not, the program will not print.
least one valid PRTDEST element. If not, the program will not print.