status


When i send a ZPL command to Zebra printer via serial port, it will return a message or not?


When I send a ZPL command
^XA^MUd^LH2,0^BY2,,80^FO24,32^BCN,,Y^FDYCBZ140123010^FS^XZ
to Zebra printer, will it return a message or not?
If it does, what message (success or something else) will I get from the return, please give me a example.
On the other hand, I know there is a command ~HS which can get the printer status.
When you send ZPL print commands to a Zebra printer, it generally will not respond. This is the case when a print job succeeds or fails. You will have to explicitly ask the printer for any information. Certain commands return responses, such as ~hi (as you mentioned) or ~hs (page 233 in the ZPL manual listed below). SGD getvar commands also return responses. The following command will return the printer's current status (ZPL manual page 704):
! U1 getvar "device.host_status"
[Notice SGD commands must end with a carriage return / line feed]
The ZPL manual contains a full list of SGD commands: ZPL Manual. Also, you can look into Zebra's SDKs. If you can use something besides serial port, and depending on your printer model, you can then take advantage of Zebra's 'status' parts of the SDK to not have to parse everything yourself: Zebra Legacy SDK, Zebra New SDK

Related Links

How to read the ntptime status code?
Byobu custom status notifications are separated by two spaces
When does PL080 DMAC generate error interupt?
When i send a ZPL command to Zebra printer via serial port, it will return a message or not?
How can I get storm topology status via java code?
What does Ollydbg termination code 0 and 1 means?
How to find execution status of a service on Remote computer?
meaning of kannel status
UIStatusBarStyleBlackTranslucent does not work in iOS 6
DATASTAGE : Job status information for all jobs on DataStage 7.5
PSI - Statusing Web Service - Results not as expected
How to get skype status as number or text? mystatus.skype.com doesnt work
yahoo messenger status checker code?
a4j:commandLink working intermittently
Redmine, can't see new Issue Status
Is there a simple app for pinging a list of websites?

Categories

HOME
xamarin
hive
oracle11g
azure-data-factory
angular-material
json.net
grep
alfresco
jira
acquia
flyway4
applepay
python-unittest
node-pdfkit
handsontable
google-cloud-spanner
hex-editors
fallback
lombok
pugjs
database-replication
jtextfield
swiftlint
csrf-protection
css-animations
crosstab
p-value
selectedindexchanged
bootstrap-material-design
entitlements
publish
scorm2004
winrt-xaml-toolkit
column-family
typed.js
repo
subset-sum
xmlreader
rotational-matrices
jmonkeyengine
xcode-extension
c11
uft-api
cookiecutter-django
ncalc
elmah
glew
node-gyp
skeleton-css-boilerplate
flickr-api
taffy
youcompleteme
komodoedit
prolog-setof
domain-model
togetherjs
worker-thread
vtigercrm
url-pattern
azure-virtual-network
make-install
hexdump
wapiti
associative-array
natvis
reactive-banana
feedback
service-accounts
interrupted-exception
apache-commons-fileupload
census
remobjects
e10s
system.reflection
gwidgets
dd
tablelayout
coldbox
mesa
heisenbug
funcunit
fluentautomation
mechanize-ruby
hyprlinkr
geos
flash-builder4.5
excel-2003
back-stack
xamlparseexception
html-editor
robotics-studio
e4x
bitsharp
hosts-file
wse3.0
spring-portlet-mvc
work-stealing
subgurim-maps
appendto
celltable
site.master
fluent-interface
sudzc
nhibernate.search
castle-monorail
defensive-programming
geneva-server
.net-1.0
paul-graham

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App