- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: printing a stair
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
09-19-2001 01:32 AM
09-19-2001 01:32 AM
printing a stair
lp -dprinter /etc/hosts
The hosts file is printed like a stair. Like this:
xxxxxxx
yyyyyyyy
zzzzzz
How can I print normal output?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 01:40 AM
09-19-2001 01:40 AM
Re: printing a stair
is your printer correctly configured?
please use sam to check your configuration
> sam
printers and plotters
HTH dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 01:44 AM
09-19-2001 01:44 AM
Re: printing a stair
Hmm, sounds like someone is mucking around with your printer setup. Try printing it in raw mode; lp -o raw -d
and check the printer config file setup in /usr/spool/lp/interface to see if someone has made some changes to it. To be sure remove the printer and add it in again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 01:51 AM
09-19-2001 01:51 AM
Re: printing a stair
Which printer are you using ?
Is it the only hosts file printing like that ?
Have you tried printing the hosts file on another printer ?
Thanks
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 02:04 AM
09-19-2001 02:04 AM
Re: printing a stair
You need to set up a modellscript when you set up the printer, the driver the will do what is needed.
If you do not use this printer from DOS/Windows, you can check the printer, if you can hardcode/dip_switch it to do a LF->CR/LF auto conversion. But you will have trouble, if an application with own printer drivers will access the printer, because you might get double linefeeds then.
Hope this helps
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 02:07 AM
09-19-2001 02:07 AM
Re: printing a stair
this is model script of printer not correct.
output like you 'cat' file out to printer.
if it is line printer try use dumb model script.