|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Gpickle
Interface to pcl/pxl interpreter Uses Process to interpret and pipe the results back.
Constructor Summary | |
Gpickle()
|
Method Summary | |
int |
getImgHeight()
Accessor for image height. |
int |
getImgWidth()
Accessor for image width. |
java.awt.image.BufferedImage |
getPrinterOutputPage()
run the pcl interpreter with the current settings and return a buffered image for the page. |
int |
getPrinterPageCount()
run the pcl interpreter to get a total page count for the job. |
double |
getResX()
|
double |
getResY()
|
boolean |
getRTL()
|
boolean |
getTextAlpha()
|
static void |
main(java.lang.String[] args)
main for test purposes |
void |
setDeviceOptions(java.lang.String options)
|
void |
setJob(java.lang.String jobList)
A list of file names that comprise a job. |
void |
setPageNumber(int page)
Page number to display. |
void |
setRes(double xRes,
double yRes)
NB needs error handling. |
void |
setRTL(boolean on)
|
void |
setTextAlpha(boolean textAlpha)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Gpickle()
Method Detail |
public void setRTL(boolean on)
public boolean getRTL()
public boolean getTextAlpha()
public void setTextAlpha(boolean textAlpha)
public int getPrinterPageCount()
public void setDeviceOptions(java.lang.String options)
public java.awt.image.BufferedImage getPrinterOutputPage()
public void setJob(java.lang.String jobList)
public void setRes(double xRes, double yRes)
Positive
- between 5 and 5000public double getResX()
public double getResY()
public void setPageNumber(int page)
public int getImgHeight()
public int getImgWidth()
public static void main(java.lang.String[] args)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |