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.
+2
A:
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.
Dean Harding
2010-06-10 03:34:46
hmm... I was thinking of specifically system() calls... are there any that might serve the same purpose?
wrongusername
2010-06-10 03:44:36
That's not the normal way of printing from an application.
MSalters
2010-06-10 08:45:27