Jump to content

Specify Document to be Printed


Recommended Posts

Hello,

Yes, _WinAPI_PrintDlg () or _WinAPI_PrintDlgEx () are selecting a printer... BUT...

Both function do not tell us how to specify the print document that is supposed to be printed.
I am looking for the past hour "how to" tell these functions what is the document to print.

May be it is "obvious" but I have not found the proper code to do so.

Can you give me an example?

I wish to print C:\tmp\test.pdf using _WinAPI_PrintDlg ()
What should I do?

Kind regards

Dominique

Link to comment
Share on other sites

  • Moderators

@dbenoit as your need is different than the OP's, I have split this into your own thread. Please don't hijack other threads, especially when what you're after is not the same as them.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...