PageModeAreaParameter
Printing area setting parameters in page mode
Constructor |
|
---|---|
Initialize object |
Property |
||
---|---|---|
Printing area width (mm) |
||
Printing area height (mm) |
||
X position of the start position (top left) of the printing area (mm) |
||
Y position of the start position (top left) of the printing area (mm) |
Method |
|
---|---|
Set X position of the start position (top left) of the printing area |
|
Set Y position of the start position (top left) of the printing area |
Valid range of printing area
The width of the printing area should be set to 3mm or more and less than the printing area of the printer. The printer’s default printing area width is set as shown in the table below. It can also be set up usingsettingPrintableArea(_ width: Double)method.
The height of the printing area should be set at least 3mm and less than 300mm.
addPageMode(_ parameter: StarXpandCommand.Printer.PageModeAreaParameter, _ builder: StarXpandCommand.PageModeBuilder)method allows you to set a new printing area within the current printing area. The new printing area must fit within the current printing area.
Model
Initial value of printing area width
TSP100IV series
72mm
mPOP series
48mm
mC-Print2 series
48mm
mC-Print3 series
72mm
mC-Label3 series
72mm
SM-S210i series
48mm
SM-S230i series
48mm
SM-T300i series
72mm
SM-T400i series
104mm
Note
If the width or height of the printing area is less than the valid range, the printing data is not generated.
If the width or height of the printing area exceeds the valid range, print results may be distorted.
When setting a printing area that does not fit within the current printing area, the common area between the two areas is set as a new printing area.