-
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!!!!
-
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