ramonlopes / jzebra

Automatically exported from code.google.com/p/jzebra
0 stars 0 forks source link

Absolute Path for JNLP Causing Issues #173

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

 Hello Tres
              thanks for your continues Support for JZebra. its a handsome product.

i have successfully installed jZebra 1.5.6 for my Zend Framework Application 
(PHP) its going Smooth. 
 now i am trying to update new Version jzebra 1.7 for same application.

in new version 
i am using below code
<pre> <applet id="qz" name="QZ Print Plugin" code="qz.PrintApplet.class" 
width="55" height="55"> 
      <param name="jnlp_href" value="http://myapp.local/src/qz-print_jnlp.jnlp"> 
          <param name="cache_option" value="plugin"> 
   </applet>

</pre>

over here i am getting struck when i use the Absolute path ( 
http://myapp.local/src/qz-print_jnlp.jnlp ).

n previus version(1.5.6) absolute path ( http://myapp.local/src/jzebra.jar ) 
working fine
<pre>
<applet name="jzebra" code="jzebra.PrintApplet.class" 
archive="http://myapp.local/src/jzebra.jar" width="50px" height="50px"> 
      <param name="printer" value="zebra"> 
   </applet></pre>

Original issue reported on code.google.com by tres.fin...@gmail.com on 1 Nov 2013 at 5:34

GoogleCodeExporter commented 8 years ago
hello Tres 

my Problem has been Solved By Following Code

<applet codebase="http://localhost/" id="qz" name="QZ Print Plugin" 
code="qz.PrintApplet.class" width="55" height="55">
      <param name="jnlp_href" value="qz-print_jnlp.jnlp" >

          <param name="cache_option" value="plugin">
</applet><br />

Original comment by tres.fin...@gmail.com on 1 Nov 2013 at 5:34

GoogleCodeExporter commented 8 years ago
I'm not sure exactly how this fixes your issue, but I hope these findings help 
others.

-Tres

Original comment by tres.fin...@gmail.com on 1 Nov 2013 at 5:35

GoogleCodeExporter commented 8 years ago

Original comment by tres.fin...@gmail.com on 26 Aug 2014 at 12:31