Interface IPrintService
.NET interface skeleton to be manually developed following https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/print/PrintService.html
public interface IPrintService
Properties
Attributes
PrintServiceAttributeSet Attributes { get; }
Property Value
Name
String Name { get; }
Property Value
ServiceUIFactory
ServiceUIFactory ServiceUIFactory { get; }
Property Value
SupportedAttributeCategories
Class[] SupportedAttributeCategories { get; }
Property Value
- Class[]
SupportedDocFlavors
DocFlavor[] SupportedDocFlavors { get; }
Property Value
Methods
AddPrintServiceAttributeListener(PrintServiceAttributeListener)
void AddPrintServiceAttributeListener(PrintServiceAttributeListener arg0)
Parameters
CreatePrintJob()
DocPrintJob CreatePrintJob()
Returns
GetAttribute<T>(Class)
T GetAttribute<T>(Class arg0) where T : IPrintServiceAttribute, new()
Parameters
Returns
- T
T
Type Parameters
GetDefaultAttributeValue(Class)
object GetDefaultAttributeValue(Class arg0)
Parameters
Returns
GetSupportedAttributeValues(Class, DocFlavor, AttributeSet)
object GetSupportedAttributeValues(Class arg0, DocFlavor arg1, AttributeSet arg2)
Parameters
arg0Classarg1DocFlavorarg2AttributeSet
Returns
GetUnsupportedAttributes(DocFlavor, AttributeSet)
AttributeSet GetUnsupportedAttributes(DocFlavor arg0, AttributeSet arg1)
Parameters
arg0DocFlavorarg1AttributeSet
Returns
IsAttributeCategorySupported(Class)
bool IsAttributeCategorySupported(Class arg0)
Parameters
Returns
IsAttributeValueSupported(Attribute, DocFlavor, AttributeSet)
bool IsAttributeValueSupported(Attribute arg0, DocFlavor arg1, AttributeSet arg2)
Parameters
arg0Attributearg1DocFlavorarg2AttributeSet
Returns
IsDocFlavorSupported(DocFlavor)
bool IsDocFlavorSupported(DocFlavor arg0)
Parameters
Returns
RemovePrintServiceAttributeListener(PrintServiceAttributeListener)
void RemovePrintServiceAttributeListener(PrintServiceAttributeListener arg0)