我已经尝试在Firefox上打印条形码39,在显示器上显示条形码,但是当我想打印此条形码时,它已经消失。然后我尝试谷歌浏览器,一切都很好。如何在firefox上打印条形码391
这是我的代码:
@font-face {
font-family:"Barcode 39";
src:url("/web/res/css/font/Code39.eot?") format("eot"),url("/web/res/css/font/Code39.woff")
format("woff"),url("/web/res/css/font/Code39.ttf")
format("truetype"),url("/web/res/css/font/Code39.svg#")
format("svg");
font-weight:normal;font-style:normal;}
在HTML:
<style media="screen" type="text/css">/*<![CDATA[*/@import '/web/task/local/adhi/fontbarcode.css';/*]]>*/</style>
<style type="text/css">
.code39{
font-family:"Barcode 39";
font-size :50px;
}
</style>
<span class="code39">*1234*</span>
<br><br>
-Thanks
尝试使用介质类型为 '打印' 的CSS以及。 – kolrabi