B&B Electronics Parallel Printer Card PIOC Manual de usuario Pagina 48

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 64
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 47
GHI Electronics,LLC USBwiz User Manual
USBwiz Command Set
HR - Read HID Report
This command read HID Report data. It also returns HID Report Size.
Format HR<SP>p<CR>
!00<CR>
$nn<CR>
Report’s data
!00<CR>
p the port number
nn HID Report Size
Report data are in ASCII Hexadecimal
UP - Register USB Printer
USBwiz has an internal p0rinter driver that can support up to 2 printers. This command
must be used before accessing printers.
Format UP<SP>p<CR>
!00<CR>
p USB port number which can be 0 or 1
Example UP<SP>1<CR>
!00<CR>
Register USB device at port 1
PR - Reset USB Printer
Format PR<SP>p<CR>
!00<CR>
p is USB port number which can be 0 or 1
Example PR<SP>1<CR>
!00<CR>
PS - Get USB Printer Status
Some USB printers may not be able to determine status.
Format PS<SP>p<CR>
!00<CR>
$nn<CR>
!00<CR>
p is USB port number
nn is Printer Status*
Example PS<SP>1<CR>
!00<CR>
$20<CR>
!00<CR>
Register USB device at port 1
Printer status indicates: Paper Empty
* Status Structure
Bits(s) Field Description
7,6 Reserved Reserved
5 Paper Empty 1= Paper Empty 0 = Paper Not Empty
4 Select 1 = Selected 0 = Not Selected
3 Not Error 1 = No Error 1 = Error
2,1,0 Reserved Reserved
Rev.2.27 Page 48 of 64 www.ghielectronics.com
Vista de pagina 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 63 64

Comentarios a estos manuales

Sin comentarios