L
Lloyd Dupont
I would like to export my document has an XPS document.
I already have some printing code.
The problem which I am facing is making the whole process without dialog.
Through the print menu the user get a dialog where he can choose his printer
of choice among available printer, which can be the XPS output if it's
available. Then there is a second dialog letting him specify the output
file.
I would like to be able to do everything programatically so that I test if
the XPS printer is there and set the output file.
How do I do that?
I was thinking to set PrinterName to "Microsoft XPS Document Writer" but
it's obviously an internationalized english sentence and that won't work in
non english country...
Any tips?
I already have some printing code.
The problem which I am facing is making the whole process without dialog.
Through the print menu the user get a dialog where he can choose his printer
of choice among available printer, which can be the XPS output if it's
available. Then there is a second dialog letting him specify the output
file.
I would like to be able to do everything programatically so that I test if
the XPS printer is there and set the output file.
How do I do that?
I was thinking to set PrinterName to "Microsoft XPS Document Writer" but
it's obviously an internationalized english sentence and that won't work in
non english country...
Any tips?