- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lpr command
Operating System - HP-UX
1753632
Members
5722
Online
108798
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО09-08-2000 10:03 AM
тАО09-08-2000 10:03 AM
lpr command
what kind of lpr option is needed to specify to the printer to use 11x17 paper source
Please give the full command with an example.
Regards
Please give the full command with an example.
Regards
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2000 10:22 AM
тАО09-08-2000 10:22 AM
Re: lpr command
The lp option is dependent upon the model of printer/print driver. For instance, on an lj4si the command might be:
lp -o ledger -d
You can find the needed string by examining the options listed in /etc/lp/interface for the queue in question. For network printers, look in /etc/lp/interface/model.orig
lp -o ledger -d
You can find the needed string by examining the options listed in /etc/lp/interface for the queue in question. For network printers, look in /etc/lp/interface/model.orig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2000 11:21 AM
тАО09-13-2000 11:21 AM
Re: lpr command
You may use
lp -o -d
e.g.
lp -o letter /etc/passwd (use default queue)
common type_of_paper_source are
legal,letter,ISOA3,ISOA4,ledger, exec, JISB4, JISB5 etc.
More over
To set up default page size run
/opt/hpnp/bin/jetadmin
go to following options in sequence:
3) Administration
IP Address : 11.0.9.102 (IP of network printer)
1) ---- Remote configuration utility
8) Page configuration
You may select page size of your choice.
Then run lp command with -d option
for example printer at 11.0.9.102 is named as dev_print then you may print file(print_file) as follows:
lp -d dev_print print_file
lp -o
e.g.
lp -o letter /etc/passwd (use default queue)
common type_of_paper_source are
legal,letter,ISOA3,ISOA4,ledger, exec, JISB4, JISB5 etc.
More over
To set up default page size run
/opt/hpnp/bin/jetadmin
go to following options in sequence:
3) Administration
IP Address : 11.0.9.102 (IP of network printer)
1) ---- Remote configuration utility
8) Page configuration
You may select page size of your choice.
Then run lp command with -d option
for example printer at 11.0.9.102 is named as dev_print then you may print file(print_file) as follows:
lp -d dev_print print_file
Punjabhai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2000 01:00 PM
тАО09-13-2000 01:00 PM
Re: lpr command
Use the lp command.
If you have multiple trays installed in the printer, you could look at suppling the options to print to a specific tray.
If you have multiple trays installed in the printer, you could look at suppling the options to print to a specific tray.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP