TIA Protokoll aus RT Advanced

Manfred Stangl

Level-1
Beiträge
944
Reaktionspunkte
174
Zuviel Werbung?
-> Hier kostenlos registrieren
Guten Morgen Kollegen,
ich hab ein Problem beim drucken von Protokollen. Wenn ich das Protokoll drucke - egal ob über das Ereignis einer Taste, oder die Taste löst ein Script aus:
Code:
Sub DelayTime(ByRef DelayTime_s)
'Declare temporary variable
Dim StartTime, StopTime, i
'Start time is actual time
StartTime = Now
'Stop time is actual time + delay time (s)
StopTime = StartTime + DelayTime_s/24/3600
'Loop until stop time reached
Do 
 If i = 0 Then
 i = i + 1
 End If
   
Loop Until Now >= StopTime
 
End Sub
Code:
'If positiv flank command print protocol --> start creation
 'Wait for new protocol data
 DelayTime (4)
 'Print lot protocol
 PrintReport "Protokoll A"
 
'End If
Die delaytime dient zum Datensammeln.
Wie auch immer es kommt immer das raus:
Anhang anzeigen 20160922082312098.pdf da ist ein weißes Rechteck mittendrin
wenn ich in ein pdf drucke passt es:Anhang anzeigen unknown shiftprotocol.pdf
weiß jemand was es da haben kann?
 
Zurück
Oben