Normally you need to register all printers, that you want to use with InterFormNG2, but it is possible to also use unregistered, dynamic printers with InterFormNG2, if you have a license for InterFormNG2, that includes support for unlimited number of printers.
If you have that, then you can print directly on any reachable printer without the need to register the printer first in InterFormNG2 and without the local spool system.
Unreachable printers are covered below.
The unregistered printers are in general handled in the way, that the workflow generates the required print data stream (mime type). This can be done with either of these workflow components:
Create Direct Protocol document
You also need to setup various predefined workflow variables in order to select the printer in question.
The related workflow variables are:
Predefined workflow variable (Printer metadata) |
Description |
---|---|
interform.printerAddress |
The IP-address (or DNS name) of the printer. |
interformng.shareName |
The share name used for LPD printing. |
interform.ippURI |
URI (Link) used for printers connected via Internet Printing Protocol (IPP) |
interform.ippUsername |
User name used for printers connected via Internet Printing Protocol (IPP) |
interform.ippPassword |
Password used for printers connected via Internet Printing Protocol (IPP) |
interform.mimeType |
Sets the mime type of the print output. Works like the set MIME type workflow component. Possible values are: x-application/zpl, application/vnd.hp-PCL, x-application/direct-protocol, application/pdf, application/javaprint. |
interform.as400.outputQueue |
If you want to print to an output queue on the AS400/iSeries/IBM i platform, then you can specify the name of the output queue here. For this to work you need to run InterFormNG2 on the IBM i platform. Examples of this can be used is found in example 3 in the section, Use a database to move a spooled file and example 3 in the section, Use translation file to link users with an output queue |
interform.as400.outputQueueLib |
Like the output queue above. This specifies the the library of the output queue. |
interform.printerResolution |
The resolution of the printer. This is especially relevant for label printers like ZPL and direct protocol. |
printer.smbDomain |
The domain for an unregistered smb connected printer. |
printer.smbPassword |
The password for the user Id below for an unregistered printer connected via smb. |
printer.smbUsername |
The user Id (matching the password in printer.smbPassword) for an unregistered printer connected vis smb. |
printer.uncPath |
The unc path to the unregistered printer, that is connected to as an unregistered smb printer. |
(All predefined variables are listed in the section: Predefined variables).
The directly unreachable printers can be used with InterFormNG2 in these manners:
Similar to the component above, except that InterFormNG2 prints via LPD (Line Printer Deamon). This can e.g. be used for printing via a print server, where you refer to the IP-address or DNS name of the print server and the share name of the connected printer.
You can consider to connect the printer via smb.
You can also consider to print via a remote client.