Skip to content

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);

or

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

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);

or

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

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);

or

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

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
TD-2300 series TD-2310D_203, TD-2310D_300, TD-2320D_203, TD-2320D_300, TD-2320DF_203, TD-2320DF_300, TD-2320DSA_203, TD-2320DSA_300, TD-2350D_203, TD-2350D_300, TD-2350DF_203, TD-2350DF_300, TD-2350DSA_203, TD-2350DSA_300, TD-2350DFSA_203, TD-2350DFSA_300