You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jzebra...@googlegroups.com
Hi Everyone,
We've successfully got jZebra working and it's a great interface.
The only thing we're struggling with is how to handle the times when the printer runs out of paper. When this happens the web page hangs and an error message appears saying the script is taking too long etc. How do we handle this exception so that we can abort the print and display a message to replace the paper and try again?
Thanks,
James
Tres Finocchiaro
unread,
Apr 8, 2013, 10:46:01 AM4/8/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jzebra...@googlegroups.com
Hi James,
how to handle the times when the printer runs out of paper
I haven't tested for this scenario before, but I would expect it to show in the Exception message.
error message appears saying the script is taking too long etc
This is JavaScript and is usually caused by a while loop. Can you try to use "loading.html" and see if it's more responsive? The "sample.html" has some while loops in it that are warned against using because they can cause a deadlock in the browser under certain scenarios.