- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX Printing Problem
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-20-2005 08:37 AM
04-20-2005 08:37 AM
I have problem to use command line to print out a plain text file in correct format, like the file '/etc/passwd', etc.( I have tried so many pain text files but failed to print out good format paper, and I have to use command line to schedule my printing job )
For example, when i wanted to print out /etc/passwd with: lp -d
or lp -d
root:*:0:3::/:/sbin/sh
daemon:*:1:5::/:/sbin/sh
bin:*:2:2::/usr/bin:/sbin/sh
sys:*:3:3::/:
adm:*:4:4::/var/adm:/sbin/sh
uucp:*:5:3::/var/spool/uucppublic:/usr/lbin/uucp/uucico
lp:*:9:7::/var/spool/lp:/sbin/sh
...
The result I got is: ONLY 1 letter size paper
root:*:0:3::/:/sbin/sh
(NOTE: those
(Only 4 lines were printed, and each line was aligned to the right side, ALL other lines are missing)
However, if I change the Printer setting on the printer its own:
PCL EMUL MENU -> Auto CR after LF = ON
Auto LF after CR = ON
( Default: both = OFF )
the problem above was solved.
But I found that it rose a problem when I print plain text file on VMS to the same printer. So, I have to keep the printer setting to the default value: OFF
Anything I can do on HP-UX to format the printout ? like some configuration file or char mapping table ?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 08:49 AM
04-20-2005 08:49 AM
Re: HP-UX Printing Problem
Missing a CR and/or LF
Is this a remote printer to a WIN system? If so check the WIN system and see how the printer is configured on the WIN system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 09:29 AM
04-20-2005 09:29 AM
Re: HP-UX Printing Problem
It's a network printer.
Is there something I can do on HP-UX side ?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 09:45 AM
04-20-2005 09:45 AM
Re: HP-UX Printing Problem
If so, go into the firware menu on the printer and make the appropriate changes for LF and CR on the printer.
If added through jetadmin or hppi, there is no need to do anything there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 09:54 AM
04-20-2005 09:54 AM
Re: HP-UX Printing Problem
Sorry, but I do not think you can do anything at HPUx side related to this. This is related to hardware and you will have to change is there. Does not your printer support multiple settings ? Load first when printing one thing and second when printing other thing.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 10:18 AM
04-20-2005 10:18 AM
Re: HP-UX Printing Problem
Because we also need to use those printers for VMS printouts, if I change those 2 setting on the printers to be ON, then the format of VMS printouts will have problem...
So, I hope I can do something on HP-UX side to make it work, with right format.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 12:27 AM
04-21-2005 12:27 AM
Re: HP-UX Printing Problem
What do you mean multiple setting ?
I don't think the printers can detect the remote O/S and change the setting automatically.
I wonder whether there is a character mapping table I can use on HP-UX, which could solve the problem in another way...
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 01:02 AM
04-21-2005 01:02 AM
SolutionLexmark - you need to download and Install Markvision - and use that to install the printer(s) on HP-UX:
The file to download from http://drivers.lexmark.com/ is DRIVERS-HPUX1X.PKG.Z
uncompress it then swinstall it.
It will install "Lexmark Enhanced Printer Drivers Package" and "Lexmark Screen Fonts Package". After completion, run: /opt/lexmark/setup.print (use the default of bin for Administrative group, and install fonts as an additional font directory.
Then use lexprt program to add queues.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 02:25 AM
04-21-2005 02:25 AM
Re: HP-UX Printing Problem
I tried that long time ago and it didn't work, that's why finally I had to change the PCL setting on the printer side. But there is a printer share issue with VMS system now.
I think there must be a file that takes care of the "CR" and "LF"...
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 04:07 AM
04-21-2005 04:07 AM
Re: HP-UX Printing Problem
Go to the lowest common denominator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 04:26 PM
04-21-2005 04:26 PM
Re: HP-UX Printing Problem
$ ux2dos