View Single Post
 
Old 03-01-2024, 02:17 AM
tweaking10 tweaking10 is offline Windows 10 Office 2021
Novice
 
Join Date: Mar 2024
Posts: 1
tweaking10 is on a distinguished road
Default Code to print single-sided to add to Macro for Word 365

I have recorded a macro to print current page and made a button on my Quick Access toolbar in Word 365.

Sub PrintCurrentPage()
'
'
Application.PrintOut FileName:="", Range:=wdPrintCurrentPage, Item:= _
wdPrintDocumentWithMarkup, Copies:=1, Pages:="", PageType:= _
wdPrintAllPages, Collate:=True, Background:=True, PrintToFile:=False, _
PrintZoomColumn:=0, PrintZoomRow:=0, PrintZoomPaperWidth:=0, _
PrintZoomPaperHeight:=0
End Sub

That works well. However, sometimes I want to be able to print one page on the back of an already-printed page--either because I'm saving paper and printing on the other side of junk, or because I've decided to add another page to the back of a good page I have printed.

In that case I lay the printed page in the paper tray foot first, face up, and my Brother printer prints on the back of the sheet the correct way up. The macro works well if I print single-sided all the time on a completely blank sheet of paper. Trouble comes when I run the macro after I last printed double-sided. Then, instead of printing on the back of my page, it prints on the same side as the already-printed side.

So, although it seems redundant when I'm printing only one page (current page), the macro needs to specify to print single-sided. To have to go into the Print Dialog box to see whether I last printed single or double-sided defeats the whole purpose of having a Quick Access button!

Thank you very much for your assistance.
Reply With Quote