|
-
Oct 9th, 2000, 09:18 PM
#1
Thread Starter
Hyperactive Member
Printing--Think I'm Doing Something Wrong?
I Am having trouble with this code:
Code:
Dim Response, xpos
If Text1 = "" Then
MsgBox "You Need To Have A Recipe In The Text Box."
Else
Response = MsgBox("Are You Sure You Wanna Print?", vbYesNo, "Print...")
If Response = vbYes Then
Timer1.Enabled = True
xpos = 10
Printer.ScaleLeft = xpos
Printer.Print Text1
cancelprint.Enabled = True
End If
End If
Can Anyone see anything wrong with the code, i try
to print and then the printer keeps reading spooling.
And when i press stop on the play stop thing at the top, it starts printing.
any help will be greatly appreciated,
Flame
[Edited by flame_211 on 10-09-2000 at 10:23 PM]
-
Oct 9th, 2000, 09:34 PM
#2
Lively Member
close
you need
put that after Printer.Print
-
Oct 9th, 2000, 09:36 PM
#3
Thread Starter
Hyperactive Member
then it will stop spooling and start printing?
-
Oct 9th, 2000, 09:44 PM
#4
Lively Member
Yes
I commented out your cancelprint call and put the Printer.Endoc there and it worked. You need a space between your double quotes too.Text1.Text = " " like this. you have "". That didn't work. You wont get the message box to put a recipe in if you dont.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|