E r g e b n i s / R e s u l t
Returns the requested printer information.
B e s c h r e i b u n g / D e s c r i p t i o n
This language call contains 5 printer functions which can be used with OAIII Programmer or Compiler to find out printer information.
These functions are real handy for getting paper parameters from the current printer configuration. The PRINTER IS statement must have been executed before you can try these functions.
S y n t a x
To Execute from Programmer:
Code:
PRINTER IS ""
pname = call ("PRTNAME");
total_lines = call ("TOTALLN");
cur_line = call ("LINENO");
line_width = call ("LINELEN");
ptype = call ("PRTTYPE");
PRINTER END P a r a m e t e r
R e t u r n s
totalln - returns total number of lines per page
lineno - returns the current line number on the page
linelen - returns the characters per line
prtname - returns the printer configuration name
prttype - returns where the output is going printer, file, or console
B e i s p i e l / E x a m p l e
See above in Syntax-section.