Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

paperconfig(8) [opensolaris man page]

PAPERCONFIG(8)						   Linux Administrator's Manual 					    PAPERCONFIG(8)

NAME
paperconfig - configure the system default paper size SYNOPSIS
paperconfig [ -v,--version ] [ -h,--help ] [ -p, --paper papername | --force ] DESCRIPTION
paperconfig sets the system (or default) paper to be used by tools using the papersize file. It can either ask interactively for the paper to use or be called non-interactively by scripts. When the paper size has been changed, paperconfig notifies other packages of the change by running the scripts in the /etc/libpaper.d directory. OPTIONS
-v,--version Print the version of paperconfig and exit. -h,--help Print help about usage and exit. -p, --paper papername Use papername if possible. If papername is not a valid paper, print an error message and exit. --force Force interactive selection of the system paper even if the actual paper is a valid one. ENVIRONMENT
PAPERCONF Full path to a file containing the paper size to use; this file will be rewritten with the system paper size. FILES
/etc/papersize Contains the name of the system-wide default paper size to be used if the PAPERSIZE variable is not set. /etc/libpaper.d Directory of scripts to run after the paper size has been changed. This package puts no scripts here, but other pack- ages may. AUTHOR
Yves Arrouye <arrouye@debian.org> SEE ALSO
paperconf(1) papersize(5) Debian/Linux 5 January 2005 PAPERCONFIG(8)

Check Out this Related Man Page

PAPERCONFIG(8)						   Linux Administrator's Manual 					    PAPERCONFIG(8)

