Java

Aus Wiki
Wechseln zu: Navigation, Suche

Dokumentation

Foren

Beispiele



noch anpassen

   PageAttributes page = new PageAttributes();
   if(bLandscape)
     page.setOrientationRequested(PageAttributes.OrientationRequestedType.
                                  LANDSCAPE);
   else
     page.setOrientationRequested(PageAttributes.OrientationRequestedType.
                                  PORTRAIT);
   PrintJob prjob = f.getToolkit().getPrintJob(f, title, new JobAttributes(),page);

Computer