Where the margin ID and the feed mark of a new sheet would go on a printer
const url = 'https://example.com/api/v1/sheets/margin-check?type=example&printer=example';const options = {method: 'GET', headers: {'X-Label-Hub-Key': '<X-Label-Hub-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/sheets/margin-check?type=example&printer=example' \ --header 'X-Label-Hub-Key: <X-Label-Hub-Key>'What the first job of a new sheet of the type would do on this printer and tray: the band and corner of the margin ID, whether a QR is drawn next to it, and whether the feed-direction mark prints (in the hub’s current language). printable=false means no margin band is deep enough: the sheet can still be created and the ID added by hand. Read-only.
Authorizations
Abschnitt betitelt „Authorizations“Parameters
Abschnitt betitelt „Parameters“Query Parameters
Abschnitt betitelt „Query Parameters“Responses
Abschnitt betitelt „Responses“Successful Response
Whether, where and how the margin ID and the feed mark fit a sheet type on a printer.
object
Room of each margin band in mm, uncapped; negative if there is none.
object
Whether the feed-direction mark prints, in the hub’s current language.
Whether the margin ID fits somewhere at all.
Whether a QR is drawn next to the margin text.
Example
{ "band": "top", "corner": "top_left"}These credentials may not use this printer.
Unknown printer (printer_not_found) or sheet type.
Not a page printer (media_kind_mismatch) or it is disabled.
Invalid request (invalid_request) or an unknown tray.