Sponsored Content
Operating Systems HP-UX Print Problem in UNIX. Need to know the option to specify the print paper size Post 302119469 by ukarthik on Wednesday 30th of May 2007 05:02:54 AM
Old 05-30-2007
Print Problem in UNIX. Need to know the option to specify the print paper size

Hi,

Could any one please let me know what is the option
available in UNIX to print by specifying the paper size?
We are using Unix11i. I could n't see any option specified in the 'lp' command to print the report by specifying the size of the paper. It would be of great help to me, if anyone can help me in this regard.

thanks in advance,
Karthik.
 

10 More Discussions You Might Find Interesting

1. 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

2. Shell Programming and Scripting

how can i print the output of the shell script in bigger size

how can i print the output of the shell script in bigger size eg: echo " hello world" i want to print this in the output with bigger size in the middle of the screen. can someone please help me out in that (2 Replies)
Discussion started by: mail2sant
2 Replies

3. Shell Programming and Scripting

find a file and print its size

I have a directory, /local/test/ under this directory is many subdirectories, each subdir has about 70 files, the 70 files are always the same names. I want to print to the screen the size of fileabc.txt in each of the subdirectories. I cannot seem to work with pipe and splats * because there are... (3 Replies)
Discussion started by: ajp7701
3 Replies

4. Shell Programming and Scripting

Howto Print File Path or Print the Filename

I'm trying to clean up my samba share and need to print the found file or print the path of the image it tried to searched for. So far I have this but can't seem to get the logic right. Can anyone help point me in the right direction? for FILE in `cat list`; do if ; then ... (1 Reply)
Discussion started by: overkill
1 Replies

5. UNIX for Dummies Questions & Answers

Print folder size ordered by pattern value of specific file type :-) ! challenge !

Hello dear unix command line friends ! I'm looking for a simple combinaison of ls & awk (maybe grep) to print: list of folders of a directory |_ ordered by size like what I have with $ du -sk ./* | sort -rn printing that result: 8651520 ./New Virtual Machine_1 8389120 ./Redhat ... (1 Reply)
Discussion started by: holister
1 Replies

6. Shell Programming and Scripting

print first few lines, then apply regex on a specific column to print results.

abc.dat tty cpu tin tout us sy wt id 0 0 7 3 19 71 extended device statistics r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device 0.0 133.2 0.0 682.9 0.0 1.0 0.0 7.2 0 79 c1t0d0 0.2 180.4 0.1 5471.2 3.0 2.8 16.4 15.6 15 52 aaaaaa1-xx I want to skip first 5 line... (4 Replies)
Discussion started by: kchinnam
4 Replies

7. Shell Programming and Scripting

print option - drop 1 line

Hi, Is there a print option to drop the data 1 line? Basically the page is too close to the top of the page and I would like to drop it one line automatically, editing the actual data is complicated. (8 Replies)
Discussion started by: mcclunyboy
8 Replies

8. Shell Programming and Scripting

grep option to print the first match of each member of a list?

Hello, How to grep only the first match of each (unique) member of a list from the file? Say member.list contains: member1 member2 member3and table.tab which is sorted by the first 2nd and then 3rd column. member1 1.2 234 member1 1.1 234 member2 3.3 111 member2 2.3 222 member2 2.3 111... (5 Replies)
Discussion started by: yifangt
5 Replies

9. AIX

Print Paper Size always A3 instead of A4

RICOH MPC4501 via AIX PrintServer is only printing on A3, even though its A4 contents. Similar Printer on same AIX PrintServer is printing correct though. What you think issue with first printer? AIX V6.1 (1 Reply)
Discussion started by: panchpan
1 Replies

10. UNIX for Dummies Questions & Answers

How to create a print filter that print text & image?

Currently, I have a print filter that takes a text file, that convert it into PCL which then gets to a HP printer. This works. Now I need to embedded a image file within the text file. I'm able to convert the image file into PCL and I can cat both files together to into a single document... (1 Reply)
Discussion started by: chedlee88-1
1 Replies
PSRESIZE(1)						      General Commands Manual						       PSRESIZE(1)

NAME
psresize - multiple pages per sheet SYNOPSIS
psresize [ -wwidth ] [ -hheight ] [ -ppaper ] [ -Wwidth ] [ -Hheight ] [ -Ppaper ] [ -q ] [ infile [ outfile ] ] DESCRIPTION
Psresize rescales and centres a document on a different size of paper. The input PostScript file should follow the Adobe Document Struc- turing Conventions. The -w option gives the output paper width, and the -h option gives the output 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 output paper size to a3, a4, a5, b5, letter, legal, tabloid, statement, executive, folio, quarto or 10x14. The default output paper size is a4. The -W option gives the input paper width, and the -H option gives the input paper height. The -P option can be used as an alternative, to set the input paper size. The default input paper size is a4. Psresize normally prints the page numbers of the pages output; the -q option suppresses this. EXAMPLES
The following command can be used to convert a document on A4 size paper to letter size paper: psresize -PA4 -pletter in.ps out.ps 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- macps(1), fixpsditps(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
Psresize does not accept all DSC comments. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWpsutils | +--------------------+-----------------+ |Interface Stability | External | +--------------------+-----------------+ NOTES
Source for ps utilities (psutils) is available on http://opensolaris.org. PSUtils Release 1 Patchlevel 17 PSRESIZE(1)
All times are GMT -4. The time now is 11:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy