Lines Matching refs:pageFormat
252 public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) {
260 int o = pageFormat.getOrientation();
268 System.out.println("ix="+pageFormat.getImageableX()+
269 " iy="+pageFormat.getImageableY());
270 g2d.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
274 g2d.drawRect(0,0,(int)pageFormat.getImageableWidth(),
275 (int)pageFormat.getImageableHeight());
277 g2d.drawRect(1,1,(int)pageFormat.getImageableWidth()-2,
278 (int)pageFormat.getImageableHeight()-2);