Documents and files can be printed without a single line of printer support. How? Well, let's let Windows Shell worry about that. This example shows how to print files using the default printing program for that file type. Some file types have such a program registered, others don't. The files that you will be able to print are the ones that have a "Print" command in their pop-up menu.
This is not a good way to print files in your text editor, graphic editor etc. This is what I like to call 'concept code'. You can use it, it works, but it's not a very good idea. This code may come in handy in applications that highly depend on the system Shell. For example: you may have a document viewer that has a "system print" button. You then don't have to worry about adding printing code for all file types. It's the user's problem to register all his/hers files
A portal that has dedication and concentration in the development of computer programming and more
resource for help people such as open project, jobs, question & answer, additional tools, and many more.
Collection of various kinds of code programming language from desktop to web programming.