 |
ALPHA-VISION® Misc Actions: Usr_PrintPage
|
Usr_PrintPage
SUMMARY
Usr_PrintPage - Print pagewise
SYNTAX
Usr_PrintPage (
<DisplayId>,
<PrintQueue>,
<PageNo>)
ARGUMENTS
- DisplayId
-
Print Layout to use
- PrintQueue
-
Printer to be printed to
- PageNo
-
0 = print all
n = is taken as page number
DESCRIPTION
A page wise print, using the defined printer and print layout, is started.
If no parameter for “PageNo” is defined the system will ask for
an input when the job is called in runtime.
HINTS !
- To be able to print a Systemobject “_PRINT” must exist !
Systemobject "_PRINT"
Text: Name of the Printqueue - dyn. from System
Value1: Max. number of print orders possible.
(No Entry = default = 10)
Value2: Act. number of print orders - dyn. from System
Text1: Act. Error message - dyn. from System
-
The printout is done page wise – one page is taken as one
print order.
If the value defined by “Value1” is reached any further print
orders are ignored.
If “value 1” is rather high, it might lead to problems on a
heavy workload of the system.
-
In the layout of a page background colour, header, number of
lines, etc. are defined.
- if, for example, the print layout got 66 lines but the monitor
just 28, the page numbers on the monitor and the printout will
definitely differ ! !
EXAMPLES
Usr_PrintPage (ALARMS,Laser_1,13)
Page 13 is printed on "Laser_1" using the Layout "ALARMS".
Syntax Notation
- [aaa]
- aaa is optional (zero or one occurences)
- (aaa|bbb)
- aaa exclusive or bbb
- (aaa)*
- aaa may occur indefinitely often or may be omitted
- (aaa)+
- aaa may occur indefinitely often but at least once
- (aaa)m..n
- aaa may occur from m to n times