Skip to content

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 ​

PropertyTypeDescription
colorMode?ColorModeOwn 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?ArgPrintingLogoLogo to place into this printing. Takes precedence over ArgPrintJob.logo.
maxArea?numberMaximum motive area in square millimeters (motive width × height). Overrides the catalog value.
maxColors?numberMaximum number of logo colors (relevant for the Pantone color mode). Overrides the catalog value.
maxDiameter?numberMaximum 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?numberMaximum motive height in millimeters. Overrides the catalog value.
maxWidth?numberMaximum 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.
printPositionCodestringPrint position code, for example front. Exact/Partial: the TronCloud code. Own: your own code.
printPositionDisplayCode?stringPrint position code to display (and store in the print job) instead of printPositionCode.
printPositionDisplayName?stringPrint position name to display instead of the catalog name. In Own data mode: the position name.
printTechnologyCodestringPrint technology code, for example PAD03. Exact/Partial: the TronCloud code. Own: your own code.
printTechnologyDisplayCode?stringPrint technology code to display (and store in the print job) instead of printTechnologyCode.
printTechnologyDisplayName?stringPrint technology name to display instead of the catalog name. In Own data mode: the technology name.

Czech Republic – The Country for the FutureFunded by the European Union – NextGenerationEUThe project was implemented within the The Country for the Future programme of the Ministry of Industry and Trade and co-financed by the European Union under NextGenerationEU.Support · Examples

Czech Republic – The Country for the FutureFunded by the European Union – NextGenerationEUThe project was implemented within the The Country for the Future programme of the Ministry of Industry and Trade and co-financed by the European Union under NextGenerationEU.Support · Examples