[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference kernel::unix_printing

Title:Printing from UNIX
Moderator:KERNEL::COFFEYJ
Created:Thu Dec 17 1992
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:956
Total number of notes:2876

908.0. "system 5 printing to hp4m+" by GIDDAY::SCHWARZ () Tue Feb 04 1997 10:12

       G'day all
    
        I have a customer how is trying to set up system 5 printing to a
    HP4m+. His application wants to use lp -o   to set up the page size and
        orientation. From what I have read SVE is not able to use the -o option
        to postscript printers. My question is how can we set up System 5
        printing so that it talks pcl to the printer.
    
        Regards
    
        Kym Schwarz
        Unix support 
        CSC Sydney
    
        cross posted to digital_unix
    
    
T.RTitleUserPersonal
Name
DateLines
908.1KERNEL::COFFEYJLa Feline Flooz - a unix catFri Feb 07 1997 12:5417
If it's a postscript printjob going to the postscript printer
then you can mess with lpr -O all you like and it'll make no 
difference.  lp doesn't have a -o switch and on lpr -o is 
output tray not orientation. 

The Postscript code itself controls orientation so even 
if you sent a signal to the printer saying to switch to 
landscape if the postscript header is then sent down 
saying to print in portrait it'll come out in portrait. 

If it's not all postscript then the easy way to 
control orientation is usually to have a separate 
queue for each, usually page width is as easy a 
way to sets to landscape. (Set to 132 - the maximum 
for lpd - it will switch over).