- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Send eject paper to printer
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
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
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
тАО03-05-2009 07:40 AM
тАО03-05-2009 07:40 AM
Send eject paper to printer
i am using rlpr command to print to a windows shared printer like the following:
/usr/local/bin/rlpr -h -o --windows -SHAREDPRINTER@COMPUTER /opt/test.txt
What happens is that the printer , after has finished with the job, loads the next paper to 1/3 of it.
How can i make the printer eject the paper again, using the same command rlpr ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2009 07:54 AM
тАО03-05-2009 07:54 AM
Re: Send eject paper to printer
2) you've by-passed any model scripts that would have allowed you to customize the output (like adding a trailing form-feed).
3) in this config, any changes required are more than likely going to have to be made to "SHAREDPRINTER@COMPUTER".
4) what brand / model printer and is it connected to a JetDirect interface? If so, why not print directly from HP to it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2009 08:11 AM
тАО03-05-2009 08:11 AM
Re: Send eject paper to printer
It is shared in a Windows computer.
I am using rlpr to print to it.This problem occures only when the options --windows and -o are used.One third of the next page is loaded into the printer,after printing the page.
When i use rlpr with the -p option, this is not happening , but the font and formatting are not good.
Unfortunately , i can not modify the text files that i am printing, and i need to use the --windows and -o options, so that formatting is OK.
So , i am thinking of re-using the command rlpr, but this time sending the eject command to the printer.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2009 08:48 AM
тАО03-05-2009 08:48 AM
Re: Send eject paper to printer
I'd have set this up with as a "remote" printer in the HPUX side. That should/would pass the original file to windows for it's printer driver to process. As this is a "dot matrix" printer, I assume that the paper is fan-fold, so it could also be an issue w/ lines-per-page on the printer.
If windows prints properly, try setting up a remote printer, rather than fiddling w/ rlpr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2009 11:08 PM
тАО03-05-2009 11:08 PM
Re: Send eject paper to printer
This is why i am using rlpr for printing this document.
How can i send the form feed character to the printer using rlpr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2009 11:38 PM
тАО03-05-2009 11:38 PM
Re: Send eject paper to printer
I am printing that file after the file i want to print.
It seems to work.
Thanks for your help.