- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printing problems.. Out of alignment
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
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
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
тАО01-11-2005 05:18 PM
тАО01-11-2005 05:18 PM
I'm printing from the command line simply using "lp testfilename" where testfilename is just a plain vi text file with several lines of plain text.
When it prints, the first line will come out, but the text will continue off the page, so i only ever get the first line.
The printer is a HP Laserjet 2200DN, client is HP-UX 11.11, printer was added using addqueue
THanks
jimmy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2005 07:38 PM
тАО01-11-2005 07:38 PM
Re: Printing problems.. Out of alignment
sorry. I'm not 100% clear on the exact problem. What do you mean by 'continue off the page'?
Does all the text in the file continue to print on the first line i.e. past the edge of the page
or
the first line is printed ok then the print
continue down the page in single characters.
Either way initial tests:
Print a testpage from the printer's panel
Check that the driver in use is correct
Check the page definition
Let me know what happens !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2005 09:08 PM
тАО01-11-2005 09:08 PM
Re: Printing problems.. Out of alignment
Can you post here the testfilename in attachment to try here?
Best Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2005 01:31 AM
тАО01-12-2005 01:31 AM
Re: Printing problems.. Out of alignment
This problem is called stair-stepping effect. This is because unix files do not have a CR at the end of each line. To get a file printed fine, data need to be "cooked" by the model script.
Since you used addque to configure your printer, I think the problem is related to the model script you are using.
Can you verify with :
#what /etc/lp/interface/model.orig/printername
you should have net_lj4x or net_ljx000.
If not, try :
#cp /opt/hpnpl/sh/net_lj4x /etc/lp/interface/model.orig/printername
and then try to print. You don't need to restart the spooler.
Nourreddine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2005 01:39 AM
тАО01-12-2005 01:39 AM
Solutionux2dos testfilename | lp -d
Now the defaults for addqueue should not have changed the printer script which sets: outputmode="cooked". Since the JetDirect scripts have gotten quite complex, check if someone has modified the active script:
diff /opt/hpnpl/sh/net_ljx000 /etc/lp/interface/model.orig/
If there are differences, just reinstall the printer with:
/opt/hpnpl/bin/removequeue -q
opt/hpnpl/bin/addqueue -q
If there are no differences, try printing with the -otext option:
lp -otext testfilename
If that works and the diff command above shows no differences, somehow, the template file(s) in /opt/hpnpl/sh have been modified. Download a clean copy of HPPI. Then run the diff again. Installing HPPI will not change the currently defined printers of their scripts. If diff now shows a difference, just delete and reinstall as above.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2005 02:27 AM
тАО01-12-2005 02:27 AM
Re: Printing problems.. Out of alignment
Check on the printer and see what the printer CR setting is set to using the printer control panel. Set to CR=CR+LF and try.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2005 12:39 PM
тАО01-12-2005 12:39 PM
Re: Printing problems.. Out of alignment
it is stepped down the page, so i'll try the unix 2 dos conversion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2005 05:32 PM
тАО01-18-2005 05:32 PM
Re: Printing problems.. Out of alignment
this has solved the problem, thanks for the help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2005 05:36 PM
тАО01-18-2005 05:36 PM