CustomPaperInfo

CustomPaperInfo class contains the custom paper information parameters.

Instance Methods

newCustomRollPaper

Initialize the CustomPaperInfo object, when you use Roll paper.

Declaration

CustomPaperInfo newCustomRollPaper(PrinterInfo.Model printerModel, 
                                   Unit unit, 
                                   float tapeWidth,
                                   float rightMargin,
                                   float leftMargin,
                                   float topMargin);

Return Value

CustomPaperInfo object

newCustomDiaCutPaper

Initialize the CustomPaperInfo object, when you use DieCut paper.

Declaration

CustomPaperInfo newCustomDiaCutPaper(PrinterInfo.Model printerModel, 
                                     Unit unit, 
                                     float tapeWidth,
                                     float tapeLength,
                                     float rightMargin,
                                     float leftMargin,
                                     float topMargin,
                                     float bottomMargin,
                                     float labelPitch);

Return Value

CustomPaperInfo object

newCustomMarkRollPaper

Initialize the CustomPaperInfo object, when you use MarkRoll paper.

Declaration

CustomPaperInfo newCustomMarkRollPaper(PrinterInfo.Model printerModel, 
                                       Unit unit,
                                       float tapeWidth,
                                       float tapeLength,
                                       float rightMargin,
                                       float leftMargin,
                                       float topMargin,
                                       float bottomMargin,
                                       float markPosition,
                                       float markHeight);

Return Value

CustomPaperInfo object

Types

ErrorParameter

enum to indicate error parameter name.

Declaration

enum ErrorParameter {
    InternalError,
    TapeWidthError,
    TapeLengthError,
    RightMarginError,
    LeftMarginError,
    TopMarginError,
    BottomMarginError,
    LabelPitchError,
    MarkPositionError,
    MarkHeightError,
}

ErrorDetail

enum to indicate error detail for each parameters.

Declaration

enum ErrorDetail {
    InternalError(-1, "Ask the support"),
    OverUpperLimitError(2, "Decrease the value"),
    BelowLowerLimitError(3, "Increase the value"),
    InternalPTDError(7, "Ask the support"),
}

Notes

Supported Model

Model Printer
RJ-3200 series RJ-3230B, RJ-3250WB
RJ-4000 series RJ-4030, RJ-4030Ai, RJ-4040
RJ-4200 series RJ-4250WB, RJ-4230B
TD-4000 series TD-4100N, TD-4000
TD-4000D series TD-4410D, TD-4510D, TD-4420DN, TD-4520DN, TD-4550NWB