Thread: Printing to Printer via Device Driver

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    44

    Printing to Printer via Device Driver

    Is it possible to print via the device driver in C++. I know how to print directy to the parallel port, but with this method you cant change the font type and size.

    When printing to the device driver can you show me some source code on how and explain how to change the font type and size.
    I'm using Bloodsheds Dev-C++ Compiler.

    JamMan..

    Curious if I can live forever? CLICK HERE

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    44

    I'm almost there!!!!

    I can print to the parallel port but only Capital Letters, Numbers and Hash.

    Is there anyway I print out every character, think I need the printers control codes??
    I'm using Bloodsheds Dev-C++ Compiler.

    JamMan..

    Curious if I can live forever? CLICK HERE

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Virtual Device Driver
    By xx3nvyxx in forum Windows Programming
    Replies: 8
    Last Post: 08-22-2006, 11:01 PM
  2. Device Driver: sysfs confusion
    By filker0 in forum Linux Programming
    Replies: 0
    Last Post: 12-02-2005, 11:36 AM
  3. Linux (2.6.10+) device driver: multiple classes?
    By filker0 in forum Linux Programming
    Replies: 3
    Last Post: 09-26-2005, 08:46 PM
  4. Replies: 4
    Last Post: 06-30-2004, 03:11 PM
  5. Printing to a printer....I already did a search :)
    By fastmonkey in forum C++ Programming
    Replies: 1
    Last Post: 10-09-2002, 01:51 AM