Use PSSetDevice() to select the device to use for the next print job. By default, the device is DEV_PRINTER.
|nDevice||Desired device for the next print job.|
|DEV_PRINTER||1||The output is sent to the selected printer.|
|DEV_PREVIEW||2||The output is sent to the print preview dialog box|
|DEV_PDFFILE||3||The output is saved in a .pdf file. The file name is set by calling PSSetFileName() before starting the print job.|
|Reserved||4||Reserved for future use|
|DEV_EMFFILE||5||The output is saved in a series of EMF files. The path of the files to be created is set by calling PSSetFileName() before starting the print job. Files are named Page1.emf, Page2.emf, Pagen.emf|