Perform basic print job.
POST/api/web/v1/printers/:printerId/print
Perform basic print job.
Request
Path Parameters
Possible values: Value must match regular expression [a-fA-F0-9-]{32,36}
The unique 32-36 character id obtained from the Get All Printers request. Example - 0b0db90a-6091-416f-8559-2f2181e941c3
- application/json
Body
required
Array [
]
Array [
]
Array [
]
billing
object
The printer hopper to use
magstripe
object
back
object
Possible values: [HIGH
, LOW
]
Coercivity
Track 1 data
Track 2 data
Track 3 data
Possible values: [IAT
, AAMVA
, NTT
, PRINTER
]
Track type
front
object
Possible values: [HIGH
, LOW
]
Coercivity
Track 1 data
Track 2 data
Track 3 data
Possible values: [IAT
, AAMVA
, NTT
, PRINTER
]
Track type
print
object
back
object[]
A set of base64 url encoded image (JPEG or PNG) that represents the back side of the card. One image per print layer (e.g. UV, Color, Black) may be provided.
A base64 url encoded image (JPEG or PNG). For BLACK layer, it is advised to use black and white image with 1bit per pixel and 1013 * 638. Example choose black and white option and set the properties via MS paint.
The enhanceBlackLayer value defaults as FALSE. To enhance the quality of a black and white or grayscale image that is not 1 bit per pixel, set the enhanceBlackLayer value as TRUE.
Possible values: [COLOR
, UV
, BLACK
, PEEL_OFF
, NON_PRINTABLE_GENERIC
, NON_PRINTABLE_CHIP
, NON_PRINTABLE_MAGSTRIPE
, NON_PRINTABLE_SIGNATURE
]
front
object[]
A set of base64 url encoded image (JPEG or PNG) that represents the front side of the card. One image per print layer (e.g. UV, Color, Black) may be provided.
A base64 url encoded image (JPEG or PNG). For BLACK layer, it is advised to use black and white image with 1bit per pixel and 1013 * 638. Example choose black and white option and set the properties via MS paint.
The enhanceBlackLayer value defaults as FALSE. To enhance the quality of a black and white or grayscale image that is not 1 bit per pixel, set the enhanceBlackLayer value as TRUE.
Possible values: [COLOR
, UV
, BLACK
, PEEL_OFF
, NON_PRINTABLE_GENERIC
, NON_PRINTABLE_CHIP
, NON_PRINTABLE_MAGSTRIPE
, NON_PRINTABLE_SIGNATURE
]
printerPreferences
object
Possible values: [PORTRAIT
, LANDSCAPE
]
Rotate back side card image 180 degrees?
Print bar codes using monochrome?
Print black image pixels using monochrome?
Possible values: >= 1
and <= 100000
The number of copies to print
Debow card?
Possible values: [false
, ALL
, FRONT
, BACK
]
Possible values: [PORTRAIT
, LANDSCAPE
]
Rotate front side card image 180 degrees?
Possible values: >= 1
and <= 6
The input hopper from which to select a card
lamination
object
Lamination option includes laminators for front and back.
back
object
Support for printers with 2 Laminators.
Possible values: [DO_NOT_APPLY
, APPLY_ONCE
, APPLY_TWICE
]
Possible values: [DO_NOT_APPLY
, APPLY_ONCE
, APPLY_TWICE
]
front
object
Support for printers with 2 Laminators.
Possible values: [DO_NOT_APPLY
, APPLY_ONCE
, APPLY_TWICE
]
Possible values: [DO_NOT_APPLY
, APPLY_ONCE
, APPLY_TWICE
]
Rewrite card?
Possible values: [false
, YMCT_FRONT_K_BACK
, YMC_FRONT_KT_BACK
, K_FRONT_YMCT_BACK
, YMC_FRONT_K_BACK
, K_FRONT_YMC_BACK
, K_FRONT_YMCKT_BACK
, KT_FRONT_YMCKT_BACK
, YMCKTT_FRONT_K_BACK
, YMCKFT_FRONT_K_BACK
, MTT_FRONT_K_BACK
]
Possible values: [true
, false
, 1
, 2
, 3
]
Possible values: [true
, false
, 1
, 2
, 3
]
Topcoat card?
smartcard
object
commands
object[]
Possible values: Value must match regular expression [a-fA-F0-9]*|Connect|CONNECT|connect|Disconnect|DISCONNECT|disconnect|Reset|RESET|reset
Possible values: Value must match regular expression [a-fA-F0-9*]*
Possible values: [APDU
, COUPLER
]
Responses
- 200
- 400
- 401
- 404
- 500
Accepted
- application/json
- Schema
- Example (from schema)
Schema
printStatus
object
Possible values: Value must match regular expression [a-fA-F0-9-]{32,36}
{
"printStatus": {
"id": "aa123-bb456-cc789-dd890-ee123-fffee4",
"link": "http://localhost/my-resource/aa123-bb456-cc789-dd890-ee123-fffee4"
}
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
The server error code
A human-readable representation of the error
The target of the error
{
"code": "string",
"message": "string",
"target": "string"
}
Authorization information is missing or invalid
- application/json
- Schema
- Example (from schema)
Schema
The server error code
A human-readable representation of the error
The target of the error
{
"code": "string",
"message": "string",
"target": "string"
}
The specified resource was not found
- application/json
- Schema
- Example (from schema)
Schema
The server error code
A human-readable representation of the error
The target of the error
{
"code": "string",
"message": "string",
"target": "string"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
Schema
The server error code
A human-readable representation of the error
The target of the error
{
"code": "string",
"message": "string",
"target": "string"
}