Hi Luciano,
I think this topic will be closed by the way that you submitted.
Yes, I'd better to built a serial/parallel converter to drive commonly used, low cost parallel printers.
So we'll never use a pic18f as a host.
Thanks yo very much.
Serkan
Hi Luciano,
I think this topic will be closed by the way that you submitted.
Yes, I'd better to built a serial/parallel converter to drive commonly used, low cost parallel printers.
So we'll never use a pic18f as a host.
Thanks yo very much.
Serkan
Hello Serkan,
Serkan>>Right, we're talking how to drive USB printers especially inkjet or
laser ones for contiued models. Simply to print a complete ascii A4 page.
First we need some specifications of thoose printers, if available standart
page languages or easiest way to do. Then creating a driver software using pbp USB in/out statements.<<
This will probably not happen... overhead and stuff is too great...As you have already said and I have said...you will have to create fonts and the works...Each printer is different... same brand printers are sometimes somewhat compatible.
Your only hope relys upon the printer having its own built in fonts. usually by rule of thumb, if it has its own built in fonts, it can do pure ASCII input/output....Like the matrix printers.
Dwayne
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Microcontroller USB implementation is peripheral only. In order to control a Printer or any other USB device requires a HOST.
The only thing that a host and a peripheral has in common is the name USB. They are totally different things and are not interchangeable.
So the bottom line is you cannot control a USB printer from a PICmicro unless you interface using a host peripheral such as ones supplied by Cypress or Philips etc. These are not simple devices to control and a knowledge of programming and USB is required. There is also the USBWIZ with its simple interface, but this may be overkill.
Last edited by bot402; - 27th July 2005 at 16:24.
This is what i thought. Thanks Bot402 for confirmation of my First. and Second post
But your explanation is much better than mine![]()
Last edited by mister_e; - 27th July 2005 at 16:47.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
"Microcontroller USB implementation is peripheral only.",bot402,
it's clear to understand..
Thanks friends..
Serkan
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?
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.
http://en.wikipedia.org/wiki/USB_On-The-GoOnly 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
Look at the PIC 24F family of products, they have OTG specs.
RobertPIC24FJ256DA210
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
Last edited by Demon; - 22nd March 2012 at 02:10.
Bookmarks