nini9140 / jzebra

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

dymo labelwriter 450 prints blank from jzebra demo 1.4.5 #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install dymo labelwriter 450
2. run sampl.html
3. print PDF option

What is the expected output? What do you see instead?
barcoe with small logo.  The label advances but nothing prints.

What version of the product are you using? On what operating system?
jzebra 1.4.5  Mac OS X mountain lion

Please provide any additional information below.
Need to generate and print barcode from website.

Original issue reported on code.google.com by scottpo...@gmail.com on 4 Oct 2012 at 11:58

GoogleCodeExporter commented 9 years ago
<div id='jqBarCode' style='display:block;'></div>
<input type=button onClick="printZebra()" value="Print">
 <applet name="jzebra" code="jzebra.PrintApplet.class" archive="./jzebra/jzebra.jar" width="100" height="100"> 
       <param name="printer" value="\\hicfps001\HIS - A3FL -SCOTIA"> </applet> 
        <script>    
           function printZebra() {  
               $("#jqBarCode").barcode("v", 'code128',{barWidth:2, barHeight:15});
               var t = document.getElementById("jqBarCode").innerHTML;

             //  style="BACKGROUND-COLOR: #ffffff; WIDTH: 2px; FLOAT: left; HEIGHT: 15px; FONT-SIZE: 0px"
                    //   document.jzebra.appendHTML('<html><div style="bgcolor=Red">HI!!!!!!!!!!!!!</div>jZebra HTML Printing Demo</html>');  
                               // ZPLII  \\hicfps001\HIS - A3FL -SCOTIA        
                              // document.jzebra.append("^XA^FO50,50^ADN,36,20^FDPRINTED USING JZEBRA^FS^XZ"); 
                                         // document.jzebra.printHTML();
                // Printing using extra spaces, fixed font, dashes    

                       // Fix whitespace and special character behavior   

                                      document.jzebra.appendHTML('<html>'+t+'</html>');   
                                           document.jzebra.printHTML();   
                                              } </script> 

printed nothing

Original comment by vakula.b...@gmail.com on 23 Oct 2012 at 12:57

GoogleCodeExporter commented 9 years ago
You cannot mix ZPL and HTML.  Please choose one or the other. Closing and 
marking as invalid.  Please reopen if this was closed in error.

If you need tech support with this plugin, email jZebra-users@googlegroups.com

Original comment by tres.fin...@gmail.com on 23 Oct 2012 at 3:09