LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 06-02-2006, 01:04 PM   #1
aslevin
LQ Newbie
 
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
Thumbs up how to set font size for printing from command line?


I'm trying to print various types of text file to my deskjet 880c printer, and I would like to change the default font size to something smaller like 7 or 8pt.

I also want to make it print in 2 columns of a given width. I've tried this using the command...
cat myfile | pr --columns=2 --width 80 | lp
...but it comes out even uglier that just lp'ing it.

I'm hoping some nice neat very simple if you know it solution exists to kill both these birds with one stone, and that someone who knows it will read this soon and they'll all print happily ever after...

And if there was some utility for doing all this that could even recognise php code and use colour output (like vim does on screen) then they'd all print euphorically ever after...

Thanks in advance,
A.
 
Old 06-02-2006, 05:45 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Hi, and welcome to LQ!

You may want to have a look at a2ps


Cheers,
Tink
 
  


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
Set a minimum font-size in Gaim? ateam Linux - Software 1 02-02-2006 08:05 PM
how to set the font size ztdep Linux - Software 1 01-13-2006 11:43 PM
command line font size poiuytrewq Linux - Newbie 8 09-21-2004 02:57 AM
how to set mozilla default font size mfeat Linux - Software 2 05-28-2004 09:55 AM
Command line printing? HappyDude Linux - Software 2 10-25-2003 01:00 PM


All times are GMT -5. The time now is 03:11 PM.

Main Menu
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