Avatar of agwalsh
agwalsh
 asked on

Way to set up print area in Excel to work with duplex printer?

hi is there a way to set up a print area in Excel to print correctly on a duplex printer?
Microsoft Excel

Avatar of undefined
Last Comment
John

8/22/2022 - Mon
John

What printer are you using? Excel uses the Windows print driver to print.
Helen Feddema

One way to handle this situation is to make another printer item, set up for duplex printing, and then print to that printer.  If you need to print duplex, but don't want to make the duplex printer the default printer, you can temporarily change it and then reset it to the regular printer, as in this procedure:

Public Sub PrintToSpecificPrinter(strPrinter As String)
'Created by Helen Feddema 12-Feb-2010
'Last modified by Helen Feddema 12-Feb-2010

On Error GoTo ErrorHandler

   Dim strDefaultPrinter As String
   
   'Save current default printer
   strDefaultPrinter = Application.ActivePrinter
   Debug.Print "Current default printer: " & strDefaultPrinter
   
   'Select a specific printer as new default printer
   Application.ActivePrinter = strPrinter
   
   'Print the current document
   Application.ActiveDocument.PrintOut
   
   'Set printer back to former default printer
   Application.ActivePrinter = strDefaultPrinter
      
ErrorHandlerExit:
   Exit Sub

ErrorHandler:
   MsgBox "Error No: " & Err.Number & "; Description: " & _
      Err.Description
   Resume ErrorHandlerExit

End Sub

Open in new window

agwalsh

ASKER
Apparently it's a Canon Image Runner printer/copier.  I think it's a 3300 . Would that make any difference?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
SOLUTION
Rob Henson

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
John

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Helen Feddema

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Rob Henson

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
agwalsh

ASKER
Thanks to all of you...just telling you what she asked me and I will pass it on..thanks :-)
agwalsh

ASKER
Got pointed in the right direction
John

Thanks for the update and I was happy to assist.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.