Sponsored Content
Operating Systems Linux Debian hardware printout layout terminology Post 302638923 by jim mcnamara on Thursday 10th of May 2012 11:56:15 PM
Old 05-11-2012
You might want to check nroff and troff for formatting.

google for 'sed & awk pdf download' and download it. There is a chapter on using sed to format the way I mentioned above. You will have to change margins for example. This is pretty close to nitty-gritty as it gets in UNIX command line stuff.

Check out WoMan as well - uses emacs if I recall correctly.
WoMan: Browse Unix Manual Pages "W.O. (without) Man"
 

9 More Discussions You Might Find Interesting

1. IP Networking

newbie terminology question...

is there a difference between a "port" and a "socket"? (2 Replies)
Discussion started by: trostycp
2 Replies

2. SuSE

Keyboard Layout

ok, I am having a seriouse problem! I can not wite in my landguidge, I live in sweden but I seem to have an american keyboard layout so I cant write some letters and all the key commands are all messed up. Does anyone know where I can find a swedisch keyboard layout? (3 Replies)
Discussion started by: Kimm
3 Replies

3. Red Hat

How to take printout of linux file from windows xp using putty?

Friends, I have installed Putty in my windows xp pc. I am connecting the RHEL AS 3 server using putty from my windows xp. My printer is connected to my windows xp. Now, i want to print text.txt of RHEL AS 3.0 in my windows xp printer through putty. For Example: my pc ip is 117.23.2.55... (3 Replies)
Discussion started by: sathyguy
3 Replies

4. SCO

How to remove date and page header from a printout

I have some HP4+ and HP5 printers printing from Unixware 7.1.4. The problem is that they print a page header with the date and page number. I can't seem to figure out how to stop this. These headers through the pagination off. (2 Replies)
Discussion started by: sladeburke
2 Replies

5. Shell Programming and Scripting

Help with awk printout

I want to represent the columns by whats in a txt file. So the columns.txt file contains "$2$3" and the test.txt file contains "bob tom jones jon" I have #!/bin/bash columnsVar=`cat columns.txt` echo "Columns edited: $columnsVar" awk ' {print $columnsVar }' test.txt But it prints out... (1 Reply)
Discussion started by: Bandit390
1 Replies

6. Shell Programming and Scripting

sqlplus: could it be dirrected do not printout anything, beside results?

I try to prepare a sufficient function to execute a sql-statement, getting back ONLY retrieved results! What I can't figured out how to make the sqlplus not printing the 'Connected to ...', 'Disconnected from...' and the executed statements after 'SQL> '. I am under impression that having... (5 Replies)
Discussion started by: alex_5161
5 Replies

7. UNIX for Dummies Questions & Answers

General Terminology related to the UNIX System

Hello, I am relatively new to the world of programming in general and to the UNIX System in particular. I have a bunch of theoretical questions related to terminology which I have come across in my coursebooks. I hope I post my question at the right place. Any help would be warmly welcome! ... (1 Reply)
Discussion started by: feliks0
1 Replies

8. Solaris

Hardware faulty, but which hardware?

Hi folk, I have this hardware faunty message, but dont know which hardware is this ? can you guide me ? --------------- ------------------------------------ -------------- --------- TIME EVENT-ID MSG-ID SEVERITY ---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies

9. Shell Programming and Scripting

awk --> selective printout with FNR

Hi everybody! need some awk-support. i want a line-selective printout of a file. wat i normally will do with ... awk ' FNR==8' sample.txt But now i need the data from line 8, 10 and the following data from line13 to 250 wich is not end of the file. I tried allready to combine it but without... (2 Replies)
Discussion started by: IMPe
2 Replies
PSNUP(1)						      General Commands Manual							  PSNUP(1)

NAME
psnup - multiple pages per sheet SYNOPSIS
psnup [ -wwidth ] [ -hheight ] [ -ppaper ] [ -Wwidth ] [ -Hheight ] [ -Ppaper ] [ -l ] [ -r ] [ -f ] [ -c ] [ -mmargin ] [ -bborder ] [ -dlwidth ] [ -sscale ] [ -nup ] [ -q ] [ infile [ outfile ] ] DESCRIPTION
Psnup puts multiple logical pages onto each physical sheet of paper. The input PostScript file should follow the Adobe Document Structur- ing Conventions. The -w option gives the paper width, and the -h option gives the paper height, normally specified in cm or in to convert PostScript's points (1/72 of an inch) to centimeters or inches. The -p option can be used as an alternative, to set the paper size to a3, a4, a5, b5, letter, legal, tabloid, statement, executive, folio, quarto, 10x14 or _glibc, where latter one means the format of the current locale. The default paper size is _glibc. The -W, -H, and -P options set the input paper size, if it is different from the output size. This makes it easy to impose pages of one size on a different size of paper. The -l option should be used for pages which are in landscape orientation (rotated 90 degrees anticlockwise). The -r option should be used for pages which are in seascape orientation (rotated 90 degrees clockwise), and the -f option should be used for pages which have the width and height interchanged, but are not rotated. Psnup normally uses `row-major' layout, where adjacent pages are placed in rows across the paper. The -c option changes the order to `col- umn-major', where successive pages are placed in columns down the paper. A margin to leave around the whole page can be specified with the -m option. This is useful for sheets of `thumbnail' pages, because the normal page margins are reduced by putting multiple pages on a single sheet. The -b option is used to specify an additional margin around each page on a sheet. The -d option draws a line around the border of each page, of the specified width. If the lwidth parameter is omitted, a default linewidth of 1 point is assumed. The linewidth is relative to the original page dimensions, i.e. it is scaled down with the rest of the page. The scale chosen by psnup can be overridden with the -s option. This is useful to merge pages which are already reduced. The -nup option selects the number of logical pages to put on each sheet of paper. This can be any whole number; psnup tries to optimise the layout so that the minimum amount of space is wasted. If psnup cannot find a layout within its tolerance limit, it will abort with an error message. The alternative form i nup can also be used, for compatibility with other n-up programs. Psnup normally prints the page numbers of the pages re-arranged; the -q option suppresses this. EXAMPLES
The potential use of this utility is varied but one particular use is in conjunction with psbook(1). For example, using groff to create a PostScript document and lpr as the UNIX print spooler a typical command line might look like this: groff -Tps -ms file | psbook | psnup -2 | lpr Where file is a 4 page document this command will result in a two page document printing two pages of file per page and rearranges the page order to match the input pages 4 and 1 on the first output page and pages 2 then 3 of the input document on the second output page. ENVIRONMENT VARIABLES
LC_ALL, LC_PAPER These variables are specifying the papertype when used paper is _glibc. For details see the locale(7) manpage. AUTHOR
Copyright (C) Angus J. C. Duggan 1991-1995 SEE ALSO
psbook(1), psselect(1), pstops(1), epsffit(1), psnup(1), psresize(1), psmerge(1), fixscribeps(1), getafm(1), fixdlsrps(1), fixfmps(1), fix- psditps(1), fixpspps(1), fixtpps(1), fixwfwps(1), fixwpps(1), fixwwps(1), extractres(1), includeres(1) TRADEMARKS
PostScript is a trademark of Adobe Systems Incorporated. BUGS
Psnup does not accept all DSC comments. PSUtils Release 1 Patchlevel 17 PSNUP(1)
All times are GMT -4. The time now is 05:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy