Search code examples
javaappletzebra-printers

java applet: Zebra printer found but command string does not print


I have a small java application that prints a label on a Zebra printer. When the port is made to an applet, (app => applet) nothing comes out from the printer.

Any ideas why this is happening?

  • The printer 'lookup' process is completed successfully from the java applet and the printer is found
  • The command string to be sent is constructed properly...

but when the command is sent, nothing comes out.

Note: While the application was developed, when there was an error in the command string, nothing happened, or the printer seemed to be responding but not printing anything.

Is this a security issue? If it is, can anyone point to the right direction for solving this problem? (resources, books, tips - all welcome)

Regards,


Solution

  • You have to sign your applet in order to access the local resources.