>If you only want to prevent printing to file then you can just give the flag cdlPD_HIDEPRINTTOFILE
>
>#Define cdlPD_HIDEPRINTTOFILE 0x00100000
>
>oCommDialog.Flags = cdlPD_ALLPAGES + cdlPD_HIDEPRINTTOFILE + cdlPD_RETURNDC
>oCommDialog.ShowPrinter()
>
Tried that already, but the pdf995 doesn't care about that checkbox at all. It's only called printer driver and gets installed as such, but doesn't respect the flag. I figure Amyuni and Adobe's stuff may behave the same way.
>However, as you probably know, that ShowPrinter() from CommDialog ActiveX is limited. So, if you want to get the selected printer name than you will have to use PrintDlg() API
>About filtering the Printer Name, I can think of the solution, but it's kind of ugly <*bg*>. Just let me know if you are interesting. I'll work on it and post it here or mail it to you
Post it here - even if it doesn't work. Just need the idea, to get pointed into right direction. And I don't care if it's ugly, I won't show it to anyone :).