Skip to content

PrintImageSettings

An interface to set parameters associated with converting your data into printable data for the printers.

Overview

All print settings classes such as RJPrintSettings are inherited from this protocol. Properties in this interface are set to default value in initialize methods of each print settings class such as RJPrintSettings().

Properties

PrinterModel

A printer model you passed to the initialize method. For allowed values, see PrinterModel.

Declaration

PrinterModel getPrinterModel();

ScaleMode

A scale mode that specifies how your data is scaled in a print area of your printer. For allowed values, see ScaleMode.

Declaration

ScaleMode getScaleMode();
void setScaleMode(ScaleMode scaleMode);

ScaleValue

A scale value. This is effective when ScaleMode is ScaleValue.

Declaration

ScaleMode getScaleMode();
void setScaleMode(ScaleMode scaleMode);

ImageRotation

An image rotation that specifies the angle in which your data is placed in the print area. Rotation direction is clockwise. For allowed values, see Rotation.

Declaration

Rotation getImageRotation());
void setImageRotation(Rotation rotation);

Halftone

A way to rasterize your data. For allowed values, see Halftone.

Declaration

Halftone getHalftone();
void setHalftone(Halftone halftone);

HorizontalAlignment

A horizontal alignment that specifies how your data is placed in the printable area. For allowed values, see HorizontalAlignment.

Declaration

HorizontalAlignment getHAlignment();
void setHAlignment(HorizontalAlignment hAlignment);

VerticalAlignment

A vertical alignment that specifies how your data is placed in the printable area. For allowed values, see VerticalAlignment.

Declaration

VerticalAlignment getVAlignment();
void setVAlignment(VerticalAlignment vAlignment);

CompressMode

A compress mode that specifies how to compress your data. For allowed values, see CompressMode.

Declaration

CompressMode getCompress();
void setCompress(CompressMode compress);

HalftoneThreshold

A threshold value. This is effective when the Halftone is Threshold.

Declaration

int getHalftoneThreshold();
void setHalftoneThreshold(int halftoneThreshold);

NumCopies

The number of copies you print.

Declaration

int getNumCopies();
void setNumCopies(int numCopies);

SkipStatusCheck

Whether or not to check the status before printing.

Declaration

boolean isSkipStatusCheck();
void setSkipStatusCheck(boolean skipStatusCheck);

PrintQuality

A priority that is print speed or print quality. Whether or not this has an effect is depend on your printer.

Declaration

PrintQuality getPrintQuality();
void setPrintQuality(PrintQuality printQuality);

Supported printers for each enumerator are as below.

Enumerator Supported Printer
Best All printer
Fast QL series, TD-2XXX series (only when the 'resolution' is Normal)

Types

CompressMode

Declaration

enum CompressMode {
    None,
    Tiff,
    Mode9,
}

Halftone

Declaration

enum Halftone {
    Threshold,
    ErrorDiffusion,
    PatternDither,
}

HorizontalAlignment

Declaration

enum HorizontalAlignment {
    Left,
    Center,
    Right,
}

Orientation

Declaration

enum Orientation {
    Portrait,
    Landscape,
}

PrintQuality

Declaration

enum PrintQuality {
    Best,
    Fast,
}

Resolution

Declaration

enum Resolution {
    Low,
    Normal,
    High,
}

ScaleMode

Declaration

enum ScaleMode {
    ActualSize,
    FitPageAspect,
    FitPaperAspect,
    ScaleValue,
}

VerticalAlignment

Declaration

enum VerticalAlignment {
    Top,
    Center,
    Bottom,
}

Rotation

Declaration

enum Rotation {
    Rotate0,
    Rotate90,
    Rotate180,
    Rotate270,
}

Deprecates

Deprecated

PrintOrientation

Please use ImageRotation instead.