Interface PrinterEndpointBuilderFactory.PrinterEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- PrinterEndpointBuilderFactory
public static interface PrinterEndpointBuilderFactory.PrinterEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Printer component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
copies
(int copies) Number of copies to print.Number of copies to print.Sets DocFlavor to use.Sets DocFlavor to use.Sets DocFlavor to use.Sets the stationary as defined by enumeration names in the javax.print.attribute.standard.MediaSizeName API.Sets MediaTray supported by the javax.print.DocFlavor API, for example upper,middle etc.Sets mimeTypes supported by the javax.print.DocFlavor API.orientation
(String orientation) Sets the page orientation.printerPrefix
(String printerPrefix) Sets the prefix name of the printer, it is useful when the printer name does not start with //hostname/printer.sendToPrinter
(boolean sendToPrinter) etting this option to false prevents sending of the print data to the printer.sendToPrinter
(String sendToPrinter) etting this option to false prevents sending of the print data to the printer.Sets one sided or two sided printing based on the javax.print.attribute.standard.Sides API.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
copies
Number of copies to print. The option is a: <code>int</code> type. Default: 1 Group: producer- Parameters:
copies
- the value to set- Returns:
- the dsl builder
-
copies
Number of copies to print. The option will be converted to a <code>int</code> type. Default: 1 Group: producer- Parameters:
copies
- the value to set- Returns:
- the dsl builder
-
docFlavor
Sets DocFlavor to use. The option is a: <code>javax.print.DocFlavor</code> type. Group: producer- Parameters:
docFlavor
- the value to set- Returns:
- the dsl builder
-
docFlavor
Sets DocFlavor to use. The option will be converted to a <code>javax.print.DocFlavor</code> type. Group: producer- Parameters:
docFlavor
- the value to set- Returns:
- the dsl builder
-
flavor
Sets DocFlavor to use. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
flavor
- the value to set- Returns:
- the dsl builder
-
mediaSize
Sets the stationary as defined by enumeration names in the javax.print.attribute.standard.MediaSizeName API. The default setting is to use North American Letter sized stationary. The value's case is ignored, e.g. values of iso_a4 and ISO_A4 may be used. The option is a: <code>java.lang.String</code> type. Default: na-letter Group: producer- Parameters:
mediaSize
- the value to set- Returns:
- the dsl builder
-
mediaTray
Sets MediaTray supported by the javax.print.DocFlavor API, for example upper,middle etc. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
mediaTray
- the value to set- Returns:
- the dsl builder
-
mimeType
Sets mimeTypes supported by the javax.print.DocFlavor API. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
mimeType
- the value to set- Returns:
- the dsl builder
-
orientation
Sets the page orientation. The option is a: <code>java.lang.String</code> type. Default: portrait Group: producer- Parameters:
orientation
- the value to set- Returns:
- the dsl builder
-
printerPrefix
Sets the prefix name of the printer, it is useful when the printer name does not start with //hostname/printer. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
printerPrefix
- the value to set- Returns:
- the dsl builder
-
sendToPrinter
etting this option to false prevents sending of the print data to the printer. The option is a: <code>boolean</code> type. Default: true Group: producer- Parameters:
sendToPrinter
- the value to set- Returns:
- the dsl builder
-
sendToPrinter
etting this option to false prevents sending of the print data to the printer. The option will be converted to a <code>boolean</code> type. Default: true Group: producer- Parameters:
sendToPrinter
- the value to set- Returns:
- the dsl builder
-
sides
Sets one sided or two sided printing based on the javax.print.attribute.standard.Sides API. The option is a: <code>java.lang.String</code> type. Default: one-sided Group: producer- Parameters:
sides
- the value to set- Returns:
- the dsl builder
-