简体   繁体   中英

Linux: Connect Seiko usb printer as serial port

I have a Seiko DPU-D2 printer. I'm connecting it to computer with usb port and I'm trying to write to it using serial. What I don't know is where this printer is mounted.

What I have so far are those pieces of information:

# lsusb
Bus 002 Device 009: ID 0619:0115 Seiko Instruments, Inc.

# dmesg
[ 4173.272074] usb 2-1.2: new full-speed USB device number 10 using ehci-pci
[ 4173.366653] usb 2-1.2: New USB device found, idVendor=0619, idProduct=0115
[ 4173.366665] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4173.366672] usb 2-1.2: Product: SII LTPDx45 Series.
[ 4173.366677] usb 2-1.2: Manufacturer: Seiko Instruments Inc.
[ 4173.368663] usblp 2-1.2:1.0: usblp2: USB Bidirectional printer dev 10 if 0 alt 0 proto 2 vid 0x0619 pid 0x0115

Is there some other way to find out where is this printer mounted? Or, if it is not mounted yet, how to mount it and use write to it via serial port in this way echo "Something" > /dev/tty*** ?

I have the impression the printer is actually installed correctly. usblp2 is the device ID. You should be able to print to the printer, but, as usblp2 is not probably not the standard device, you might have to program the print service (probably cups ) to use that device to print.

Did you check if usblp2 appears in the printers dialog of cups, when you do 'add new printer' (in administratation )? (You'll probably have to authenticate as administrator)

Note that the printer is not listening to serial commands - it's simulating a parallel port. You can probably print simple things by copying directly to it: cat <some_text> > /dev/usblp2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM