Hi All,
OK, I use computer printed check's, I am trying to build an app that will take my data and print it on the appropriate check.
I am using a scanned image of one of my checks for the background of my form. Since I don't need that image to print, I set it to visible = false when it prints. I just need the data that I am inputing to show up.
I tried using the printform method, All I get is a grey box no data.( is there a way to make the form visible but transparent)? (I set the text boxes to visible = true), the text boxes are on top of the image box.(so I could line them up correctly)
If I just do printer.print (textbox) then it prints it to the top left corner of the page.
Any help would be greatly appreciated.
CODE FOLLOWS:
green code is the printform method
Option Explicit
Dim Msg
Private Sub cmd_exit_Click()
End
End Sub
Private Sub cmd_print_Click()
Printer.Print Text1.Text
Printer.EndDoc
picture1.visible = false
cmd_print.visible = false
cmd_exit.visible = false
frm_check_printer.printform
picture1.visible = true
cmd_print.visible = true
cmd_exit.visible = true
End Sub
Private Sub Form_Load()
End Sub
Private Sub Label1_Click()
End Sub
Private Sub Picture1_Click()
End Sub
Private Sub Text1_Change()
End Sub
Private Sub Text2_Change()
End Sub
Private Sub Text3_Change()
End Sub
Private Sub Text4_Change()
End Sub
Private Sub Text5_Change()
End Sub
Private Sub Text6_Change()
End Sub
Private Sub Text7_Change()
End Sub
>
:O> Psybertek >
:O>
____________________________
"Computer junkies never die, They just upload."
OK, I use computer printed check's, I am trying to build an app that will take my data and print it on the appropriate check.
I am using a scanned image of one of my checks for the background of my form. Since I don't need that image to print, I set it to visible = false when it prints. I just need the data that I am inputing to show up.
I tried using the printform method, All I get is a grey box no data.( is there a way to make the form visible but transparent)? (I set the text boxes to visible = true), the text boxes are on top of the image box.(so I could line them up correctly)
If I just do printer.print (textbox) then it prints it to the top left corner of the page.
Any help would be greatly appreciated.
CODE FOLLOWS:
green code is the printform method
Option Explicit
Dim Msg
Private Sub cmd_exit_Click()
End
End Sub
Private Sub cmd_print_Click()
Printer.Print Text1.Text
Printer.EndDoc
picture1.visible = false
cmd_print.visible = false
cmd_exit.visible = false
frm_check_printer.printform
picture1.visible = true
cmd_print.visible = true
cmd_exit.visible = true
End Sub
Private Sub Form_Load()
End Sub
Private Sub Label1_Click()
End Sub
Private Sub Picture1_Click()
End Sub
Private Sub Text1_Change()
End Sub
Private Sub Text2_Change()
End Sub
Private Sub Text3_Change()
End Sub
Private Sub Text4_Change()
End Sub
Private Sub Text5_Change()
End Sub
Private Sub Text6_Change()
End Sub
Private Sub Text7_Change()
End Sub
>
____________________________
"Computer junkies never die, They just upload."