04-29-2009
It seems that only following parameter can make "line size" varying :
Default VERTICAL SPACING (lines per inch) 6
And values can be only 6 or 8. I would need 7.
How to change Vertical Spacing to 7 ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
can someone please tell me how i can increase the number of characters that can be input on the command line? (2 Replies)
Discussion started by: Scoogie
2 Replies
2. Shell Programming and Scripting
Hi,
I need some help with breaking up a given line based on 'fixed width' file.
Something like this:
After the breaking up, I need to have this output format...
First line should have the first 134 characters.
Starting from second line, I should have one line every 61... (3 Replies)
Discussion started by: rputtagunta
3 Replies
3. Shell Programming and Scripting
Hello friends,
Only very recently i started learning sed command...an i found that sed is faster in finding the patterns than some of my scripts that uses grep to check the patten inside a file using line by line search method which is time consuming.
The below script... (4 Replies)
Discussion started by: frozensmilz
4 Replies
4. Shell Programming and Scripting
Source File:
abcdefghijklmnop01qrstuvwxyz
abcdefghijklmnop02qrstuvwxyz
abcdefghijklmnop03qrstuvwxyz
abcdefghijklmnop04qrstuvwxyz
abcdefghijklmnop05qrstuvwxyz
Whatever characters are in 17-18 on each line of the file, it should be concatenated to the same line at the character number... (6 Replies)
Discussion started by: tamahomekarasu
6 Replies
5. Shell Programming and Scripting
Hi everyone,
I have been working on a pretty laborious shellscript (with bash) the last couple weeks that parses my firewall policies (from a Juniper) for me and creates a nifty little columned output. It does so using awk on a line by line basis to pull out the appropriate pieces of each... (4 Replies)
Discussion started by: cixelsyd
4 Replies
6. Shell Programming and Scripting
I have a file with different record length. The file as to be converted into fixed length by appending spaces at the end of record. The length should be calculated based on the record with maximum length in the file.
If the length is less than the max length, the spaces should be appended... (4 Replies)
Discussion started by: Amrutha24
4 Replies
7. UNIX for Dummies Questions & Answers
Help,
I have a text file which looks like
disco 5674536
3456 jambo
disco 453678
4578 jambo
I would like to have an output which looks like below
disco 3456 disco 4578 (4 Replies)
Discussion started by: Indra2011
4 Replies
8. Shell Programming and Scripting
Dear All,
fileName: therm.txt
nc3h7o2h 7/27/98 thermc 3h 8o 2 0g 300.000 5000.000 1390.000 41
1.47017550e+01 1.71731699e-02-5.91205329e-06 9.21842570e-10-5.36438880e-14 2
-2.99988556e+04-4.93387892e+01 2.34710908e+00 4.34517484e-02-2.65357553e-05 3
... (7 Replies)
Discussion started by: linuxUser_
7 Replies
9. Shell Programming and Scripting
Hi Forum.
I have the following script that splits a large fixed-width file into smaller multiple fixed-width files based on input segment type.
The main command in the script is:
awk -v search_col_pos=$search_col_pos -v search_str_len=$search_str_len -v segment_type="$segment_type"... (8 Replies)
Discussion started by: pchang
8 Replies
10. Shell Programming and Scripting
My file (the output of an experiment) starts off looking like this,
_____________________________________________________________
Subjects incorporated to date: 001
Data file started on machine PKSHS260-05CP
**********************************************************************
Subject 1,... (9 Replies)
Discussion started by: samonl
9 Replies
LEARN ABOUT LINUX
sgi2fax
SGI2FAX(1) General Commands Manual SGI2FAX(1)
NAME
sgi2fax - convert a Silicon Graphics image file for facsimile transmission
SYNOPSIS
/usr/lib/fax/sgi2fax [ options ] files...
DESCRIPTION
sgi2fax converts Silicon Graphics format images to bilevel TIFF Class F images in preparation for transmission as facsimile. sgi2fax is
not normally invoked directly; it is usually run by sendfax(1) when an SGI image file is submitted for transmission.
Images are converted by scaling them to fill the guaranteed reproducible area on a default page. Each RGB pixel p is converted to
greyscale according to:
pr * %r + pg * %g + pb * %b
where %r, %g, and %b default to 30, 59, and 11, respectively. Greyscale images are then process with a high pass filter and dithered to a
bilevel image. The resultant image are written as a TIFF Class F document.
By default, the output image is created with 204 dots/inch horizontal resolution and 98 lines/inch vertical resolution. The image is writ-
ten as Group 3 1D-encoded data.
OPTIONS
-1 (-2) Write the image as Group 3 1D- (2D-) encoded data.
-b %b Set the %b parameter used to convert color pixel values to greyscale pixel values.
-g %g Set the %g parameter used to convert color pixel values to greyscale pixel values.
-l Generate an image at 98 lines/inch vertical resolution. know as low resolution.
-m Generate an image at 196 lines/inch vertical resolution.
-o file
Write output to file instead of the default file named sgi.fax.
-r %r Set the %r parameter used to convert color pixel values to greyscale pixel values.
-s size
Set the output size according to the named page size. Images are normally created with a system-default page size (usually letter-
size pages, 8.5" by 11", for sites in North America). Alternate page sizes are specified symbolically using either the name or
abbreviation of an entry in the pagesizes(5F) database; e.g. a3 (ISO A3), a4 (ISO A4), a5 (ISO A5), a6 (ISO A6), b4 (ISO B4), na-
let (North American Letter), us-leg (American Legal), us-led (American Ledger), us-exe (American Executive), jp-let (Japanese Let-
ter), and jp-leg (Japanese Legal). Comparisons are case-insensitive and any match of a substring of the full page-size name is suf-
ficient; e.g. ``legal'' would match ``American Legal''.
FILES
/usr/lib/fax/pagesizes page size database
SEE ALSO
hylafax-client(1), sendfax(1), hylafax-server(5F)
June 14, 1994 SGI2FAX(1)