Print type
The predefined enumeration Print type (PrintType) defines output formats for Print documents, which affect the ribbon buttons in the export menu (sub category ‘Print’), among other things:
The list can be customised.
For the configuration of enumeration values, there is a separate configuration type ‘Print type settings’ (PrintTypeConfiguration) which contains some specific fields in addition to the ‘Icon URI’ (iconUri) field:
The Extension (extension) field defines the file extension for generated Print documents.. |
|
The ZPL DPI (zplDpi) field specifies the resolution (dots per inch) for Zebra printing (ZPL). |
|
The Mime type (mimeType) field defines the content type for generated Print documents. |
Uses for the 'Print type'
With interactive access via ribbon buttons in the ‘Print’ sub category (see also Available commands), the selection of the command determines the Print type, i.e. the output format that is to be generated.
The localisation of the enumeration value for the relevant Print type determines the labelling of the ribbon button.
►NOTE◄ An image/icon assigned in the 'Icon Uri' field does not appear in the ribbon button for the Print type, but does appear in Combobox elements for the Print type selection.To create Print documents via a profile call, the internal name (name) for the Print type must be specified in the ‘Print type’ parameter for the PrintPostExecutor.
►IMPORTANT◄ Not every Print type is supported by every Print document type. However, this compatibility with the output format is not a criterion for the selection of a print document by the Print document value resolver.To generate Print documents via a profile call, the internal name (name) for the Print type must be specified in the ‘Print type’ parameter for the PrintPostExecutor.
To be able to assign Print documents to a client-side printer via the Print service, a Print type with the prefix REMOTE_ (e.g. REMOTE_PDF) may need to be added.
The following values and localisations are predefined by default:
Ordinal |
Name |
Description |
Icon URI |
Extension |
ZPL DPI |
Mime type |
German |
English |
French |
0 |
|
empty |
empty |
|
0 |
application/pdf |
leer |
|
leer |
1 |
RTF |
empty |
empty |
rtf |
0 |
application/rtf |
leer |
RTF |
leer |
2 |
DOCX |
empty |
empty |
docx |
0 |
application/octet-stream |
leer |
Word |
leer |
3 |
XLSX |
empty |
empty |
xlsx |
0 |
application/octet-stream |
leer |
Excel |
leer |
4 |
TXT |
empty |
empty |
txt |
0 |
text/plain; charset=utf-8 |
leer |
Text |
leer |
5 |
HTML |
empty |
empty |
html |
0 |
text/html |
leer |
Web |
leer |
6 |
ZPL |
empty |
empty |
zpl |
200 |
text/plain |
leer |
Zebra |
leer |