18.08.2013 Views

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SAR$ WRITE<br />

S'Print_heading'<br />

Insert a heading at the top of all succeeding pages. The heading text must be in<br />

the ASCII/ISO character set with a maximum length of 96 characters. The caller<br />

places the heading text in the text buffer, and the length of the heading text in<br />

the field TEXT_BUFFER_BYTE_LENGTH.<br />

S'Clear_heading'<br />

Clear the heading from the top of all succeeding pages.<br />

S'Set_margins'<br />

Change the values for the page length, top margin, bottom margin, and lines per<br />

inch. The values are set by the caller in fields PAGE_LENGTH,<br />

TOP_MARGIN_LENGTH, BOTTOM_MARGIN_LENGTH, and LINES_PER_INCH.<br />

A value of -1 for any of these fields results in the device standard value being<br />

used.<br />

LINE_NUMBER_ON_PAGE<br />

PLUS Attribute: 18-bit integer<br />

The logical line number on the page to space to. This field is defined only for the<br />

CONTROL_FUNCTION S'Line_spacing'.<br />

PAGE_LENGTH<br />

PLUS Attribute: 18-bit signed integer<br />

The number of lines in a page. This field is defined only for the<br />

CONTROL_FUNCTION S'Set_margins'.<br />

TOP_MARGIN_LENGTH<br />

PLUS Attribute: 18-bit signed integer<br />

The number of blank lines used for a top margin; it must be less than 63 lines.<br />

This field is defined only for the CONTROL_FUNCTION S'Set_margins'.<br />

BOTTOM_MARGIN_LENGTH<br />

PLUS Attribute: 18-bit signed integer<br />

The number of blank lines used for a bottom margin; it must be less than 63 lines.<br />

This field is defined only for the CONTROL_FUNCTION S'Set_margins'.<br />

18–16 7833 1733–004

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!