c++ - How to programmatically provide destination file path for printer added to the FILE port? -
using addprinter(), have added printer configuring port "file".
now whenever choose printer when printing, opens file browser asking path save document file (like following).
i want provide path programmatically, hard coding path won't pop on selecting particular printer printing.
how can achieve this? please provide valuable suggestions.
use addport winapi function. add new local port , use path file port name. attach printer. printout document. enjoy it. disadvantage: new job overwrite previous.

Comments
Post a Comment