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

Conference 44.370::system_management

Title:system management communications forum
Moderator:CHEST::THOMPSON
Created:Fri Mar 21 1986
Last Modified:Thu Jul 08 1993
Last Successful Update:Fri Jun 06 1997
Number of topics:490
Total number of notes:2018

418.0. "LN03/landscape lines per page inconsistent" by CHEST::ELLIOT () Fri Mar 22 1991 17:26

    I've just discovered a difference in the number of lines which can be 
    printed per page in landscape format on an LN03, depending on what 
    machine the file is submitted from.

    The file I was printing was a report generated by a COBOL report 
    writer program. The program specifies the page length (66) and the 
    output file then has to be printed (in landscape format) with /nofeed 
    to prevent the printer adding its own form feeds.

    This works fine on CHEST, but when I tried to print a report on YARD, 
    the output gradually moved down the page (yes, I did remember to put 
    /nofeed!).

    To cut a long story short, I have found that the same LN03 prints up 
    to 66 lines per page in landscape format on CHEST, but only 65 lines 
    on YARD.

    Can anyone explain this difference?

    The report program is in live use, so I would like to know how this 
    problem can be fixed if it occurs on a live system.

    Thanks in advance,

    June
T.RTitleUserPersonal
Name
DateLines
418.1CUCKOO::OTTENUmbrellas, Minds, and systemsFri Mar 22 1991 18:2613
Define the report as 63 Lines, and don't print it with
the /PASSALL ???

The only other way would be to somehow look at the 
LN03_Landscape form, and find it's length from there..

Or use an application post-installtion logical to force the
system management people to tell the application what the length
of the form is.. Then decode the logical in the program.

Then it's their local Is's fault... 

:)
418.2RTFMCHEST::WATSONAs simple as possible, not simplerMon Mar 25 1991 08:438
�Or use an application post-installtion logical to force the
�system management people to tell the application what the length
�of the form is.. Then decode the logical in the program.
    
    Instead of doing the above, why not use the VMS supplied and supported
    logical name SYS$LP_LINES and library routine LIB$LP_LINES ?
    
    	Rik.
418.3CUCKOO::OTTENUmbrellas, Minds, and systemsMon Mar 25 1991 10:4022
CHEST::OTTEN> sh lo sys$lp_lines
%SHOW-S-NOTRAN, no translation for logical name SYS$LP_LINES

RTL_ROUTINES

  LIB$

    LIB$LP_LINES

        The Lines on Each Printer Page routine computes the  default  number
        of  lines  on  a  printer  page.   This  procedure  can  be  used by
        native-mode  VMS  utilities  that  produce  listing  files  and   do
        pagination.

           Format:

             LIB$LP_LINES

That's the default # of lines.. Isn't that overriden by the form??



418.4How do you tell it to use Landscape?HEWIE::RUSSELLIBM (I've been moved) to F11/2!Mon Mar 25 1991 10:5612
Do you rely on there being a landscape form, or do you use the
escape sequence to "switch it round"?

Come round and see Keith, with an example of the output, and have a
report ready to be test printed. Bring the LN03 programmers manual as well.
Oh, and give him a call first, to make sure he's available...

By switching the LN03 into "print controls mode" you can see exactly what
is pumped down the line, and then work it back to see where the
form set up varies.

Peter.
418.5Landscape formCRATE::ELLIOTMon Mar 25 1991 15:348
    Re forms:

    I'm using form LN03_LANDSCAPE, which is defined as 66 lines long
    on both machines. 

    As you suggest, Peter, I'll see Keith about this.

    June.