raw printer
I am trying to set up a raw printer and am having a heck of a time. I am printing to a zebra label printer, and am using it's native language which is EPL2. The way this works in windows is this: after I create the text file that has all the formatting/data in it I copy it to LPT1 (copy <file name> LPT1)
To do the same from Linux I have tried to cp <filename> /dev/lp0 and even cat filename > /dev/lp0Using CUPS I created a RAW printer, and did a lp filename. any way nothing that i have done will work. any ideas? thanks |
you could try the apsfilter package, available from http://www.apsfilter.org if it didn't come with your distribution
verigoth |
Perhaps I don not understand what apsfilter is, but I need to send a ascii file to a raw printer. The file has all the formatting code in it, therefore I do not need a driver for the specific printer that I am using. before I started this application I thought that I could do it with the cat command, but that has not worked for me.
|
Hi there
Have zebra 2476e and are running mandriva 2006. Here is what I did to get anything happening. Created a file called zebrasample4. Inside the file is the following example taken from the EPL2 manual pdf. N B10,10,0,3,3,7,200,B"998152-001" P1 This one spools but does not print. zebrasample3 prints however. here are the contents. N ZT GG10,10,"WORLD" A10,200,0,3,1,1,N,"This graphic was ptinted with orientation set to ZT" P1 N ZB GG10,10,"WORLD" A10,200,0,3,1,1,N,"This graphic was ptinted with orientation set to ZB" P1 NB: Mind you I'm catting the these files root@wnn#cat zebrasample4.prn > /dev/lp0 I also changed permision to 600. Hope this gets you somewhere. |
All times are GMT -5. The time now is 11:14 AM. |