1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to get the output through printer

Discussion in 'Oracle' started by snjbmishra, Nov 21, 2010.

  1. snjbmishra

    snjbmishra New Member

    Joined:
    Nov 21, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Please solve my problem of

    how to send the output of c program to priter for output
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    In Windows you just create a printer HDC object and draw your output to that instead of to the screen HDC. It's really easy; if you can display on screen, you can print, *and* you can use exactly the same code. It's all done for you within the WinAPI.
     
  3. mialuzzatto

    mialuzzatto New Member

    Joined:
    Aug 5, 2015
    Messages:
    122
    Likes Received:
    4
    Trophy Points:
    0
    Occupation:
    Work at https://www.idevelopersquare.com
    Location:
    Waltham, MA, USA
    Home Page:

Share This Page