Skip to content

MWPrintSettings

Settings to print on MW series.

Overview

You use this object to set parameters to your printer such as a paper size. The images or PDFs you passed to print functions in PrinterDriver are converted to printable data for specified printer by using this settings. Therefore, you receive an error if the paper size you set to this object don't correspond with a actual paper size set in your printer.

Instance methods

MWPrintSettings

Initialize this class with your printer model.

Declaration

public MWPrintSettings(PrinterModel printerModel);

Parameters

Name Type Description
printerModel PrinterModel the printer you use

Return Value

An instance of this class.

copyPrintSettings

Create a new instance with new printer model.

Declaration

public MWPrintSettings copyPrintSettings(PrinterModel printerModel);

Parameters

Name Type Description
printerModel PrinterModel the printer you use

Return Value

An instance of this class.

Properties

paperSize

A paper size set in your printer. You need to check/set this value before printing. For allowed values, see PaperSize.

Declaration

public PaperSize getPaperSize();
public void setPaperSize(PaperSize paperSize);

Types

PaperSize

Paper sizes for MW series.

Declaration

public enum PaperSize {
    A6,
    A7,
}