Results 1 to 2 of 2

Thread: how i make my c print?

  1. #1
    Join Date
    Aug 2002

    how i make my c print?

    hey all..
    i want to make my c program print some of the outputs to a dot matrix printer connected to the parallel port.
    the print screen button on my keyboard does not help when running my program in windows.
    can i force my program to perform a print screen and not coppying the screen into the clipboard?
    tx in advance
    buying M$ OS is like ordering a soup where u gotta pay extra for the bowl and spoon....and each time u order something new u gotta pay a huge amount for a new table!!!

  2. #2
    Senior Member
    Join Date
    Mar 2003
    central il
    This link may help

    basicly after includeing standerd output you need to open the printer device and save it into a var

    ptr=fopen(lptx) or something like that
    then when you print a line include ptr as the device to print to

    lptx would be lpt1 or 2 or whaever lpt the printer you want is on.

Posting Permissions

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