Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Configure the printer.properties file

Attribute

Explanation

url

Server url from which you are trying to download the print labels. (e.g. https://test.openspecimen.org)

username

Username to login with the “Manage Print Jobs” option enabled on the user profile page.

It is recommended to create a dedicated user who has no role assigned but only has “Manage Print Jobs” enabled.

password

Password of the user.

data_directory

Data directory path to store program data.

Default: “./"

download_directory

Absolute path of the directory where the command files should be created on the printer VM.

Default: ./print_labels

directory_per_design

Values: true/false

Default: false

Setting indicating whether a different directory should be created for each label type or all files should be placed in the same directory.

printers

Comma-separated list of printer names. This is useful if you have multiple locations from where you print. Using this you can download files for specific printers.

polling_interval

Polling interval in seconds to specify how often the server should be checked for the new command files.

Default: 60

e.g. printer.properties file.

...

  1. Navigate to os-print-client directory.

  2. Configure the printer.properties file.

  3. Command to run the program: java -Dconf=printer.properties -jar os-printer-client-101.21.0.jar