blank labels on big jobs

// Expert user has replied.
D David Beccue 3 weeks 3 days ago
42 1 0

If I print a batch of 200+ labels, sometimes they end up printing blanks.  Especially if paper runs out and replaced to continue the job.  I suspect that I'm overflowing the buffer.  And my solution is to query U1 getvar memory.ram_free and ram_size to see a precentage of available memory left and pause sending data if it drops below 20%.   Does all of this sound reasonable?

Please Register or Login to post a reply

1 Replies

S Steven Si

The best way is to check the printer status with the following SGD before sending a label, and parse the return code based on the definition in the ~HS section in the ZPL Programming Guide, by checking on the flag f, which is the buffer full flag (1 = receive buffer full).

! U1 getvar "device.host_status"
CONTACT
Can’t find what you’re looking for?