The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unix Citrix font problem Esaia UNIX for Advanced & Expert Users 0 12-06-2007 03:13 AM
How to change the font colour in unix ? sars Shell Programming and Scripting 3 12-04-2006 07:20 AM
Russian font in Unix vrvarier UNIX Desktop for Dummies Questions & Answers 7 09-09-2004 05:00 AM
Different font size in Unix and Window blueberry80 UNIX for Dummies Questions & Answers 0 08-24-2004 03:09 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 10-03-2007
Registered User
 

Join Date: Oct 2007
Posts: 2
Unix/Neoware/Font Issues

Hi all,

My problem is that I have generated a text file on unix which I want to print on a neoware(Neolinux) box.

The problem is that the line length is 2 big so when I print it the text is wrapped around.In windows we have the option of reducing font and printing.Is there any such option available on Unix..?


The files to be printed will be placed on a Neoware machine ( a thin linux client ) which does not support any Unix print command except lpr (doesnt support a2ps/ensript/lp..)---> what I am looking for is a solution wherein I can either reduce the file font before hand on the unix machine and then send it to the Neoware for printing, or send the file to Neoware and print with a different font over there (though I tried all the lpr options on neoware..they arent working including page-left/landscape/lpi/cpi..etc)


Is there no way of reformatting the text on Unix, like decreasing file font and saving it in a new file? Or how to install a2ps command on neoware..?


Could someone suggest the best way for it..??
Reply With Quote
Forum Sponsor
  #2  
Old 10-03-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
man fmt

Code:
Reformatting page.  Please Wait... done

User Commands                                              fmt(1)

NAME
     fmt - simple text formatters

SYNOPSIS
     fmt [-cs] [-w width | -width]  [inputfile...]

DESCRIPTION
     fmt is a simple text formatter that fills  and  joins  lines
     to  produce output lines of (up to) the number of characters
     specified in the -w width option. The default  width is  72.
     fmt concatenates the inputfiles listed as arguments. If none
     are given, fmt formats text from the standard input.
...
Reply With Quote
  #3  
Old 10-06-2007
Registered User
 

Join Date: Oct 2007
Posts: 2
Font

Srry ..didnt work..I need to change the font size ..not reformat it,

Is there an option to decrease the size and save it in another file..?
Since the file has to be sent to a neoware box and printed there ,Im sure there wont be command available at that side..so Im looking to format my file at the AIX server only.
Reply With Quote
  #4  
Old 10-06-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
My understanding with UNIX printers is that either you treat them as a line printer with pure fixed font text, or you use postscript which then includes all the font and layout information.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:45 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0