Hi Kent,

This one is really weird. PrintDefault works perfect,
a little window pops up and it ticks down the pages
and prints, but PrinterSetup, even though it is issued
exactly the same was as PrintDefualt never works. I
even tried to create a macro and called it, and it
doesn't work. The only guess I have is that somehow
the window is being swallowed somewhere. Does anyone
else have any ideas? Or any work arounds, ie is there
no other way to get the PrinterSetup window to appear?

Strange ...

document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
dispatcher.executeDispatch(document, ".uno:PrinterSetup", "", 0, DimArray())

opens the PrinterSetup dialog on my machine ... what do I do different than you ?

Regards

Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to