Type Definitions
PlotterCharacteristics
Properties:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
brand |
string | Name of the manufacturer of the device. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
buffer |
number | Size of the device's buffer in bytes (characters). |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
instructions |
Array.<string> | An array of all the 2-letter HPGL instruction codes supported by the device. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
model |
string | Model of the device. The library attempts to retrieve that information from the device itself. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
papers |
Object | Supported paper formats Properties
|
Characteristics of the plotter
Type:
- object
Rectangle
Properties:
Name | Type | Description |
---|---|---|
x |
Number | Position of the rectangle's top-left corner along the x axis. |
y |
Number | Position of the rectangle's topl-left corner along the y axis. |
width |
Number | Width of the rectangle. |
height |
Number | Height of the rectangle. |
A rectangle object with position (x, y) and dimensions (width, height).
Type:
- object