Declare Function PageSetupDlg Lib "comdlg32.dll" Alias "PageSetupDlgA" (pPagesetupdlg As PAGESETUPDLG) As LongThe PageSetupDlg function creates a Page Setup dialog box that enables the user to specify the attributes of a printed page. These attributes include the paper size and source, the page orientation (portrait or landscape), and the width of the page margins.キ lppsd
Pointer to a PAGESETUPDLG structure that contains information used to initialize the dialog box. The structure receives information about the user痴 selections when the function returns.
Pointer to a PAGESETUPDLG structure that contains information used to initialize the dialog box. The structure receives information about the user痴 selections when the function returns.
CommonDialog1.ShowPrinter