Set MIME type

Set MIME type

The advanced set meta data workflow component, Set MIME type, sets the print data stream used for the next merge to print, but it can also be used for setting the content type, that this is returned from a web service call to InterFormNG2 via REST webservice Basic or REST webservice OAuth2.0

.

The set MIME type component has this parameter:

 

NG2WorkflowSetMIMEtype0001

 

Mime type

The printer data stream to be generated on subsequent merge(s) in the current workflow. The Mime type can be either selected from the drop down list or set via an XPath expression.

To identify the text to insert in an XPath expression you should consider to select the specific mime type in the drop down list, and then change to XPath via the rightmost icon.

 

This workflow component works like setting the workflow variable, interform.mimeType, but it is normally easier with this component.

 

 

You can choose to set the Mime-type with one of the values from drop down list:

 

NG2WorkflowSetMimeType002

 

 

Or you can also click the icon on the right to set the mime type via an Xpath expression:

 

NG2WorkflowSetMimeType003

 

NG2WorkflowSetMimeType004

    • Related Articles

    • Set MIME type for printer selection

      The advanced set meta data workflow component, Set MIME type for printer selection, sets the MIME type for following merges in the current workflow to fit the printer name, that was previously selected. The mime type identifies the type of print data ...
    • Mime type advanced settings

      Mime type advanced settings: This section covers mime type (printer language specific) specific settings in InterFormNG2. Depending on the type of mime type (the printer language, that is to be used for the specific printer), one of these options are ...
    • Advanced Set meta data workflow components

      The advanced set meta data workflow components are: 1.Email details. Sets various email meta data like subject, receivers and sender. 2.Extra PCL commands. With this you can add your own PCL commands in the PCL output from InterFormNG2 e.g. for tray ...
    • Set paper type

      The advanced set meta data workflow component, Set paper type, sets the paper type (for tray selection) for the next merge(s) to PCL output. This can also be set dynamically in the template with the design element, print settings. Alternatives are: ...
    • Set Printing properties component

      The set printing properties workflow component is relevant, if you are going to print out on a PCL compatible printer. So if want to use the features below, then you need to ensure, that this is set prior to the merge into PCL. You can also consider ...