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
google-chrome-extension
winforms
bluetooth
c#-4.0
path-finding
tesseract
kalman-filter
youtube-api-v3
electronics
dxl
serverspec
contact
amazon-cloudformation
session-variables
etl
task
lombok
telephony
text-rendering
firefox-webextensions
lucene.net
introduction
reverse-proxy
paging
autoconf
css-animations
icloud-api
emgucv
pepper
underflow
phpfox
entitlements
quote
bosh
rotational-matrices
theano.scan
cookiecutter-django
fedex
quadratic-programming
hibernate-tools
python-c-api
hendrix
google-perftools
qtwebview
capacity
flutterwave
gcsfuse
blacklist
mediaelement
pycaffe
android-fonts
database-optimization
django-debug-toolbar
websitepanel
master-slave
quicklisp
tarjans-algorithm
muse
interrupted-exception
notify
jsonpickle
ng-animate
winddk
file-copying
codeigniter-routing
project-planning
contenttype
dml
seaside
bundles
html5-notifications
gnu-smalltalk
xsockets.net
.aspxauth
inbox
eclipse-memory-analyzer
lcs
factory-method
first-responder
qtkit
semantic-diff
bigcouch
gnustep
stage
spyware
horizontal-accordion
yslow
coda-slider
sortable-tables
preference
asp.net-profiles
rescale
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