trigger
Trigger a print, either by generating a pulse, or setting the trigger level, which can be used with the terminate feature to start and stop printing.
Parameter
| Key | Type | Description |
|---|---|---|
| printer | string | Printer ID. Required if more than one printer is available. |
| active | boolean | If present will set the trigger level. A pulse will be generated if not present. |
| position | number | Optional position in nanometers to trigger at. If neither position nor positionMeters is given, triggers immediately. |
| positionMeters | number | Optional position in meters to trigger at, as reported by getSpeedInfo. Cannot be combined with position. v5.4 |
Return value
null