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,009
    Likes Received:
    203
    Trophy Points:
    63
    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:
    5
    Trophy Points:
    0
    Occupation:
    Work at https://www.idevelopersquare.com
    Location:
    Waltham, MA, USA
    Home Page:
    https://www.idevelopersquare.com

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice