Imprimir PICTURE BOX urgente¡¡¡¡¡
Publicado por marcelo (46 intervenciones) el 04/03/2005 16:05:59
Amigos, NECESITO IMPRIMIR un PictureBox desde un formulario haciendo click en un boton del formulario. He tratado usando metodo Printer y no me ha resultado. La base de mi programa es la siguiente:
Private Sub Command1_Click()
Printer.FontName = "Courier New"
Printer.ScaleMode = vbCentimeters ' la escala q se utilizara en este caso cm, si quieres trabajar con otra escala consulta la MSDN.
Printer.CurrentY = 0 '<----- Posicion Y
Printer.CurrentX = 0 '<------ Posicion X
Printer.Font.Size = 8
Printer.Font.Underline = True
Printer.PaintPicture "nombre del Picture box"
Printer.EndDoc
End Sub
Si puede alguien revisar y hacerme ver la LUZ o enviarme otra forma mas simple de hacer esta tarea se los estare muy agradecido.
Muchas gracias
Private Sub Command1_Click()
Printer.FontName = "Courier New"
Printer.ScaleMode = vbCentimeters ' la escala q se utilizara en este caso cm, si quieres trabajar con otra escala consulta la MSDN.
Printer.CurrentY = 0 '<----- Posicion Y
Printer.CurrentX = 0 '<------ Posicion X
Printer.Font.Size = 8
Printer.Font.Underline = True
Printer.PaintPicture "nombre del Picture box"
Printer.EndDoc
End Sub
Si puede alguien revisar y hacerme ver la LUZ o enviarme otra forma mas simple de hacer esta tarea se los estare muy agradecido.
Muchas gracias
Valora esta pregunta


0