wrongusername
wrongusername

Reputation: 18918

Command prompt print dialog command

Is there any way a C++ commandline program on Windows can produce a graphical GUI print dialog for printing to a printer, just like usual GUI programs? I've combed through this webpage and it seems there are only commands that print files in the background to a pre-determined printer.

Upvotes: 0

Views: 1947

Answers (1)

Dean Harding
Dean Harding

Reputation: 72668

Command-line applications in Windows still have full access to everything that GUI-mode applications do (the only difference is they start out with a console, whereas GUI-mode applications do not).

So you can still call all of the regular printing functions from GDI.

Upvotes: 2

Related Questions