- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Page Break (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
Forums
Discussions
Discussions
Discussions
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
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
06-26-2007 12:52 AM
06-26-2007 12:52 AM
Page Break (printer)
I am working on HP server (rx1620) running HPUX 11i v2 (June 2006).
I have connected a printer to server through NIC (print server ) ; it was defined as network remote printer.
How can i modify the interface program file in order to add a page break (form feed) at the end of each request from HPUX .
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 01:40 AM
06-26-2007 01:40 AM
Re: Page Break (printer)
/var/spool/lp/interface that is the same name as the printer queue.
you can look at that to see if you can append the form feed. you may have to (in the script) copy the file, append form feed and then print.
HOWEVER, if this is related to your question regarding printing from MF COBOL, I would suspect that the "last line" of the file is still in an i/o buffer and has yet to be written to disk. make sure that the output file is properly closed / flushed before attempting to print.
if routing the printed output to a different printer still results in a missing line, then the issue has almost got to be the program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 03:08 PM
06-26-2007 03:08 PM
Re: Page Break (printer)
Because the "default" is AFTER ADVANCING?
> make sure that the output file is properly closed / flushed before attempting to print.
I'm not sure how this could happen. A close of the file should be done before using lp(1). Of course if system(3) is issued in the COBOL program, that would fail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 07:13 PM
06-26-2007 07:13 PM
Re: Page Break (printer)
Thank you for your concern.
I want to know excatly how can i modify the interface program in /etc/lp/interface directory , in order to add a form feed (page break) at the end of each request.
NB : customer cann't modify the source programs of the application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 07:44 PM
06-26-2007 07:44 PM
Re: Page Break (printer)
Here is a previous request for an Okidata printer:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=469197
And others:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=205714
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 08:09 PM
06-26-2007 08:09 PM
Re: Page Break (printer)
Roger