Printed job missing text that is visible on the screen
Posted: Mon Jul 18, 2005 2:00 pm
Hello all
I would be grateful for some help on this matter
Essentially I cannot add any additional text to my printed report.
This is despite the fact that I can get it to appear on the screen.
Has anyone else had this?
----This code is there to do the after draw for my additional text
Private Sub tppPrint_OnAfterDraw()
'--Put the persons name on top of the report
With tppPrint.Canvas
.Font.Color = vbRed
.Font.Size = 12
.TextOut 400, _
90, _
gPatSearch.Name
End With
End Sub
Steps required as follows
'-- Set up TeePreview Panel (I show this to the user with the option to print)
tppPrint.Panels.Clear
tppPrint.AddChart tctGlaucoma(RIGHT_EYE)
tppPrint.AddChart tctGlaucoma(LEFT_EYE)
tppPrint.Repaint
'---After draw event kicks in and my added text is visible
'--- Then Print it
tppPrint.PrintPage
'---After draw kicks in again
However the printed output does not contain the text that I added and which appears on the screen.
regards
Andrew
I would be grateful for some help on this matter
Essentially I cannot add any additional text to my printed report.
This is despite the fact that I can get it to appear on the screen.
Has anyone else had this?
----This code is there to do the after draw for my additional text
Private Sub tppPrint_OnAfterDraw()
'--Put the persons name on top of the report
With tppPrint.Canvas
.Font.Color = vbRed
.Font.Size = 12
.TextOut 400, _
90, _
gPatSearch.Name
End With
End Sub
Steps required as follows
'-- Set up TeePreview Panel (I show this to the user with the option to print)
tppPrint.Panels.Clear
tppPrint.AddChart tctGlaucoma(RIGHT_EYE)
tppPrint.AddChart tctGlaucoma(LEFT_EYE)
tppPrint.Repaint
'---After draw event kicks in and my added text is visible
'--- Then Print it
tppPrint.PrintPage
'---After draw kicks in again
However the printed output does not contain the text that I added and which appears on the screen.
regards
Andrew