pic18f driving usb printers
hi,
I am a beginner to USB,
I need some info about interfacing USB printers.
I feel better now after reading all "USB 2.0 specifications","USB device class definition for printing devices" and USB threads in forum. A few questions,
-is a pic18f able to drive USB printers as a host using pbp2.46 USB statements?
-how about page description language -PDL-?
-how to send a standard A4 text page from pic18f to printers -hp,canon,xerox etc.-?
-do all USB printers accept a standart text format or variations needed for different manufacturers?
My application is a kind of Guard Tour System including a portable recorder and ibuttons or rfid tags
for security checkpoints. it works well with the interface software on pc or directly reports to rs232 printers.
Thanks to picbasic pro.
Now planning to upgrade to USB printers.
Thank you very much...
Re: pic18f driving usb printers
I wanted to ask then what is USB OTG. I read some articles over the web & came to know that USB OTG helps an embedded device to configure both as a device / host. So can't we do anything with it?
Re: pic18f driving usb printers
Until Microchip (and probably PBP) announce they support USB on the go specification for 16F and 18F, our PICs will remain USB slaves and won't be able to act as USB masters.
Quote:
Only the host can schedule the configuration and data transfers over the link. The devices cannot initiate data transfers, they only respond to requests given by a host. OTG introduces the concept that a device can perform both the master and slave roles
http://en.wikipedia.org/wiki/USB_On-The-Go
Look at the PIC 24F family of products, they have OTG specs.
Quote:
PIC24FJ256DA210
Universal Serial Bus Features:
• USB v2.0 On-The-Go (OTG) Compliant
• Dual Role Capable – Can act as either Host or Peripheral
• Low-Speed (1.5 Mbps) and Full-Speed (12 Mbps) USB Operation in Host mode
• Full-Speed USB Operation in Device mode
Robert