This action diverts the print job to a file. Instead of sending the created print file to a printer port as defined in the printer driver, the printout is redirected to a file. You can append data to an existing file, or overwrite it.
This action enables you to capture printer commands in a separate file.
The action instructs Automation Builder module to redirect printing – as a result, the labels are not going to be printed. Make sure the action is followed by the Print Label action.
Note | |
---|---|
Loftware Automation runs as service under defined Windows user account. Make sure this user account has privileges accessing the specified folder with read/write permissions. For more information, see section Access to Network Shared Resources in the Loftware Automation user guide. |
Note | |
---|---|
Redirect Printing to File action is useful for printing several different labels (.NLBL files) to a network printer while retaining the correct order of labels. If multiple .NLBL files are printed from the same trigger, Automation Builder sends each label to the printer in a separate print job, even if the target printer is the same for both labels. If a network printer is used, job of another user can be inserted between two jobs the trigger must send together. Using this action, you can append print data into the same file and send its contents to the printer using the Send Data to Printer action. |
File group of settings defines how the file selection for redirecting is done.
-
File name:specifies the file name. It can either be hard-coded or dynamically defined using an existing or a newly created variable.
Use UNC syntax for network resources. For more information, see section Access to Network Shared Resources in Loftware Automation user guide.
Note | |
---|---|
When using this action, make sure your user account has sufficient privileges for accessing the specified folder with read/write permissions. |
File write mode group of settings selects how the file is treated in case of repeated redirects.
-
Overwrite the file: if the specified file already exists on the disk, it is going to be overwritten.
-
Append data to the file: the job file is added to the existing data in the provided file.
Persistence group controls the continuity of the redirect action. It defines the number of Print Label actions that are affected by the Redirect Printing to File action.
-
Apply to next print action: specifies for the print redirect to be applicable to the next Print Label action only (single event).
-
Apply to all subsequent print actions: specifies for the print redirect to be applicable to all Print Label action defined after the current Redirect Printing to File action.
Note | |
---|---|
The action only redirects printing. Make sure it is followed by the Print Label action. |