|
-
Jun 26th, 2000, 11:14 PM
#1
Thread Starter
New Member
In VB4, I have placed pictures on the Printer object using e.g.
Printer.PaintPicture (Xpos,etc.,,,,x.bmp)
I tried using Printer.Print and EndDoc to send the document to the printer, but nothing seems to happen. How do I get the whole printout sent to the printer to print?
Thanks for any help. I'm in trouble if I don't get this sorted out!!!!
-
Jun 26th, 2000, 11:42 PM
#2
Try this code. Make a Form with a PictureBox and a CommandButton. Make sure that there is a Picture loaded into the PictureBox.
Code:
Private Sub Command1_Click()
Printer.PaintPicture Picture1.Picture, 100, 100
Printer.EndDoc
End Sub
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
|