>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.
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers