Tuesday, March 5, 2013

Compartir impresora serial

Compartir impresora serial

11 comments:

  1. https://www.linuxquestions.org/questions/linux-general-1/setserial-178924/

    ## Para ver configuracion actual
    $ setserial -G /dev/ttyS0

    ## Para pasar a 9600 baudios
    $ setserial /dev/ttyS0 baud_base 9600

    ReplyDelete
  2. http://www.tldp.org/LDP/nag2/x-087-2-serial-configuration.html

    # 9600 8N1
    $ stty 9600 cs8 -parenb crtscts -echo -parenb -cstopb -F /dev/ttyS0

    ReplyDelete
  3. Ahora con clocal:

    $ stty 9600 cs8 -parenb crtscts -echo -parenb -cstopb clocal -F /dev/ttyS0

    ReplyDelete
  4. Impresora requiere DTR/DSR, pero el argumento 'crtscts' activa otro tipo de handshaking. Info sobre DTR/DSR vs RTS/CTS: http://linux.about.com/od/srl_howto/a/hwtsrl21t04.htm

    Segun 'http://unixhelp.ed.ac.uk/CGI/man-cgi?stty' existe la opcion 'cdtrdsr': "enable DTR/DSR handshaking", pero la version stty de ubuntu no la reconoce, por lo tanto, probando:

    $ stty 9600 cs8 -parenb -crtscts -echo -parenb -cstopb clocal -F /dev/ttyS0

    no da error, pero la impresora sigue sin funcionar

    ReplyDelete
  5. La embozadora: http://www.datacard.com/plastic-card-embossers/280p-embosser

    ReplyDelete
  6. Problema de ArchLinux: https://bugs.archlinux.org/task/20396

    ReplyDelete
  7. Como configurar serial desde CUPS

    http://dorset.lug.org.uk/wiki/doku.php?id=articles:cupsprinting

    ReplyDelete
  8. Para ver seteo actual con stty

    $ stty -F /dev/ttyS0 -a

    ReplyDelete
  9. Bug de stty

    https://bugzilla.redhat.com/show_bug.cgi?id=598631

    ReplyDelete
  10. Testeando en https://pos.epson.com/products/TM-U950

    ReplyDelete
  11. http://www.computing.net/answers/dos/printing-to-epson-tmu950-in-com12/10622.html

    4) You may need to loopback 4&5 and 6&20. These are hardware control signals for DSR, DTR, CTS and RTS (not respectively). It is possible that your PC is waiting for a CTS before it transmits and the printer is not raising the signal. Check your mode command. Does it have an odsr option? Try playing with odsr, octs, dtr, idsr and rts if it does. Your printer may magically come to life.

    ReplyDelete

Note: Only a member of this blog may post a comment.