Jump to content
Sign in to follow this  

Specify Document to be Printed

Recommended Posts



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


Share this post

Link to post
Share on other sites

@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.

√-1 2^3 ∑ π, and it was delicious!

Share this post

Link to post
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
Sign in to follow this