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
04-28-2002 05:11 PM
04-28-2002 05:11 PM
LP
I am having problems with printing text file to my printer. The printer attempts to print everything in one line. What I get from cat /etc/profile | lp
is only the top-line of the file.
However if I do this a2ps -1 -o - /etc/profile | lp
everything works like a dream.
What I need from the printer is the ability to print ASCII Text Files as well as Rich Text Files
The printer was configured using SAM (HP-UX 11) to print to a HP8000 via LPD.
Rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2002 10:21 PM
04-28-2002 10:21 PM
Re: LP
Hi,
Your problem is probably caused by the
differenece in line-termination in the
PC-world and the UNIX-world.
Your printer expects cr-lf (carriage-return
and linefeed) to make a newline.
UNIX has only lf as line-termination.
Check if your printer can be configured to
automatically add a carriage-return when
it gets a line-feed. Most printers have
this ability.
If not I will need more info about how your
printer is set. If it is set up as a remote
printer, a small change in the interface
script will fix the problem.
Regards
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 02:40 AM
04-29-2002 02:40 AM
Re: LP
If ux2dos /etc/profile|lp
works
Then olav is completely correct.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 03:01 AM
04-29-2002 03:01 AM
Re: LP
Look at the followin two files
/etc/lp/interface/
/usr/lib/lp/
I thing you need to do a little changes in the printer cionfig file.
-Niraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 03:10 AM
04-29-2002 03:10 AM
Re: LP
consider using JetAdmin zu access that printer, as it has a built-in JetDirect interface , and using JetAdmin (free from HP) you can change settings like PostScript-Auto-detect, and such... And you will get rid of the line-end problem.
HTH,
Wodisch