Input Parameters | Significance |
char *lay | name of the layout file [> < = selection menu] |
Output Parameters | Significance |
none | - |
Return Code
Significance
0
no error
1
no widget active
2
error opening the print file
3
error generating the template
4
error executing the template
Can be invoked as on_select-userexit in the widget menu or on_event-userexit in any state of the user interface.
The print file name is automatically generated using the
mask name and the path to the < tmp>
directory. DataView
writes all field contents - including invisible fields - to the print file without
using a special layout. It then sends the print file to the printer using the
print command defined in the start procedure dtv_pri
in the <
com>
directory.