- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to disable blank page after each print job?
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
тАО03-08-2004 11:50 AM
тАО03-08-2004 11:50 AM
How to disable blank page after each print job?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2004 12:34 PM
тАО03-08-2004 12:34 PM
Re: How to disable blank page after each print job?
Tell us your OS.
If it happens to be openspool, live with it, the product is out of support.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2004 12:42 PM
тАО03-08-2004 12:42 PM
Re: How to disable blank page after each print job?
We're printing from Oracle Financials Applications 11i sitting on HP-UX. All print requests will then be spooled to our Print server, and then to our Ricoh printers (remote printers).
Our O/S=HP-UX 11.11
Just this morning, I disabled the banner
printing as below:
cd /var/spool/lp/interface
vi
BSDh="-h"
Can I change other parameter on this file to disable blank page after every print job? If not what file should I configure in unix?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2004 01:32 PM
тАО03-08-2004 01:32 PM
Re: How to disable blank page after each print job?
Note also that truly archaic programming techniques are still out there for handling printers, specifically, line counting. In the good old days of green bar paper, everyone knows that there are exactly 60 lines per page. Of course, that concept is completely useless with laser and inkjet printers. Lines per page are completely defined by fonts, interline spacing and even positioning macros in the printer language.
And to make this even more complex, modern printers have a concept of a logical page which may also be defined during the print job. In the logical page concept, when the selected font has produced N number of lines, a page eject is performed within the printer.
So the problem will take some time to resolve. HP-UX doesn't create any blank pages and most likely the Oracle Financials report writer probably doesn't (well, intentially) create an extra page. However, I have seen reports where the very last line of the report is followed by CR/LF and even though there is nothing on the new line, the LF (part of the report) kicks out a new page. Even though there is nothing to print on the new page, closing the print job will kick out the extra page. The fix is to remove the unnecessary CR/LF from the program or report writer.
With such problems, I would start by creating your own test pages, one that demonstrates the width of the page (start at 75 and work up to 134 chars in width) and create a 3 page document with every line numbered. Just print this with lp to see how the printer behaves with plain text.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2004 03:43 PM
тАО03-08-2004 03:43 PM
Re: How to disable blank page after each print job?
You still didn't say what spooler you were using.
We do all of our oracle reports in pdf format, that helps with this issue.
We use a customized verion of easyspooler http://www.easyspooler.com to handle the requests. PDF and easyspooler will fix this.
Also check the default printer hard coded into the forms and reports startup scripts. If thats wrong, this behavior can be generated. To figure out what is wrong, check at metalink, I haven't a clue other than to know the one setup that works for me. Mine.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2004 07:06 PM
тАО03-08-2004 07:06 PM
Re: How to disable blank page after each print job?
maybe you have already done this: if not, try to print on the printer from somehere else in order to se if that also produces an extra page - just to rule out that the printer setup is responsible for the extra page.
Just a thought, as the printer setup itself has been the culprit when our customers have complained about the same problem.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2004 12:12 AM
тАО03-10-2004 12:12 AM
Re: How to disable blank page after each print job?
Just a guess.....
Redirect the print job to a file and try to print it by hand.
You may discover the last blank page is actually part of the print job.
Or maybe the report puts a control-L at the end automatically.
Let's say it IS the report program and not the printer. You would need to remove that bottom line (the one with the line feed on it), from the report prior to printing.
cat report.txt | sed '$d' | lp -dprinter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2004 07:26 AM
тАО03-10-2004 07:26 AM
Re: How to disable blank page after each print job?
I'm not aware of our spooler name, what we're using is a the regular unix spooler for HP-UX 11.11.
I tried printing directly from command line the Oracle report and it printed WITHOUT the blank page. Maybe I'm just thinking that the report is the issue. BUT in saying this, I don't want to configure thousands of reports, instead I want to drill down on the real cause. If I can just tweak a setting in unix or our print server or on the physical printer itself, this would be the best solution for our company.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2004 07:49 AM
тАО03-10-2004 07:49 AM
Re: How to disable blank page after each print job?
Now with some fancy scripting using awk or sed, you might figure out a way to strip off blank lines and perhaps formfeed characters (if any) end of each job, then modify the printer script to change from a cat of the file to use your script. This is of course nothing more than a patch to fix incorrectly formatted reports...
Bill Hassell, sysadmin