Visual Basic - ALINEAR IMPRESION

Life is soft - evento anual de software empresarial
 
Vista:

ALINEAR IMPRESION

Publicado por ROBERTO URITA (65 intervenciones) el 19/08/2006 20:44:20
HOLA PROGRAMADORES MIREN MI PREGUNTA ES LA SIGUIENTE:
ESTOY REALIZANDO UN PROGRAMITA DE IMPRESION DE FACTURA Y ESTOY IMPRIMIENDO CON EL METODO PRINT.PRINTER PERO NO SE COMO PUEDO ALINERAR LOS PRECIOS DE UNA MANERA EN LA CUAL QUEDEN COMO LOS DE UN TIKET COMO PUEDO HACER PARA ALINERA CON EL METODO PRINT DE ANTE MANO GRACIAS Y SALUDOS DESDE CHIHUAHUA MEXICO
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

RE:ALINEAR IMPRESION

Publicado por alguien (12 intervenciones) el 19/08/2006 22:32:23
EN CHIGUAGUA SOS TOS SUB_NORMALES?
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:ALINEAR IMPRESION

Publicado por Ayudante (23 intervenciones) el 21/08/2006 18:04:40
v1 = "@@@@@@@@@@@@@" '´tantas @s como la platilla que usarás.
v2 = "##,###,##0.00" ' Esta es tu plantilla para el formato de números.
' Nota, se necesitan ambas para que se justifique por la derecha.
printer.print format( format( nPrecio, v2 ), v1 ) ' nPrecio es la variable de tu precio.
Si sólo haces esto:
printer.print format( nPrecio, v2 )
no quedará alineado hacia la derecha.
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