Thread: Printing via USB port

  1. #1

    Printing via USB port

    How do you send information to a printer connected via the USB port using C. I have tried
    but these don't work,( Because they're the parallel port?) , but they don't return a null either.
    This is beginning to drive me crazy so any help would be VERY appreciated!

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    I'm not positive but I think you can only acces USB ports through Windows and not DOS. This is an assumption on my part, given that you could not do this in Windows 95.

    But, in programming, there is always a way (not to steal a member's slogan). Check

  3. #3
    Registered User
    Join Date
    Sep 2001
    To access USB in DOS, you'd need to write your own drivers, probably. It is obviously possible, but it may take a lot of work (and a lot of assembly language) to access a USB port in DOS.

    And, you can almost certainly only use it in true DOS, not DOS or emulated DOS running under Windows.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. FTP program
    By jakemott in forum Linux Programming
    Replies: 14
    Last Post: 10-06-2008, 01:58 PM
  2. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 05:49 PM
  3. USB port "monitor"
    By Victor in forum Windows Programming
    Replies: 1
    Last Post: 04-13-2005, 05:45 AM
  4. printing to usb port
    By Unregistered in forum A Brief History of
    Replies: 4
    Last Post: 03-05-2002, 12:43 PM