change the printer for this print job to service . subclasses that support setting the print service override this method . throws printerexception when the class does n't support setting the printer , the service does n't support pageable or printable interfaces for 2d print output . concode_field_sep PrintService printer concode_field_sep void setJobName concode_elem_sep void cancel concode_elem_sep boolean isCancelled concode_elem_sep PageFormat defaultPage concode_elem_sep PageFormat defaultPage concode_elem_sep PrinterJob getPrinterJob concode_elem_sep String getJobName concode_elem_sep PageFormat pageDialog concode_elem_sep PageFormat pageDialog concode_elem_sep void setPrintable concode_elem_sep void setPrintable concode_elem_sep PrintService getPrintService concode_elem_sep StreamPrintServiceFactory[] lookupStreamPrintServices concode_elem_sep void print concode_elem_sep void print concode_elem_sep boolean printDialog concode_elem_sep boolean printDialog concode_elem_sep PageFormat validatePage concode_elem_sep void setCopies concode_elem_sep String getUserName concode_elem_sep void setPageable concode_elem_sep PrintService[] lookupPrintServices concode_elem_sep int getCopies
void function ( PrintService arg0 ) { printer = arg0 ; }