Long Delays on SendFileToPrinter API Print Jobs

// Expert user has replied.
M Michael Stull 3 weeks 3 days ago
35 1 0

I'm using the Zebra SendFileToPrinter paid API to send PDF's from my events website to a ZD621 that will be located onsite for an upcoming conference. The API calls go through and receive a 200 response code, however I am getting extremely large delays upwards of 3+ minutes between when the website receives a successful response and when the to when the badge actually begins printing. Obviously we can't have people standing that long to print their badges. Is there something I need to do besides send the POST request and wait for a response? The delay seems intermittent/random.

Please Register or Login to post a reply

1 Replies

S Steven Si

Does the delay only happen when sending PDF files via the SendFileToPrinter API? Does the ZD621 have the latest version of the PDF emulation installed? Prior to the PDF emulation v2.12, there was a known issue about the delay when sending PDF files via the SendFileToPrinter API. The issue has been fixed since the v2.12. Make sure the PDF emulation on your ZD621 is v2.12 (apl.version) or later.

// SGD to retrieve the PDF emulation version on the printer
! U1 getvar "apl"

// Output
Received:239 bytes 
apl.
apl.enable : pdf , Choices: apl-d,apl-i,pdf,none
apl.framework_version : 1.4 
apl.version : 2.12 
apl.installed_versions : apl-d:2.0,apl-i:2.0,pdf:2.12, 
apl.settings :  
apl.o.
apl.o.graphics_byte_width : 48 , Choices: 0-255
CONTACT
Can’t find what you’re looking for?