File print Version 7 (Python)
Action group: File system
Description
This action is intended to print the file to the default printer.
Action icon
Parameters
Input parameters
File - path to the file to which the action will be applied.
Settings
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
File | Path to the file to which the action will be applied. | Robin.FilePath | Yes |
Special conditions of use
Preliminary printer setup is required.
When using the “File print" action with pdf files, printing problems may occur. The reason for this is that there is no default program for working with pdf format.
Recommendations: in this case, one option is to use a free program to work with such files: Adobe - https://get.adobe.com/reader/otherversions. After installing, set it as a default program. You can do this in settings: "Default apps" > "Choose default apps by file type" > Find a PDF-file and select Adobe.
Example of use
Task
Print the file.
Solution
Use the "File print" action.
Implementation
- Move the "File print" action to the workspace.
- Set the "File print" action parameter.
- Click "Start" in the top panel.
Result
The program robot completed successfully. The file was printed.