home *** CD-ROM | disk | FTP | other *** search
- package sun.awt.win32;
-
- import com.ms.awt.GraphicsX;
- import java.awt.Dimension;
- import java.awt.Graphics;
- import java.io.IOException;
-
- public class Win32PrintJob {
- private GraphicsX w32g;
- String title;
- Dimension pageDimension;
- int pageResolution;
- boolean lastFirst;
- int pageCount;
- int printerDC;
-
- public Graphics getGraphics() {
- ++this.pageCount;
- this.w32g = new GraphicsX(this);
- return (Graphics)this.w32g;
- }
-
- public Dimension getPageDimension() {
- return this.pageDimension;
- }
-
- public int getPageResolution() {
- return this.pageResolution;
- }
-
- public Win32PrintJob(String var1) throws IOException {
- this.title = var1;
- this.pageDimension = new Dimension(816, 1056);
- this.pageResolution = 96;
- }
-
- public boolean lastPageFirst() {
- return this.lastFirst;
- }
-
- public void end() {
- this.w32g.close(this);
- }
- }
-