How to get the ZT411 printer status

// Expert user has replied.
L Lee Qian 2 years 2 months ago
185 1 0

On windows, I want to get ZT411 printer status, such as paper out、paper jam、 etc.
1、I use windows API, such as GetPrinter, I only can get offline status , can not get any others status, always return 0.
2、I use link_os_sdk, but it can not communicate, always throw error.

Is there any other way, who can help me. thanks.

Please Register or Login to post a reply

1 Replies

S Steven Si

When using the Windows API, it talks to the printer's driver via the Windows print spooler service. It has limited accessibility to printer's status, as Zebra printers do not support the Windows print spooler service fully.

The Link-OS SDK for PC-Java or for PC-.NET provides the API to connect to Zebra printers directly in various ways, such as Network connection or USB connection. It also provides API to get the full status from the printer, i.e. the getCurrentStatus(). There are working demo projects in the respectively folder of the SDK. Start with these demo projects first to get familiar with the basic capability.

 

CONTACT
Can’t find what you’re looking for?