>You might check File #
9588 Printer Control Functions in the Files area.
Thank for the tip. I looked at the vbprinter control, is not what I need but give me the ideea how to do it. I'll display the page setup dialog directly from a COM object and then set the printer to whatever the user selected in the page setup dialog ("SET PRINTER TO ...") and store all other settings (page layout, orientation) so I can use them latter. The ideea is that I'm doing all the printing from an COM object (thats why the other question, about printing an general field...) developed in C++ and I wanted to pass the information selected in the sys(1037) dialog to that server. Instead, I'll display the dialog in the VC++ code and I'll pass the only information VFP uses (printer name) back to VFP with "set printer to..."
Remus