O
O
Oleg2018-11-25 22:42:52
USB
Oleg, 2018-11-25 22:42:52

Usb-lpt is it possible to manage the status register?

there is a Chinese cable vid 6790 pid 30084 USB2.0-Print
I'm looking for a way to control the signal level on pins 1,14,16,17 (Status register)
How to get to AutoLF(14),Init(16) programmatically?
The device has 3 interfaces
#0 class printer end point #0 direction outbound - Data register
#1 class printer end point #0 direction outbound , end point #1 direction inbound
#2 class FF 3 endpoint #0 - out #1- in #2-in
ps I want to learn how to control the lcd display 1602
E, D0-D7, RS, R / W through it

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2018-11-25
@402d

hang up. I found it myself in the specification
https://www.usb.org/sites/default/files/usbprint11...
Bi-directional Interface. The bi-directional interface supports sending data to the printer via a Bulk OUT
endpoint, and receiving status and other information from the printer via a Bulk IN endpoint. Status data
that is compatible with a standard PC parallel port is also available when this interface is in use via the
GET_PORT_STATUS class-specific command over the default pipe. For more information about status
data, see Section 4.2.2, “GET_PORT_STATUS.”

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question