Class PXLOutputDevice
- java.lang.Object
-
- com.levigo.jadice.server.ghostscript.OutputDevice
-
- com.levigo.jadice.server.ghostscript.PXLOutputDevice
-
- All Implemented Interfaces:
Serializable
public class PXLOutputDevice extends OutputDevice
The PXLOutputDevice generates HP PCL-XL, a graphic language understood by many recent laser printers.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PXLOutputDevice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getGhostscriptOutputDeviceName()
String
getOutputMimeType()
boolean
isColor()
void
setColor(boolean color)
Set whether to generate color PCL (true
) or black & white PCL (false
)-
Methods inherited from class com.levigo.jadice.server.ghostscript.OutputDevice
fillOptions
-
-
-
-
Method Detail
-
getGhostscriptOutputDeviceName
protected String getGhostscriptOutputDeviceName()
- Specified by:
getGhostscriptOutputDeviceName
in classOutputDevice
-
isColor
public boolean isColor()
- Returns:
- Whether to generate color PCL (true) or black & white PCL (false)
-
setColor
public void setColor(boolean color)
Set whether to generate color PCL (true
) or black & white PCL (false
)- Parameters:
color
-true
to generate color PCL,false
to generate black & white
-
getOutputMimeType
public String getOutputMimeType()
- Specified by:
getOutputMimeType
in classOutputDevice
-
-