Pregunta: | 19044 - COMO IMPRIMIR EN UNA EPSON LX-300 |
Autor: | EDGAR HORTA |
HOLA QUE TAL ESPERO QUE ALGUIEN ME PUEDA AYUDAR
QUISIERA QUE MI PROGRAMA IMPRIMIERA UNAS FACTURAS Y REPORTES PERO NO SE COMO HACERLO TENGO UNA IMPRESORA EPSON LX-300 DE ANTEMANO AGRADESCO SU AYUDA. GRACIAS |
Respuesta: | Humberto Fdez Hdez |
Edgar:
Dime cual es el problema? En que lenguaje estas programando ?? Te envío la secuencia de escape para esta impresora. ASCII DEC HEX Description ASCII DEC HEX Description BEL 7 07 Beeper ESC > 62 3E Set MSB to 1 BS 8 08 Backspace ESC ? 63 3F Reassign graphics mode HT 9 09 Tab horizontally ESC @ 64 40 Initialize printer LF 10 0A Line feed ESC A 65 41 Set n/72-inch line spacing VT 11 0B Tab vertically ESC B 66 42 Set vertical tabs FF 12 0C Form feed ESC C 67 43 Set page length in lines CR 13 0D Carriage return ESC C0 67 67 Set page length in inches SO 14 0E Select double-wide (1 line) ESC D 68 44 Set horizontal tabs SI 15 0F Select condensed mode ESC E 69 45 Select emphasized mode DC1 17 11 Select printer ESC F 70 46 Cancel emphasized mode DC2 18 12 Cancel condensed mode ESC G 71 47 Select double-strike mode DC3 19 13 Deselect printer ESC H 72 48 Cancel double-strike mode DC4 20 14 Cancel double-wide (1 line) ESC J 74 4A Perform n/216-inch line feed CAN 24 18 Cancel line ESC K 75 4B Select single-density graphics DEL 127 7F Delete character ESC L 76 4C Select double-density graphics ESC SO 14 0E Select double-wide (1 line) ESC M 77 4D Select 12 cpi ESC SI 15 0F Select condensed mode ESC N 78 4E Set skip over perforation ESC EM 25 19 Cut sheet feeder on/off ESC O 79 4F Cancel skip over perforation ESC SP 32 20 Set inter character space ESC P 80 50 Select 10 cpi ESC ! 33 21 Master select ESC Q 81 51 Set right margin ESC # 35 23 Cancel MSB control ESC R 82 52 International character set ESC $ 36 24 Set absolute print position ESC S0 83 53 Select superscript mode ESC % 37 25 Select user-defined set ESC S1 83 53 Select subscript mode ESC & 38 26 Define user-defined characters ESC T 84 54 Cancel superscript/subscript ESC (- 40 28 Select Score ESC U 85 55 Turn unidirectional mode on/off ESC * 42 2A Select graphics mode ESC W 87 57 Turn double-wide on/off ESC + 43 2B Set n/360-inch Line Spacing ESC Y 89 59 High-speed dbl-density graphics ESC - 45 2D Turn underlining on/off ESC Z 90 5A Quadruple-density graphics ESC / 47 2F Select vertical tab channel ESC 92 5C Retrieve relative position ESC 0 48 30 Select 1/8-inch line spacing ESC a 97 61 Select justification ESC 2 50 32 Select 1/6-inch line spacing ESC b 98 62 Set vertical tabs in channels ESC 3 51 33 Select n/216-inch line spacing ESC g 103 67 Select 15 CPI ESC 4 52 34 Select italic mode ESC k 107 6B Select typestyle family ESC 5 53 35 Cancel italic mode ESC l 108 6C Set left margin ESC 6 54 36 Enable printable characters ESC p 112 70 Turn proportional mode on/off ESC 7 55 37 Enable upper control codes ESC q 113 71 Select character style ESC : 58 3A Copy ROM into RAM ESC t 116 74 Select character table ESC < 60 3C Unidirectional mode (1 line) ESC w 119 77 Turn double-high on/off ESC = 61 3D Set MSB to 0 ESC x 120 78 Select NLQ or draft |
Respuesta: | Carlos Chaparro |
No deberias tener problema al respecto puesto que la impresion siempre busca el puerto paralelo lpt1, y los codigos de impresion son los mismos de cualquier impresora epson
15 condensada 14 ampliada 18 cancelar condensada 20 cancelar ampliada |
Respuesta: | Jose Acuña |
Las Impresoras matriciales (como la LX 300) se imprimen eviando caracteres de control o ESC.
pero en realidad no se si quieres hacerlo por medio de un programa tienes que consultar el manual del programador y alli te indicara el tipo de letras y como se hace. Cualquier cosa mandame un mail. Saludos |