SUMMARY: Printing landscape text files.

From: Ran Zahor <ran_at_wiztec.co.il>
Date: Wed, 20 Nov 1996 10:57:31 +0200

Hi All !

I originally had the following problem:

>When trying to print text file in a landscape option of lpr :
> lpr -Olandscape a.txt (like in the man pages).
>But the text file printed as portrait .
>The definition in printcap is as follows:
>
>hp5m|lp:\
> :fc#0177777:\
> :fs#023:\
> :if=/usr/lbin/hplaserpsof:\
> :lf=/usr/adm/lperr:\
> :lp=:\
> :mx#0:\
> :of=/usr/lbin/hplaserpsof:\
> :pl#66:\
> :pw#80:\
> :rm=wizhp5m:\
> :rp=text:\
> :rw:\
> :sb:\
> :sh:\
> :sd=/usr/spool/lpd:\
> :xf=/usr/lbin/xf:
>
>Printing landscape postscript files is fine.
>
>The printer type is Hp laserjet 5M , the printer network card is
>Hp jetdirect.
>
>Machine alpha 3000 600 , operating system is DU3.2c .

Thank to :

        Stephen Carpenter.
        Hellebo Knut.
        WHITTAKER, Bruce.
        Special Thanks to Israel Pascal.

The steps that solve the problem was:

1. First of all the problem well known at Digital, and they say the
problem solved at DU 4.0a .

2. Then I got from Digital support (Isarel) an lpr patch (added to this
mail).

3. I moved it to /bin/lpr_landscape.

4. chmod u+s /bin/lpr_landscape.

5. Example to printcap as follow :

   hp5ml|lp1:\
            :if=/usr/lbin/ln03rof:\
            :lf=/usr/adm/lp1err:\
            :lp=:\
            :Or=landscape:\
            :rm=wizhp5m:\
            :rp=raw:\
            :sb:\
            :sh:\
            :sd=/usr/spool/lpd1:

6. Define alias lprl '/bin/lpr_landscape -Plp1 \!*'
  
7. Using lprl a.txt will print this text file as landscape.

8. Any auther printing option didn't change after taking this
step.

9. ferther more WHITTAKER, Bruce recomanded to install a program called
mpage that solve him many problem.
 
Best
 regards,

 All above opinions are personal, unless stated otherwise.
-----------------------------------------------------------------
 Ran Zahor - UNIX System Support | Email : ran_at_wiztec.co.il
 Wiztec Solutions Ltd | Phone : (972)-9-526738
 39 Hagalim Boulevard, P.O.B 2062 | Fax : (972)-9-526706
 Herzlia 6120 , Israel |
------------- http://www.wiztecsolutions.com -------------------
Received on Wed Nov 20 1996 - 10:14:13 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT