2
Copyright (C) 2009 Volker Berlin (i-net software)
4
This software is provided 'as-is', without any express or implied
5
warranty. In no event will the authors be held liable for any damages
6
arising from the use of this software.
8
Permission is granted to anyone to use this software for any purpose,
9
including commercial applications, and to alter it and redistribute it
10
freely, subject to the following restrictions:
12
1. The origin of this software must not be misrepresented; you must not
13
claim that you wrote the original software. If you use this software
14
in a product, an acknowledgment in the product documentation would be
15
appreciated but is not required.
16
2. Altered source versions must be plainly marked as such, and must not be
17
misrepresented as being the original software.
18
3. This notice may not be removed or altered from any source distribution.
24
package sun.awt.windows;
26
import ikvm.awt.IkvmToolkit;
28
import java.awt.Graphics;
29
import java.awt.HeadlessException;
30
import java.awt.Toolkit;
31
import java.awt.image.BufferedImage;
32
import java.awt.print.PageFormat;
33
import java.awt.print.Pageable;
34
import java.awt.print.Paper;
35
import java.awt.print.Printable;
36
import java.awt.print.PrinterException;
37
import java.awt.print.PrinterJob;
39
import javax.print.PrintService;
40
import javax.print.attribute.PrintRequestAttributeSet;
42
import cli.System.Drawing.Printing.*;
44
import sun.print.PeekGraphics;
45
import sun.print.PrintPeer;
46
import sun.print.RasterPrinterJob;
47
import sun.print.Win32PrintService;
49
import ikvm.internal.NotYetImplementedError;
52
* @author Volker Berlin
54
public class WPrinterJob extends RasterPrinterJob{
57
protected void abortDoc(){
58
throw new NotYetImplementedError();
62
protected void endDoc() throws PrinterException{
63
throw new NotYetImplementedError();
67
protected void endPage(PageFormat format, Printable painter, int index) throws PrinterException{
68
throw new NotYetImplementedError();
72
protected double getPhysicalPageHeight(Paper p){
73
throw new NotYetImplementedError();
77
protected double getPhysicalPageWidth(Paper p){
78
throw new NotYetImplementedError();
82
protected double getPhysicalPrintableHeight(Paper p){
83
throw new NotYetImplementedError();
87
protected double getPhysicalPrintableWidth(Paper p){
88
throw new NotYetImplementedError();
92
protected double getPhysicalPrintableX(Paper p){
93
throw new NotYetImplementedError();
97
protected double getPhysicalPrintableY(Paper p){
98
throw new NotYetImplementedError();
102
protected double getXRes(){
103
throw new NotYetImplementedError();
107
protected double getYRes(){
108
throw new NotYetImplementedError();
112
protected void printBand(byte[] data, int x, int y, int width, int height) throws PrinterException{
113
throw new NotYetImplementedError();
117
protected void startDoc() throws PrinterException{
118
throw new NotYetImplementedError();
122
protected void startPage(PageFormat format, Printable painter, int index, boolean paperChanged)
123
throws PrinterException{
124
throw new NotYetImplementedError();