1829001 Members
2346 Online
109986 Solutions
New Discussion

Printer problem.

 
Terrance_2
Occasional Advisor

Printer problem.

Hi,

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,


6 REPLIES 6
John Jimenez
Super Advisor

Re: Printer problem.

Do me a favor?
Go to
var/spool/lp/interface/model.orig
Then "vi" your printer
search this line
ln66
What is this set at?

John
Hustle Makes things happen
John Jimenez
Super Advisor

Re: Printer problem.

I guess you can find this on the script you already have opened.

set
ln66="y"
Hustle Makes things happen
Terrance_2
Occasional Advisor

Re: Printer problem.

Hi John,

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?
John Jimenez
Super Advisor

Re: Printer problem.

It has to do with putting 66 lines per page. A few years ago as we started replacing the older HP laser printers, reports that printed fine on the older printer begin going 1 line off. The last line would print on the next page. It took me a long time to figure this out. Finally some one at HP had me look at this setting and change it.
Your problem sounded kind of like the same thing. so I figured it might be worth a try.
Hustle Makes things happen
John Jimenez
Super Advisor

Re: Printer problem.

On second thought. I think I might have mis-read your question. It looks like your top margin is too high.
Hustle Makes things happen
Terrance_2
Occasional Advisor

Re: Printer problem.

Hello John,

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