Visual Basic - impresion

Life is soft - evento anual de software empresarial
 
Vista:

impresion

Publicado por Andrés Soler (43 intervenciones) el 30/05/2003 20:43:00
como imprimo con el printer?? Ya que cuando escribo 'printer.print "algo"', me manda un error.
alguien podría decirme porqué??
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

Envia el error

Publicado por Lyra (31 intervenciones) el 30/05/2003 21:27:16
Escribe el error que te muestra con la instruccion printer.print para poder ayudarte.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:Envia el error

Publicado por andres soler (43 intervenciones) el 31/05/2003 01:23:48
Private Sub CMDPRIN1_Click()
cp = 0
Printer.Orientation = 1
Do While Not Data1.Recordset.EOF
If cp = 0 Then
Printer.FontSize = 14
Printer.Line (100, 500)-(1000, 500)
Printer.Print "NUMERO FECHAPAGO BANCO"
Printer.Line (100, 700)-(1000, 700)
End If

Printer.Print Data1.Recordset(0); Tab(15)
Printer.Print Data1.Recordset(1); Tab(30)
Printer.Print Data1.Recordset(2); Tab(45)
Data1.Recordset.MoveNext
Loop
End Sub
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar