public interface FormatUtilLinkOs
Modifier and Type | Method and Description |
---|---|
void |
printStoredFormatWithVarGraphics(String storedFormatPath,
java.util.Map<Integer,String> vars)
Prints a stored format on the printer, filling in the fields specified by the
Map . |
void |
printStoredFormatWithVarGraphics(String storedFormatPath,
java.util.Map<Integer,String> vars,
String encoding)
Prints a stored format on the printer, filling in the fields specified by the
Map . |
void |
printStoredFormatWithVarGraphics(String storedFormatPath,
java.util.Map<Integer,ZebraImageI> imgVars,
java.util.Map<Integer,String> vars)
Prints a stored format on the printer, filling in the fields specified by the maps.
|
void |
printStoredFormatWithVarGraphics(String storedFormatPath,
java.util.Map<Integer,ZebraImageI> imgVars,
java.util.Map<Integer,String> vars,
String encoding)
Prints a stored format on the printer, filling in the fields specified by the maps.
|
void printStoredFormatWithVarGraphics(String storedFormatPath, java.util.Map<Integer,String> vars) throws ConnectionException
Map
. The values of any
format variables will be encoded using the default encoding type. storedFormatPath
- the location of the file on the printer (e.g. "E:FORMAT.ZPL").vars
- a map which contains the key/value pairs for the stored format. For ZPL formats, the key number
should correspond directly to the number of the field in the format. For CPCL formats, the values will be passed
in ascending numerical order.ConnectionException
- if an I/O error occurs.void printStoredFormatWithVarGraphics(String storedFormatPath, java.util.Map<Integer,String> vars, String encoding) throws ConnectionException
Map
. The values of any
format variables will be encoded using the provided encoding
type. eg. UTF-8. storedFormatPath
- the location of the file on the printer (e.g. "E:FORMAT.ZPL").vars
- a map which contains the key/value pairs for the stored format. For ZPL formats, the key number
should correspond directly to the number of the field in the format. For CPCL formats, the values will be passed
in ascending numerical order.encoding
- a character-encoding name (e.g. UTF-8)ConnectionException
- if an I/O error occurs.void printStoredFormatWithVarGraphics(String storedFormatPath, java.util.Map<Integer,ZebraImageI> imgVars, java.util.Map<Integer,String> vars) throws ConnectionException
imgVars
will first be dithered and then sent down the the printer as SDK01.GRF-SDK99.GRF. These GRF
files will then be used when printing the format and overwritten each time the method is called with new
images.The values of any format variables will be encoded using the default encoding type.storedFormatPath
- the location of the file on the printer (e.g. "E:FORMAT.ZPL").imgVars
- a map which contains the key/value pairs for the images to be used in the stored format. For ZPL
formats, the key number should correspond directly to the number of the field in the format. For CPCL formats,
the values will be passed in ascending numerical order.vars
- a map which contains the key/value pairs for the text variables to be used in the stored format. For
ZPL formats, the key number should correspond directly to the number of the field in the format. For CPCL
formats, the values will be passed in ascending numerical order.ConnectionException
- if an I/O error occursvoid printStoredFormatWithVarGraphics(String storedFormatPath, java.util.Map<Integer,ZebraImageI> imgVars, java.util.Map<Integer,String> vars, String encoding) throws ConnectionException
imgVars
will first be dithered and then sent down the the printer as SDK01.GRF-SDK99.GRF. These GRF
files will then be used when printing the format and overwritten each time the method is called with new
images.The values of any format variables will be encoded using the provided encoding
type. eg.
UTF-8.storedFormatPath
- the location of the file on the printer (e.g. "E:FORMAT.ZPL").imgVars
- a map which contains the key/value pairs for the images to be used in the stored format. For ZPL
formats, the key number should correspond directly to the number of the field in the format. For CPCL formats,
the values will be passed in ascending numerical order.vars
- a map which contains the key/value pairs for the text variables to be used in the stored format. For
ZPL formats, the key number should correspond directly to the number of the field in the format. For CPCL
formats, the values will be passed in ascending numerical order.encoding
- a character-encoding name (e.g. UTF-8)ConnectionException
- if an I/O error occurs.
© 2017 ZIH Corp. All Rights Reserved.