摘要: VB.Net实现打印机纸张类型自动更换的方法Dim ps As New PageSettingsDim pDocument as new PrintDocumentDim myPaperSize As System.Drawing.Printing.PaperSize If ps.PrinterSettings.InstalledPrinters.Count > 0 Then '检测打印机是否存在 If ps.PrinterSettings.IsValid = True Then '检测打印机是否有效 ... 阅读全文