开发者

Printing raw EPL2 to Zebra Thermal from Internet Explorer

开发者 https://www.devze.com 2023-02-09 20:19 出处:网络
I\'ve found that I can print raw EPL2 commands to my Zebra 2844 (UPS) from Windows apps like Notepad and WordPad and get a nicely printed label using the Gene开发者_如何学JAVAric / Text driver in XP (

I've found that I can print raw EPL2 commands to my Zebra 2844 (UPS) from Windows apps like Notepad and WordPad and get a nicely printed label using the Gene开发者_如何学JAVAric / Text driver in XP (couldn't get the actual Zebra drivers to do this much). But for some reason, I can not get it to print from IE8 (which is necessary for my php application). Nor from Firefox for that matter. When I print, the file goes to the printer's queue and quickly disappears. Nothing is printed.

I'm setting the header to Content-type: text/plain in php. But I've also tried loading the text file directly from the Desktop and printing with no luck.

Anyone run into this issue and have a solution? Perhaps there is a nuance in printing from a web browser that I'm not taking into consideration?


What you need is a way to get past the Windows Print layer, try this: http://code.google.com/p/jzebra/

It is a java applet that once you accept the security certificate can access the printer natively

0

精彩评论

暂无评论...
验证码 换一张
取 消