pic18f driving usb printers


Results 1 to 19 of 19

Threaded View

  1. #12
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695

    Default

    Hi Serkan,

    I understand you are currently using a printer with a serial port.

    A simple solution could be a DOS compatible printer with a centronics parallel port.

    Some low cost printer are GDI printer only. (Windows host-based printers).
    These printes will not work if connected to a DOS based PC or microcontroller.

    For a quick test, boot the PC from DOS and type the DOS internal command:

    DIR *.* > PRN

    (Make sure the parallel port is set as "Normal" in PC BIOS).

    If you see the output on paper the printer understands "text only".

    If the first test is OK, then try to see if the printer supports the
    Epson Escape Codes or the Hewlett-Packard PCL commands.


    Interface to your portable recorder:

    Using a PIC, build a serial to parallel converter. The centronics pin 18 of
    the printer will supply the necessary current for the PIC inside the converter.

    See this link about PIN 18, search text "VCC (aka SLCT)".
    http://nemesis.lonestar.org/referenc...entronics.html

    This solution is compatible with the current version of your portable recorder.


    Best regards,

    Luciano
    Last edited by Luciano; - 27th July 2005 at 11:35.

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. USB Bootloader.
    By HenrikOlsson in forum USB
    Replies: 22
    Last Post: - 2nd May 2013, 02:46
  3. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  4. One USB keyboard to Two USB Ports
    By picnaut in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th June 2009, 00:04
  5. USB PIC without USB Connection
    By Tissy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th December 2005, 17:39

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts