Un ejemplo de utilizacion del objeto printer
Hola!!, no consigo aclararme con el objeto printer, alguien me puede enseñar un ejemplo k sea simple?, muxas gracias!! ^_^
Salu2
Salu2
Estas de Suerte, precisamente estaba modificando esto, espero te sirva
Printer.Orientation = vbPRORLandscape 'orientacion del papel
Printer.ScaleMode = 6 'a milimetros
Printer.Scale (0, 0)-(280, 216) 'define escala
Printer.Line (2, 77)-(256, 140), , B 'cuadro principal
Printer.Font = "times new roman" 'tipo letra
Printer.FontSize = 12
Printer.CurrentX = 80 'Titulo o Encabezado
Printer.CurrentY = 5
Printer.Print "TITULO 1"
Printer.CurrentX = 100
Printer.CurrentY = 11
Printer.Print "TITULO 2"
Printer.CurrentX = 90
Printer.CurrentY = 17
Printer.Print "TITULO 3"
pegalo y ejecuta y bueno alli vez
Printer.Orientation = vbPRORLandscape 'orientacion del papel
Printer.ScaleMode = 6 'a milimetros
Printer.Scale (0, 0)-(280, 216) 'define escala
Printer.Line (2, 77)-(256, 140), , B 'cuadro principal
Printer.Font = "times new roman" 'tipo letra
Printer.FontSize = 12
Printer.CurrentX = 80 'Titulo o Encabezado
Printer.CurrentY = 5
Printer.Print "TITULO 1"
Printer.CurrentX = 100
Printer.CurrentY = 11
Printer.Print "TITULO 2"
Printer.CurrentX = 90
Printer.CurrentY = 17
Printer.Print "TITULO 3"
pegalo y ejecuta y bueno alli vez