6.8 Medias sizes
GET http://{{rip_ip}}:5438/devices/{{device_id}}/mediasizes
Gets the list of pre-defined media sizes for the device.
Response
Array of objects containing:
- Name (string) : Name of the media size.
- Transverse (bool, optional) : True when the sheet is physically rotated in the device, compared to its definition.
- Roll (bool) : True when it is a media size is a roll, else it is a cut sheet.
- Width (number) : The width including margins expressed in PF-units (1/18th of an inch).
- Height (number) : The height including margins expressed in PF-units (1/18th of an inch).
- Margins (array, optional) : Array of number describing the non-printable margins in the order: Left, Right, Top, Bottom.
Errors
- 404 Not Found :
{"Message":"Device not found"}