* the application's printjob
*/
private void spoolToService(PrintRequestAttributeSet attributes)
throws PrinterException {
DocPrintJob job = getPrintService().createPrintJob();
Doc doc = new PageableDoc(getPageable());
if (attributes == null) {
attributes = new HashPrintRequestAttributeSet();
}
try {
job.print(doc, attributes);
} catch (PrintException e) {
throw new PrinterException(e.toString());
}
}