Hello,
How can I send a raw print, such as a text file or ZPL, to a printer setup in IDM? I am posting against /IDM/api/distribution/v1/submit, the input is type data and the target is a type print. If the filename in the input is PDF it makes it, if it's anything else (such as ZPL) the IDM job will eventually error out with unable to send to target. I've tried a lot of random extensions to try and get it to process, such as PRN, PRINT, TXT, RAW, BIN, BINARY, ZPL, ZEBRA, PCL, and others hoping to trigger it to send the raw contents directly to the printer and not try and process it through something. The PDF extension will work without error so the request is functioning.
{
"input":[
{
"type":"data",
"filename":"test.zpl",
"base64":"[base64 encoded ZPL]"
}
],
"targets":[
{
"type":"print",
"printerId":"[printer id]",
"noOfCopies":1,
"resolution":0,
"useRenderingHints":false
}
],
"batchId":"[batch ID for easier tracking in testing]",
"largeJob":false
}
Thanks