2021年5月6日星期四

VBA - Manually Print on Both Sides

My printer doesn't support Both Sides when printing, but I can choose to Manually Print on Both Sides before printing the document.

I'd like to know if that's possible on Macro?

I tried the following code but it doesn't work.

ActiveDocument.PrintOut Range:=wdPrintAllDocument, ManualDuplexPrint:=False  

I also tried the below code but no luck.

Dim iTemp As Integer    ActiveDocument.PrintOut Copies:=1, PageType:=wdPrintOddPagesOnly  iTemp = MsgBox("Switch paper to continue", vbOKCancel, "PrintBothSides")  If iTemp = vbOK Then      ActiveDocument.PrintOut Copies:=1, PageType:=wdPrintEvenPagesOnly  End If  
https://stackoverflow.com/questions/67428124/vba-manually-print-on-both-sides May 07, 2021 at 10:06AM

没有评论:

发表评论