This event is triggered when printing the QC-order.
These variables are at disposal
e_belnr_id  | 
document No.  | 
e_charge_id  | 
batchnumber  | 
e_picture1  | 
picture 1  | 
e_picture2  | 
picture 2  | 
e_picture3  | 
picture 3  | 
e_tree  | 
folder of the picture/document  | 
e_ok  | 
if 'N' the default printing is not processed  | 
Normally the report "qs_fthaupt_report.rpt" is printed if e_ok is not 'N'.
![]()
Print of saved pictures with the default printing program of Windows (e. g. Word with DOC-files). Suppress the default function:
function print
if <e_bild1> <> "" then
  tools=shell=<e_tree><e_bild1>=print
  // with shell=<file>=print
  // the action "print" is directly 
  // passed-on to the application.
end if
if <e_bild2> <> "" then
  tools=shell=<e_tree><e_bild2>=print
end if
if <e_bild3> <> "" then
  tools=shell=<e_tree><e_bild3>=print
end if
// prevent default printing: 
setvar=e_ok=N
return success
end function