VC++ printing in a Dialog App

Discussion in 'C Programming' started by goofolution, Nov 21, 2006.

  1. goofolution

    goofolution

    Joined:
    Nov 6, 2006
    Messages:
    5
    Hey all i've created a dialog bassed application that is used to calculate shipping costs based on a number of constant variables, as well as variables associated with each product. The application is all but complete as i am having a seriously hard time finidng out any info on how to add printing functionality.

    The app consists of a flex grid which holds all the data associated with each product, along with around 12 fields of values.

    What i need to be able to do is print out each row of the flex grid followed by the values of the other fields, basically it is a report.

    I've been searching for hours on CPrintDialog, CPageSetupDialog etc and although i have got a CPrintDialog added to my app im confused as to where to proceed from here. any help would be appreciated.

    thanks in advance.
    goofolution, Nov 21, 2006
    #1
    1. Advertising

  2. goofolution

    goofolution

    Joined:
    Nov 6, 2006
    Messages:
    5
    ok so no replies yet...surely someone must know something about what i am asking.
    Maybe my question is unclear. I have the printer details using the CPrintDialog class, and now i want to send a document to the printer. Only i am not using a document based program. i am using a dialog based one which has numerous fields and a flex grid, whose data needs to printed out in report form, preferably on a landscape view printout.

    am kinda stuck on this so need some help please.

    cheers.
    goofolution, Nov 28, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Peterson

    Printing from web form without print dialog.

    John Peterson, Jan 28, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    25,798
    brian.eskildsen@thyssenkrupp.com
    Feb 14, 2006
  2. Larry Page
    Replies:
    0
    Views:
    335
    Larry Page
    Jan 31, 2006
  3. JavaRookie
    Replies:
    4
    Views:
    1,648
    Gerbrand van Dieijen
    Oct 13, 2003
  4. yw
    Replies:
    3
    Views:
    802
    Phlip
    Jul 2, 2005
  5. Matt
    Replies:
    1
    Views:
    268
    Randy Webb
    Nov 20, 2004
Loading...

Share This Page