Mapmode Property - Citizen CT-D101 Series Programming Manual

Hide thumbs Also See for CT-D101 Series:
Table of Contents

Advertisement

2.3.37. MapMode property

Syntax
int MapMode
Attribute
Read/Write
Description
This property holds the mapping mode of the printer. The mapping mode defines the unit of measure
used for other properties, such as line heights and line spacing. The map mode values are as follows.
Value
CMP_MM_DOTS
CMP_MM_TWIPS
CMP_MM_ENGLISH
CMP_MM_METRIC
The method and the properties to be affected by the MapMode property are as follows.
PrintBitmapAsync method
SetNVBitmapAsync method
PrintBarcodeAsync method
PrintPDF417Async method
PrintQRCode method
PrintGS1DataBarStackedAsync method
UnitFeedAsync method
WatermarkPrintAsync method
PageModeArea property
PageModePrintArea property
PageModeHorizontalPosition property
PageModeVerticalPosition property
RecLineSpacing property
The ConnectAsync method must be complete before accessing this property. This property is initialized
to CMP_MM_DOTS at ConnectAsync method.
Set property
int SetMapMode (int mode)
Please specify the property value that you want to set in the parameter.
Return CMP_SUCCESS (0) in success. Please refer to
Get property
int GetMapMode ()
Returns the mapping mode that is set as the return value.
Example
printer.SetMapMode( ESCPOSConst.CMP_MM_DOTS );
await printer.UnitFeedAsync( 200 );
printer.SetMapMode( ESCPOSConst.CMP_MM_METRIC );
await printer.UnitFeedAsync( 2500 );
Meaning
The printer's dot width.
1/1440 of an inch.
0.001 inch.
0.01 millimeter.
: width, alignment
: width
: height, width, alignment
: moduleWidth, alignment
: moduleSize, alignment)
: moduleSize, maxSize, alignment
: ufCount
: pass, feed
69
CITIZEN UWP POS Print SDK - Programming Manual
"2.3.1. Return
value" for the error code except it.
// 200 dots feed
// 25 millimeter feed

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents