Network Printer Settings-landscape/portrait mode


 
Thread Tools Search this Thread
Operating Systems HP-UX Network Printer Settings-landscape/portrait mode
# 1  
Old 07-27-2009
Network Printer Settings-landscape/portrait mode

Hello everyone..

While printing through command line, we can set printing option with -o <lanscape/portrait> to print file in required mode.
But i want to know is there any way we can set this as default behaviour for this printer?
After configuration any script we can modify for this configured printer?

Appreciate any help on this.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to adjust network settings

Hello, Newbie question on scripting - I'm looking to create a simple script that will work on RHEL5 that will adjust the network settings: ip address, default gateway, and subnet mask. If anything else needs to be done (service network stop / start) or should be done to make settings active - I... (4 Replies)
Discussion started by: rojizo
4 Replies

2. UNIX for Dummies Questions & Answers

FX890 Printer Margin Settings

We have several HP FX-890 printers set up on our UNIX server to print invoices. All of the printers should be set up the same way (i.e. same margins, same paper height, etc). Our printer named invoice4 is now printing like the margins are shorter than the other printers. By that I mean it will... (9 Replies)
Discussion started by: talon52
9 Replies

3. UNIX for Dummies Questions & Answers

Printing Landscape to PCL 6 Printer

I've looked around and am able to print landscape to a PCL 5 printer with this command: lp -o landscape -o cpi=20 -o page-right=30 -o page-left=30 -d <printer> <file>. Which gives me a nice 200 columns. But, when I send the same output and the same commands to a PCL 6 printer, it comes... (3 Replies)
Discussion started by: tariqjamal
3 Replies

4. UNIX for Dummies Questions & Answers

smbclient print while preserving windows printer settings?

I have successfully gotten AIX to print to a windows shared printer with this command: smbclient -U user%password -W domain -c "print file.ext" the only problem is: I have this print queue set up on the Windows side to overlay an image to all pages. When printing from samba, the overlay... (2 Replies)
Discussion started by: raidzero
2 Replies

5. Solaris

Network settings

I have problem with network settings. Where i can find network config ? I'm newbie, but i very want learn this OS. I find : /etc/hostname.<interface> /etc/netconfig /etc/netmasks /etc/networks /etc/inet/hosts But where i can write my IP-address and after reboot i be know that my server... (2 Replies)
Discussion started by: jess_t03
2 Replies

6. UNIX for Dummies Questions & Answers

Lpadmin and viewing printer settings

Hi - Dummy question #1.... We either use the Hewlett Packard HPPI too or LPADMIN command to setup out printers. Is there an LPADMIN command that will show you the default config of a particular printer. Ideally looking to see default font, CPI settings etc. Thanks. BravehearT1326 ... (1 Reply)
Discussion started by: BravehearT1326
1 Replies

7. SCO

Lexmark T632 printer settings

My Lexmark T632 printer is attached to Unix system. Somtimes user change the printer settings. I want to be able to get access the printer setting file. If a user changes the settings and I need to restore the settings to original value, then I can ftp the standard menu setting file. Can anyone... (0 Replies)
Discussion started by: nasirgondal
0 Replies

8. Solaris

printer settings

I have created a printer, but I need to change the default pitch (CPI and LPI). According to the lpadmin man page, I have to use the following command to change the pitch lpadmin -p <printername> -o cpi=<decimal value> -o lpi=<decimal value> However, this does not work. I tried it with a... (1 Reply)
Discussion started by: soliberus
1 Replies

9. UNIX for Dummies Questions & Answers

Network settings

Total newbie here!! How do I view and alter network settings (ip address, subnet mask and default gateway) in UNIX? Thanks in advance.. (3 Replies)
Discussion started by: ZappaDub
3 Replies
Login or Register to Ask a Question
postprint(1)							   User Commands						      postprint(1)

NAME
postprint - PostScript translator for text files SYNOPSIS
postprint [-c num] [-f name] [-l num] [-m num] [-n num] [-o list] [-p mode] [-r num] [-s num] [-t num] [-x num] [-y num] [file...] /usr/lib/lp/postscript/postprint DESCRIPTION
The postprint filter translates text files into PostScript and writes the results on the standard output. If no files are specified, or if - is one of the input files, the standard input is read. OPTIONS
-c num Print num copies of each page. By default, only one copy is printed. -f name Print files using font name. Any PostScript font can be used, although the best results will be obtained only with constant width fonts. The default font is Courier. -l num Set the length of a page to num lines. By default, num is 66. Setting num to 0 is allowed, and will cause postprint to guess a value, based on the point size that's being used. -m num Magnify each logical page by the factor num. Pages are scaled uniformly about the origin, which is located near the upper left corner of each page. The default magnification is 1.0. -n num Print num logical pages on each piece of paper, where num can be any positive integer. By default, num is set to 1. -o list Print pages whose numbers are given in the comma-separated list. The list contains single numbers N and ranges N1 - N2. A missing N1 means the lowest numbered page, a missing N2 means the highest. The page range is an expression of logical pages rather than physical sheets of paper. For example, if you are printing two logical pages to a sheet, and you specified a range of 4, then two sheets of paper would print, containing four page layouts. If you specified a page range of 3-4, when requesting two logical pages to a sheet; then only page 3 and page 4 layouts would print, and they would appear on one physical sheet of paper. -p mode Print files in either portrait or landscape mode. Only the first character of mode is significant. The default mode is portrait. -r num Selects carriage return behavior. Carriage returns are ignored if num is 0, cause a return to column 1 if num is 1, and generate a newline if num is 2. The default num is 0. -s num Print files using point size num. When printing in landscape mode num is scaled by a factor that depends on the imaging area of the device. The default size for portrait mode is 10. Note that increasing point size increases virtual image size, so you either need to load larger paper, or use the -l0 option to scale the number of lines per page. -t num Assume tabs are set every num columns, starting with the first column. By default, tabs are set every 8 columns. -x num Translate the origin num inches along the positive x axis. The default coordinate system has the origin fixed near the upper left corner of the page, with positive x to the right and positive y down the page. Positive num moves everything to the right. The default offset is 0.25 inches. -y num Translate the origin num inches along the positive y axis. Positive num moves text up the page. The default offset is -0.25 inches. A new logical page is started after 66 lines have been printed on the current page, or whenever an ASCII form feed character is read. The number of lines per page can be changed using the -l option. Unprintable ASCII characters are ignored, and lines that are too long are silently truncated by the printer. EXAMPLES
Example 1: Examples of postprint. To print file1 and file2 in landscape mode, issue the following command: example% postprint -pland file1 file2 To print three logical pages on each physical page in portrait mode: example% postprint -n3 file EXIT STATUS
The following exit values are returned: 0 Successful completion. non-zero An error occurred. FILES
/usr/lib/lp/postscript/forms.ps /usr/lib/lp/postscript/ps.requests ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpsf | +-----------------------------+-----------------------------+ SEE ALSO
download(1), dpost(1), postdaisy(1), postdmd(1), postio(1), postmd(1), postreverse(1), posttek(1), attributes(5) SunOS 5.10 9 Sep 1996 postprint(1)