Type Alias: ArgAddPrinting
ts
type ArgAddPrinting = object;A printing to add to the print job: a print position and print technology pair (ArgPrintJob.addPrintings).
Remarks
In Exact and Partial data mode the pair is looked up among the product's print options in TronCloud (codes are compared case-insensitively) and the print limits come from the catalog; the max* fields override them. A pair that the product doesn't have stops the editor with an error in Exact mode; in Partial mode it is dropped and the user selects print options instead (see EditorOptions.showSelectedPrintOptions).
In Own data mode you define the print option yourself: its codes and display names, colorMode, the limits and optionally ownBackgroundUrls.
Properties
| Property | Type | Description |
|---|---|---|
colorMode? | ColorMode | Own data mode: color mode of the print technology. Required there — the editor stops with an error without it. Ignored for print options from TronCloud. |
logo? | ArgPrintingLogo | Logo to place into this printing. Takes precedence over ArgPrintJob.logo. |
maxArea? | number | Maximum motive area in square millimeters (motive width × height). Overrides the catalog value. |
maxColors? | number | Maximum number of logo colors (relevant for the Pantone color mode). Overrides the catalog value. |
maxDiameter? | number | Maximum motive diameter in millimeters, for round print areas. Overrides the catalog value. Remarks When set, it takes precedence over maxWidth/maxHeight; the larger of the motive's width and height must not exceed it. |
maxHeight? | number | Maximum motive height in millimeters. Overrides the catalog value. |
maxWidth? | number | Maximum motive width in millimeters. Overrides the catalog value. Remarks The size is checked only when both maxWidth and maxHeight are known. |
ownBackgroundUrls? | string[] | URLs of background images for the mockup of this printing, used when the print option has no mockup in TronCloud (typically in Own data mode). Remarks The user picks the background from these images. When there is exactly one URL, the editor uses it directly without asking, unless EditorOptions.alwaysShowImageSelect is true. |
printPositionCode | string | Print position code, for example front. Exact/Partial: the TronCloud code. Own: your own code. |
printPositionDisplayCode? | string | Print position code to display (and store in the print job) instead of printPositionCode. |
printPositionDisplayName? | string | Print position name to display instead of the catalog name. In Own data mode: the position name. |
printTechnologyCode | string | Print technology code, for example PAD03. Exact/Partial: the TronCloud code. Own: your own code. |
printTechnologyDisplayCode? | string | Print technology code to display (and store in the print job) instead of printTechnologyCode. |
printTechnologyDisplayName? | string | Print technology name to display instead of the catalog name. In Own data mode: the technology name. |