- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printer 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
07-18-2005 01:36 AM
07-18-2005 01:36 AM
Printer problem.
I'm facing problem with a print queue. Its printing one line down on a pre-printed form. We have added the reverse feed code on the script but still the problem exists.
/etc/lp/interface/model.orig/<scriptname>
cooked)
echo "\033&-1R\c"
echo "\033&k2G\c"
We have one more printer with similar configuration, there its printing fine on pre-printed form. We checked the difference of model script, its giving the following output.
#diff printerA printerB (printerB is working fine)
97,98c97,98
< DUPPRINT="def"
< BANTRAY="def"
---
> DUPPRINT="def"
> BANTRAY="def" # CHANGE BANNER TRAY
101c101
< BPAPER=""
---
> BPAPER="" # CHANGE BANNER PAGE SIZE
103c103
< PSLEVEL="1"
---
> PSLEVEL="na"
106,107c106,107
< PRINTMODEL="lj4000"
< TEOJ="off"
---
> PRINTMODEL="lj4l"
> TEOJ="na"
3762d3761
< echo "\033&-1R\c"
Can we copy the printer script file and printer model script of printerB to printerA and modify the PERIPH entry in printer script file, will it work??
Many thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 01:57 AM
07-18-2005 01:57 AM
Re: Printer problem.
Go to
var/spool/lp/interface/model.orig
Then "vi" your printer
search this line
ln66
What is this set at?
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 02:01 AM
07-18-2005 02:01 AM
Re: Printer problem.
set
ln66="y"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 02:26 AM
07-18-2005 02:26 AM
Re: Printer problem.
we have set ln66="y". But will come to know the o/p only tomorrow since the printer is in different location.
Can you please tell me what ln66 mean?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 03:39 AM
07-18-2005 03:39 AM
Re: Printer problem.
Your problem sounded kind of like the same thing. so I figured it might be worth a try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 03:42 AM
07-18-2005 03:42 AM
Re: Printer problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2005 12:24 AM
07-21-2005 12:24 AM
Re: Printer problem.
After changing the ln66="yes" the o/p is
The first 6 lines of text are still "1" line down.
The next "11" lines are fine.
The rest of the print is "2" line TO HIGH.
As you mentioned in the previous reply we need to change the top margin. Is there any way to adjust the top margin one line up?
Cheers