- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lp printing in 11i
Operating System - HP-UX
1753621
Members
5729
Online
108797
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
тАО03-13-2009 05:04 PM
тАО03-13-2009 05:04 PM
lp printing in 11i
We are hooking up new printers (kodak/minolta) as remote printers using hppi and using net_genericprinter. We have output and can print portrait and landscape. Things are looking good. Only issue is that we have a carriage return/line feed issue where every line is double spaced but the original files (straight ascii text dumps) are single spaced. There's no other weirdness like stairstepping- everything looks good except for the double spacing issue.
Ideas anyone?
Ideas anyone?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2009 03:39 PM
тАО03-14-2009 03:39 PM
Re: lp printing in 11i
It seems you have the different problem than stair stepping, you have too many linefeeds.
I assume the original files have just linefeeds and they aren't DOS with CR LF?
I assume the original files have just linefeeds and they aren't DOS with CR LF?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2009 05:44 PM
тАО03-14-2009 05:44 PM
Re: lp printing in 11i
Since you set them up using hppi, there is no Windows box in the middle (which is a good thing). However, some printers have internal configurations for Unix compatibility. Unix systems will typically send ASCII files exactly as they are stored: a line feed (LF) at the end of every line but no carriage return (CR). When this is sent to most printers, the result is that the text looks like stairs, dropping down as the text goes across the page.
The hppi model scripts will add the CR after every LF but if your printer is configured for Unix compatibility, you may be getting an extra line from the printer.
To verify this, use the network printer interface program: hpnpf. To send just the raw ASCII files with no special processing, use this:
hpnpf -x 12.34.56.78 /etc/profile
On most printers, this will stairstep across the page and off the right edge of the paper. But if your printers show the text single spaced and normal, then the printers are supplying an extra CR/LF pair. To fix this, use the printer's setup menu and turn off the special Unix option. This might not be called Unix -- it might be some other OS name.
Now if these printers are being used by other systems, turning off this setting in the printer may break printouts from those systems. In that case, get a copy of the technical refence manual and find the special codes that can be pre-pended to each job to set the printer correctly for HP-UX.
Bill Hassell, sysadmin
The hppi model scripts will add the CR after every LF but if your printer is configured for Unix compatibility, you may be getting an extra line from the printer.
To verify this, use the network printer interface program: hpnpf. To send just the raw ASCII files with no special processing, use this:
hpnpf -x 12.34.56.78 /etc/profile
On most printers, this will stairstep across the page and off the right edge of the paper. But if your printers show the text single spaced and normal, then the printers are supplying an extra CR/LF pair. To fix this, use the printer's setup menu and turn off the special Unix option. This might not be called Unix -- it might be some other OS name.
Now if these printers are being used by other systems, turning off this setting in the printer may break printouts from those systems. In that case, get a copy of the technical refence manual and find the special codes that can be pre-pended to each job to set the printer correctly for HP-UX.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 08:23 AM
тАО03-18-2009 08:23 AM
Re: lp printing in 11i
ok, fixed it. It wasn't a spacing issue at all... Turns out the printers have a default setting for lines per page in pcl settings. So setting the pcl pitch for smaller fonts still keeps the 60 lines per page, looking like the output was double spaced. We set the font pitch for 13 and the lines per page at 72 (this is a konica minolta bizhub printer) and set the printer up in hppi using a net_genericprinter model script. All of this gets us portrait, landscape and 132 column output in landscape on 8.5 x 11 paper. The only other thing we tested was that bold works too. This is an office printer and is used by windows, macs and my hp 9000 series box running hpux 11.11.
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