- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how do I set "landscape" printout by default
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 07:28 AM
тАО10-21-2004 07:28 AM
I have another system, and all printers configured on that system will produce landscape format.
thanks for your help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 07:32 AM
тАО10-21-2004 07:32 AM
Re: how do I set "landscape" printout by default
Compare the other printer (doing landscape) with the new printer you are working on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 08:18 AM
тАО10-21-2004 08:18 AM
Re: how do I set "landscape" printout by default
Is there anything I can do during I use "hppi"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 08:23 AM
тАО10-21-2004 08:23 AM
Re: how do I set "landscape" printout by default
hppi doesn't have an option to change the defaults.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 08:24 AM
тАО10-21-2004 08:24 AM
Re: how do I set "landscape" printout by default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 08:26 AM
тАО10-21-2004 08:26 AM
Re: how do I set "landscape" printout by default
Another option is to write a wrapper script. When the lp command is invoked, direct it to executing your wrapper script which will have the -o landscape option.
Depending on how many printers you manage, this could be a time saver.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 08:28 AM
тАО10-21-2004 08:28 AM
Re: how do I set "landscape" printout by default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 08:30 AM
тАО10-21-2004 08:30 AM
Re: how do I set "landscape" printout by default
Other thing to look at is the printer itself. Depending on the printer you can set the firmware in the printer to print landscape all the time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 08:32 AM
тАО10-21-2004 08:32 AM
Re: how do I set "landscape" printout by default
some printers are same model.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 08:33 AM
тАО10-21-2004 08:33 AM
Re: how do I set "landscape" printout by default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 08:35 AM
тАО10-21-2004 08:35 AM
Re: how do I set "landscape" printout by default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 08:37 AM
тАО10-21-2004 08:37 AM
SolutionSetting a printer's defaults in the printer is not a good idea. It affects every print job regardless of where it came from. Now PCs almost never send plain ASCII files. Even old Notepad has been enhanced to add font selection, etc and usually overrides most of the default printer settings. Only a DOS command line can ensure pure ASCII printing from a PC. But for Unix systems, the default is to do nothing about overriding the printer's defaults. Another common user change is the font size, width and height and also the page layout in lines per page and lines per inch.
If these printers are shared with other Unix systems, slap the hands of users that change the printer's defaults. Always change the defaults in the printer scripts.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 08:38 AM
тАО10-21-2004 08:38 AM
Re: how do I set "landscape" printout by default
If you are looking to always do landscape, then you could alias the lp command. example-
alias lp=lp -olandscape
Then anyone that does a "lp printfile" will automatically have the landscape option set.
The other alternative is to make it the default under the print driver script under /usr/spool/lp.
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 08:39 AM
тАО10-21-2004 08:39 AM
Re: how do I set "landscape" printout by default
If you print from server2 to printer1 is it landscape? or portrait?
This would be printing the same job as well.
Looking to narrow down the possibilities - is it the server(s) or the printer(s)?
Is it possible that printer escape codes are embedded in thre document that is being printed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 09:04 AM
тАО10-21-2004 09:04 AM
Re: how do I set "landscape" printout by default
If I use the command "lp -dPrint -oportrait", and then it produces a normal portrait format, that indicates the user has default configuration settings on the printer itself?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 09:10 AM
тАО10-21-2004 09:10 AM
Re: how do I set "landscape" printout by default
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 09:29 AM
тАО10-21-2004 09:29 AM
Re: how do I set "landscape" printout by default
I went to the directory you suggested /usr/spool/lp, but which file(driver) I should be looking into to set the default as you indicated? there are a lot of files underneath.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 10:02 AM
тАО10-21-2004 10:02 AM
Re: how do I set "landscape" printout by default
Example, the laserjet driver is by default portrait. There is a line in the file; orientation="def"
There is a case statement for orientation portrait|def. Change so the the def is with the landscape.
I have this beginning at line 588 of the laserjet file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 10:24 AM
тАО10-21-2004 10:24 AM
Re: how do I set "landscape" printout by default
thanks for the message.
After I finish creating a printer queue, how can I find out what printer model I used during the process of creating the queue?
Did I choose laserjet5i or deskjet500?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 10:32 AM
тАО10-21-2004 10:32 AM
Re: how do I set "landscape" printout by default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 01:52 PM
тАО10-21-2004 01:52 PM
Re: how do I set "landscape" printout by default
Bill Hassell, sysadmin