Printer.this

Constructs a new printer given a <code>PrinterData</code> object representing the desired printer. <p> You must dispose the printer when it is no longer required. </p>

@param data the printer data for the specified printer

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the specified printer data does not represent a valid printer </ul> @exception SWTError <ul> <li>ERROR_NO_HANDLES - if there are no valid printers </ul>

@see Device#dispose

  1. this()
  2. this(PrinterData data)
    class Printer

Meta