LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-31-2002, 11:38 AM   #1
BTseapig
Member
 
Registered: Oct 2001
Location: central texas
Distribution: redhat 7.2
Posts: 30

Rep: Reputation: 15
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
 
Old 05-31-2002, 12:07 PM   #2
verigoth
Member
 
Registered: May 2002
Posts: 179

Rep: Reputation: Disabled
you could try the apsfilter package, available from http://www.apsfilter.org if it didn't come with your distribution

verigoth
 
Old 05-31-2002, 01:34 PM   #3
BTseapig
Member
 
Registered: Oct 2001
Location: central texas
Distribution: redhat 7.2
Posts: 30

Original Poster
Rep: Reputation: 15
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.
 
Old 07-26-2006, 09:16 AM   #4
wnguza
LQ Newbie
 
Registered: Sep 2004
Location: Durban South Africa
Distribution: Fedora core 3
Posts: 27

Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
raw queue with usb printer (-v option in lpadmin command) rocordial Linux - Hardware 4 02-10-2005 11:36 AM
Samba Cups and RAW Printer - only one Copy ?! dancindoc Linux - General 0 03-28-2004 02:42 PM
using RAW printer driver on a per print basis AcerKev Linux - Software 0 01-26-2004 10:06 AM
keeping printer on at bootup keeps printer from printing (some printer modules loaded TheOneAndOnlySM Slackware 1 10-17-2003 07:39 PM
Samba RAW printer Bug smurf Linux - Networking 1 08-16-2001 07:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration