代码之家  ›  专栏  ›  技术社区  ›  Andreas

Java applet:找到斑马打印机但命令字符串不打印

  •  0
  • Andreas  · 技术社区  · 16 年前

    我有一个小的Java应用程序,它在斑马打印机上打印标签。When the port is made to an applet, (app => applet) nothing comes out from the printer.

    你知道为什么会这样吗?

    • 从Java Applet中成功地完成了打印机的查找过程,找到了打印机。
    • 要发送的命令字符串构造正确…

    但当命令发出时,什么也没有出来。

    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)

    当做,

    2 回复  |  直到 13 年前
        1
  •  0
  •   norbi771    13 年前

    为了访问本地资源,您必须对小程序进行签名。

        2
  •  0
  •   Thorbjørn Ravn Andersen    16 年前

    启用Java控制台,并查看代码抛出的异常。