tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Ran Zahor <ran () wiztec ! co ! il>
To: tru64-unix-managers
Subject: SUMMARY: Printing landscape text files.
Date: Wed, 20 Nov 1996 08:57:31 +0000	[thread overview]
Message-ID: <96076341621661.tru64-unix-managers.marc@archive.invalid> (raw)

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@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 -------------------

                 reply	other threads:[~1996-11-20  8:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox