>>Hi everybody,
>>
>>Is there a way to simulate the exact Prompt dialog (with number of pages, etc.) or the GetPrinter() is the best we can have? Did someone already create this dialog so I would not need to re-invent the wheel?
>>
>>Thanks a lot in advance..
>
>You can try the common dialog I can tell you first I don't know how to work with it but maybe someone else does
>
>
>lo_printer = NEWOBJECT('MSComDlg.CommonDialog')
>
>WITH lo_printer
> .PrinterDefault = .t.
> .flags = 256
> .ShowPrinter()
>ENDWITH
>
>? set('printer', 2)
>
>
>But I don't know how to get access do the # pages they selected or anything else. I know not much of a help.
Nice, unfortunately Intellisense doesn't work here. See my reply to myself - Bob Durban's code should work for me, but how should I use its results?
If it's not broken, fix it until it is.
My Blog