- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - 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
11-19-2002 12:54 AM
11-19-2002 12:54 AM
I am using hp-ux 11i. I have some files generating from billing application with extention of .dat. When we give print command from DOS, it's printing ok. But, when print command is given from hp-ux 11i server, it's printing inaccurately. Any idea?
Printer : HP laserJet 4050N, network printer.
File : test01.dat
Thanks in advance.
Richard
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2002 01:50 AM
11-19-2002 01:50 AM
Re: printing problem
can you try using
# pr test01.dat |lp
it will print it to your default printer if set if not
export the LPDEST variable
=============================
==
# export LPDEST=
# pr test01.dat |lp
Regards
-Niraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2002 03:17 AM
11-19-2002 03:17 AM
Re: printing problem
lp -oraw -dprinter test01.dat
Type extensions like .dat are meaningless to Unix so you have to explicitly handle specail cases.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2002 03:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2002 07:17 AM
11-19-2002 07:17 AM
Re: printing problem
Thanks to you all, I will do as you said( just now I am out-off site), share with you with my results.
Thanks
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2002 11:55 PM
11-19-2002 11:55 PM
Re: printing problem
Now I can print the test01.dat file. Thanks All, specially Anil, ux2dos helped me.
But can you tell me, how can I change the ux format to dos( not in this format: ux2dos file1 file 2 file3 > file) of a large number of files, say at a time 40/50 thousand? you know it's a billing application.
Thanks again
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 12:01 AM
11-20-2002 12:01 AM
Re: printing problem
Now I can print the test01.dat file. Thanks All, specially Anil, ux2dos helped me.
But can you tell me, how can I change the ux format to dos( not in this format: ux2dos file1 file 2 file3 > file) of a large number of files, say at a time 40/50 thousand? you know it's a billing application.
Is there any thing to do in the printer(HP LJ 4050N) settings( PCL?)? or in the Model script file?
By changing any parameter of above 2,is it possible to bypass this format changing( ux2dos)of files?
Thanks again
Richard