(LOGO.JPG) Python for OpenVMS

(go to: table of contents, index, list of vms_lib, prev: INIT_DATE_TIME_CONTEXT, next: PARSE_ACCESS_CODE)


LP_LINES - Lines on Each Printer Page


Format:
    lp_line_count = vms_lib.lp_lines ()
Returns:
lp_line_count
The default number of lines on a physical printer page. If the logical name ("SYS$LP_LINES") translation or conversion to binary fails, a default value of 66 is returned.
Arguments:

vms_lib.lp_lines() does not take any arguments.

Examples:

>>> import vms_lib

>>> lp_line_count = vms_lib.lp_lines ()
>>> lp_line_count
66

$ DEFINE SYS$LP_LINES "_INVALID_"
>>> vms_lib.lp_lines ()
66

$ DEFINE SYS$LP_LINES "72"
>>> vms_lib.lp_lines ()
72

* don't forget to use '$ DEASSIGN SYS$LP_LINES' !

>>> vms_lib.lp_lines ('S')
Traceback (innermost last):
  File "<stdin>", line 1, in ?
TypeError: function requires no arguments
>>>

(go to: table of contents, index, list of vms_lib, prev: INIT_DATE_TIME_CONTEXT, next: PARSE_ACCESS_CODE)

30-SEP-1998 ZE.