LinuxQuestions.org
Review your favorite Linux distribution.
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 10-04-2004, 10:56 AM   #1
boyceman
LQ Newbie
 
Registered: Sep 2004
Location: Omaha, NE
Distribution: RedHat 9.x / Mandrake 10.0
Posts: 3

Rep: Reputation: 0
printing MICR font from Linux shell


I've been trying unsucessfully for a few days to print checks using the MICR font from a shell in Linux. From what I understand in order to have the font display correctly I need to send escape codes to the printer before I print. This same font works fine in Windows, and the printer is a Troy security printer (HP LJ 4200).

The manual lists the escape code as:

<Esc>(0Q<Esc>(s1p12v0s0b0T

But I'm not sure how to send it to the printer. I've read the Printing-HOWTO but it references /etc/printcap which on my new version of RedHat is no longer used. I also read up on filters but I could not find any on my system after doing extensive searches, and the /etc/printcap is where you reference filters but like I said my /etc/printcap only contains my printer name and nothing else. I'm at version 9 and to configure CUPS I used printconf, which is Redhat's printer config utility. I should mention that the printer works fine from Linux (I print with lpr) but it uses a simulated font for MICR.

I understand what I'm supposed to do I just am not sure how to do it. Also I sometimes see escape as ^] and other times as //033/, and given the escape code above is everything except for the <Esc> supposed to be sent literally or does "<Esc>(" mean escape parenthesis? As you can see I'm confused, and I would appreciate any help.

Thanks in advance,

Jim Boyce
 
Old 10-04-2004, 11:44 AM   #2
boyceman
LQ Newbie
 
Registered: Sep 2004
Location: Omaha, NE
Distribution: RedHat 9.x / Mandrake 10.0
Posts: 3

Original Poster
Rep: Reputation: 0
I should have mentioned that the file I am trying to print is a PDF file which uses the MICR font at the bottom of the check.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware 10.2: How do I change default font for shell? PastorFrederick Linux - Newbie 6 10-17-2005 11:10 PM
[c shell] printing out each line in a file saiz66 Programming 4 10-12-2004 09:15 AM
font and printing trouble; texts arn't renderd properly schatoor Linux - Software 0 06-05-2004 12:45 PM
changing the shell font and colors Dodge This Linux - Software 3 08-10-2003 11:58 PM
Printing From Da' Shell Crashed_Again Linux - General 10 01-27-2003 09:59 PM


All times are GMT -5. The time now is 10:47 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration