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 Details

    • advanced

    • copies

      Number of copies to print. The option is a: int 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 int type. Default: 1 Group: producer
      Parameters:
      copies - the value to set
      Returns:
      the dsl builder
    • docFlavor

      Sets DocFlavor to use. The option is a: javax.print.DocFlavor 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 javax.print.DocFlavor type. Group: producer
      Parameters:
      docFlavor - the value to set
      Returns:
      the dsl builder
    • flavor

      Sets DocFlavor to use. The option is a: java.lang.String 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: java.lang.String 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: java.lang.String 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: java.lang.String type. Group: producer
      Parameters:
      mimeType - the value to set
      Returns:
      the dsl builder
    • orientation

      Sets the page orientation. The option is a: java.lang.String type. Default: portrait Group: producer
      Parameters:
      orientation - the value to set
      Returns:
      the dsl builder
    • printerPrefix

      default PrinterEndpointBuilderFactory.PrinterEndpointBuilder printerPrefix(String 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: java.lang.String type. Group: producer
      Parameters:
      printerPrefix - the value to set
      Returns:
      the dsl builder
    • sendToPrinter

      default PrinterEndpointBuilderFactory.PrinterEndpointBuilder sendToPrinter(boolean sendToPrinter)
      etting this option to false prevents sending of the print data to the printer. The option is a: boolean type. Default: true Group: producer
      Parameters:
      sendToPrinter - the value to set
      Returns:
      the dsl builder
    • sendToPrinter

      default PrinterEndpointBuilderFactory.PrinterEndpointBuilder sendToPrinter(String sendToPrinter)
      etting this option to false prevents sending of the print data to the printer. The option will be converted to a boolean 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: java.lang.String type. Default: one-sided Group: producer
      Parameters:
      sides - the value to set
      Returns:
      the dsl builder