NAME
paperconfig - configure the system default paper size SYNOPSIS
paperconfig [ -v,--version ] [ -h,--help ] [ -p, --paper papername | --force ] DESCRIPTION
paperconfig sets the system (or default) paper to be used by tools using the papersize file. It can either ask interactively for the paper to use or be called non-interactively by scripts. When the paper size has been changed, paperconfig notifies other packages of the change by running the scripts in the /etc/libpaper.d directory. OPTIONS
-v,--version Print the version of paperconfig and exit. -h,--help Print help about usage and exit. -p, --paper papername Use papername if possible. If papername is not a valid paper, print an error message and exit. --force Force interactive selection of the system paper even if the actual paper is a valid one. ENVIRONMENT
PAPERCONF Full path to a file containing the paper size to use; this file will be rewritten with the system paper size. FILES
/etc/papersize Contains the name of the system-wide default paper size to be used if the PAPERSIZE variable is not set. /etc/libpaper.d Directory of scripts to run after the paper size has been changed. This package puts no scripts here, but other pack- ages may. AUTHOR
Yves Arrouye <arrouye@debian.org> SEE ALSO
paperconf(1) papersize(5) Debian/Linux 5 January 2005 PAPERCONFIG(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

SCO vs Linux Reg Expressions Problem

Hi there, I'm investigating migrating a system currently running Scos osr5 to Linux (eg RH 7.2) but there are a lot of in house scripts, some of which are probably using "Sco specific" constructs etc. One I have come across is as follows, if ????? ] then ....etc.etc fi The regular... (2 Replies)
Discussion started by: pcs7088
2 Replies

2. Shell Programming and Scripting

best way to get a file's size?

I'm trying to get a file's size. Specifically, I want to check whether a file is larger than 650MB. I've tried: find . -name "filename" -size +681574400 -print Oddly, that didn't seem to work. (NB: 1024 bytes x 1024 x 650 = 681574400 bytes = 650 MB) The problem seems to be the "-size"... (5 Replies)
Discussion started by: ropers
5 Replies

3. Shell Programming and Scripting

Dummy questions about how to get the size of a directory by command

Hi, 'ls -ld' is no use .... I want to get the total size of a directory including subdir. Any advice? Thanks in advance (2 Replies)
Discussion started by: GCTEII
2 Replies

4. Shell Programming and Scripting

Replace a Directory path with another in a file

Hi, I have abt 20-30 scripts using a directory structure. I have to replace a directory structure in a file for example "/i01/proc" with "/dwftp/scripts" using sed. The command :- cat filename | sed 's/"i01/proc"/"dwftp/scripts"' is not working. Can someone help me in this regard? ... (3 Replies)
Discussion started by: venkatajay_18
3 Replies

5. Shell Programming and Scripting

Reading Multiple Variables From a Single Line in Shell

I'm a Linux newb, I've been running a Debian Linux server for about a year now, and I've written some simple scripts to automate various things, but I still don't know much, and I forget what I learn as fast as I figure it out... Anyway, that really isn't important, I just want you to know that... (14 Replies)
Discussion started by: Drek
14 Replies

6. HP-UX

How to override the default paper size received by a print job

Hi, Kindly help me with your valid suggestions to solve the below problem: "How to override the default paper size received by a print job. Ex. The output file is generated with a default paper size of 11x17 and we need to print on 11x14 paper. When printing this file from HP Unix, is there... (4 Replies)
Discussion started by: ukarthik
4 Replies

7. UNIX for Dummies Questions & Answers

Linux cerification - LPIC

Hi all, does anyone ever sit the Linux Certification (LPIC)? I'm planning to sit the LPIC -1 (beginner level) Is it worth it? Is there any sample paper / simulation i can get? Thank you c00kie (1 Reply)
Discussion started by: c00kie88
1 Replies

8. Shell Programming and Scripting

find with file size and show the size

Hi All... is the below command be modified in sucha way that i can get the file size along with the name and path of the file the below command only gives me the file location which are more than 100000k...but I want the exact size of the file also.. find / -name "*.*" -size +100000k ... (3 Replies)
Discussion started by: rpraharaj84
3 Replies

9. UNIX for Dummies Questions & Answers

Just asking - Tips on how to maintain your scripts ..

Hi all, Just writing to ask if any one can advise on what tools to use best for maintaining your scripts ... preferably free/open source and portable if there is one, that is, one that can be placed and run on a USB stick ... At the moment, am having them in directories and files and no... (2 Replies)
Discussion started by: newbie_01
2 Replies

10. Shell Programming and Scripting

Getting filename for Nth line pattern match

Hi, I have many scripts in particular directory. And few of the scripts have exit 0 in second line. Now i wanted to list out the scripts name which has the exit 0 in its second line I tried many options , but i can not get the filename along with the nth line pattern match :mad:. Can anyone... (14 Replies)
Discussion started by: puni
14 Replies

11. Shell Programming and Scripting

AIX to Linux

I am Application Administrator with little bit experience with UNIX , We are changing the OS from AIX to Red hat Linux . Wondering if there anyway how to change the scripts to work on LINUX env and how to start to modify the scripts..Any Suggestions Thanks in Advance (15 Replies)
Discussion started by: tutkiran
15 Replies

12. Shell Programming and Scripting

urgent :S dont know why its not working

hello, i am trying to put users2 information to file appraisalrecord, however it is not working and i tried everything. overall, i just want to show that when they enter the user number it will verify in the file to see does that user number exist, if yes they have to a new user number if no they... (7 Replies)
Discussion started by: bassmasta1
7 Replies

13. Shell Programming and Scripting

Moving a file based on size

hello, I am creating a script that is going to scan the contents of a directory, and if it finds a certain DocumentName that is a certain size (The example, DocumentName and a size of 8777) If this file exists, it needs to be moved to a directory for later removal/processing..anyone have... (7 Replies)
Discussion started by: jeffs42885
7 Replies

14. Shell Programming and Scripting

Print command issue

Hi, OS - Linux Print command is working in some scripts and not working in some other scripts. We migrated the scripts from HP UX to Linux. Default shell - korn By using printf it working. But why these difference? Thanks (6 Replies)
Discussion started by: nag_sathi
6 Replies

15. Shell Programming and Scripting

Dpkg Syntax Issue . . .

Greetings! I'm trying to get dpkg to just completely extract a multi-part *.deb archive set into a single folder called "output". Simple? Hmmmm.... dpkg --noforce --unpack *.deb /output/Console after ops: However, "--noforce" is taken directly from the helpfile Options listing as furnished... (8 Replies)
Discussion started by: LinQ
8 Replies