| 3 | EPSON LQ-590IIN is our replacement for discontinued Okidata 320 |
| 4 | |
| 5 | Plugged in USB |
| 6 | |
| 7 | {{{ |
| 8 | root@imx8mq-var-dart:~# dmesg |
| 9 | |
| 10 | |
| 11 | [ 6.576755] usblp 1-1.4:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04B8 pid 0x009B |
| 12 | |
| 13 | |
| 14 | |
| 15 | root@imx8mq-var-dart:~# ls /dev |
| 16 | autofs gpiochip4 mmcblk0p2 ptypc tty20 tty43 tty9 urandom vcsu6 |
| 17 | block hugepages mmcblk0p3 ptypd tty21 tty44 ttyS0 usb vcsu7 |
| 18 | btrfs-control hwrng mmcblk0rpmb ptype tty22 tty45 ttyS1 v4l vfio |
| 19 | bus i2c-0 mnbd ptypf tty23 tty46 ttyS2 vcs vga_arbiter |
| 20 | caam-keygen i2c-3 mqueue random tty24 tty47 ttyS3 vcs1 vhci |
| 21 | cardbeep initctl mxc_hantro rpmsg_ctrl0 tty25 tty48 ttymxc1 vcs2 video0 |
| 22 | cardctl input net shm tty26 tty49 ttymxc2 vcs3 video1 |
| 23 | cec0 kmsg null snd tty27 tty5 ttyp0 vcs4 vsi_daemon_ctrl |
| 24 | char kvm port stderr tty28 tty50 ttyp1 vcs5 watchdog |
| 25 | console log pps0 stdin tty29 tty51 ttyp2 vcs6 watchdog0 |
| 26 | cpu_dma_latency loop-control ptmx stdout tty3 tty52 ttyp3 vcs7 wt1 |
| 27 | cuse loop0 ptp0 tty tty30 tty53 ttyp4 vcsa wt10 |
| 28 | disk loop1 pts tty0 tty31 tty54 ttyp5 vcsa1 wt2 |
| 29 | dma_heap loop2 ptyp0 tty1 tty32 tty55 ttyp6 vcsa2 wt3 |
| 30 | dri loop3 ptyp1 tty10 tty33 tty56 ttyp7 vcsa3 wt4 |
| 31 | fb loop4 ptyp2 tty11 tty34 tty57 ttyp8 vcsa4 wt5 |
| 32 | fb0 loop5 ptyp3 tty12 tty35 tty58 ttyp9 vcsa5 wt6 |
| 33 | fd loop6 ptyp4 tty13 tty36 tty59 ttypa vcsa6 wt7 |
| 34 | full loop7 ptyp5 tty14 tty37 tty6 ttypb vcsa7 wt8 |
| 35 | fuse mapper ptyp6 tty15 tty38 tty60 ttypc vcsu wt9 |
| 36 | galcore mem ptyp7 tty16 tty39 tty61 ttypd vcsu1 wttot |
| 37 | gpiochip0 mmcblk0 ptyp8 tty17 tty4 tty62 ttype vcsu2 zero |
| 38 | gpiochip1 mmcblk0boot0 ptyp9 tty18 tty40 tty63 ttypf vcsu3 |
| 39 | gpiochip2 mmcblk0boot1 ptypa tty19 tty41 tty7 ubi_ctrl vcsu4 |
| 40 | gpiochip3 mmcblk0p1 ptypb tty2 tty42 tty8 udev_network_queue vcsu5 |
| 41 | |
| 42 | root@imx8mq-var-dart:~# ls /dev/usb |
| 43 | lp0 |
| 44 | }}} |
| 45 | |
| 46 | Print "Hello world" to the printer: |
| 47 | |
| 48 | {{{ |
| 49 | root@imx8mq-var-dart:/usr/sbin/diag# echo "Hello world" > /dev/usb/lp0 |
| 50 | }}} |
| 51 | |
| 52 | Print file to the printer: |
| 53 | |
| 54 | {{{ |
| 55 | root@imx8mq-var-dart:~# cat /usr/sbin/diag/filemgr.sh > /dev/usb/lp0 |
| 56 | }}} |