Skip to content

Latest commit

 

History

History
83 lines (51 loc) · 2.25 KB

File metadata and controls

83 lines (51 loc) · 2.25 KB

Epilog PrintAPI Runner

This executable calls the Epilog PrintAPI to generate a print file from an artwork svg file and a settings json file. That file can then be saved or sent to a laser system.

Usage

Windows

epilog_print_api_runner.exe --machine-type edge12 --input-svg example.svg --input-settings example.json

Linux

./epilog_print_api_runner --machine-type edge12 --input-svg example.svg --input-settings example.json

Wasmtime

wasmtime --dir=. epilog_print_api_runner.wasi.wasm --machine-type edge12 --input-svg example.svg --input-settings example.json

Arguments

-i, --input-svg <INPUT_SVG>

The input artwork svg file.

-s, --input-settings <INPUT_SETTINGS>

The input settings json file.

See the Json Settings Document on how to form the settings json file.

-m, --machine-type <MACHINE_TYPE> (Optional)

The target machine type that the output is being generated for.

The available machine-type values are:

  • pro24
  • pro32
  • pro36
  • pro48
  • edge12 [default]
  • edge24
  • edge36
  • maker12
  • maker24
  • maker36
  • g100_4x4
  • g100_6x6

-j, --json-output (Optional)

If this option is specified, output will be generated in json format instead of as a print file. This can be useful for debugging.

Note: This cannot be specified in conjunction with the --ip-addr/a option.

-a, --ip-addr <IP_ADDR> (Optional)

The IP address of the engraver to send the generated print file to.

-o, --output-path <OUTPUT_PATH> (Optional)

A file to store the resulting generated data.

If the file does not exist, one will be created. However, the directory that will contain the output file must exist. The output file will always have a '.prn file extension (or .json if the --json-output option is specified).

If this option is not specified, an output file with the same base name as the input svg file will be written to in the working directory of the epilog_print_api_runner executable.

--to-stdout

If this option is specified, the generated output will be sent to stdout.

-h, --help

Prints helpful information about using the epilog_print_api_runner executable to stdout.

-V, --version

Prints the Epilog PrintAPI version to sdtout.