I am using the following code on my home machine and it works fine but when I use a different printer from work it fails any ideas on another print setting I can use so that it will work regardless of what dpi the printer is capable of.
Home printer 360dpi
Work printer 600 dpi
With ActiveSheet.PageSetup<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
.LeftHeader = ""<o></o>
.CenterHeader = ""<o></o>
.RightHeader = ""<o></o>
.LeftFooter = ""<o></o>
.CenterFooter = ""<o></o>
.RightFooter = ""<o></o>
.LeftMargin = Application.InchesToPoints(0.71)<o></o>
.RightMargin = Application.InchesToPoints(0.71)<o></o>
.TopMargin = Application.InchesToPoints(0.75)<o></o>
.BottomMargin = Application.InchesToPoints(0.75)<o></o>
.HeaderMargin = Application.InchesToPoints(0.31)<o></o>
.FooterMargin = Application.InchesToPoints(0.31)<o></o>
.PrintHeadings = False<o></o>
.PrintGridlines = False<o></o>
.PrintComments = xlPrintNoComments<o></o>
.PrintQuality = -2<o></o>
.CenterHorizontally = False<o></o>
.CenterVertically = False<o></o>
.Orientation = xlLandscape<o></o>
.Draft = False<o></o>
.PaperSize = xlPaperA4<o></o>
.FirstPageNumber = xlAutomatic<o></o>
.Order = xlDownThenOver<o></o>
.BlackAndWhite = False<o></o>
.Zoom = False<o></o>
.FitToPagesWide = 1<o></o>
.FitToPagesTall = 1<o></o>
End With<o></o>
Home printer 360dpi
Work printer 600 dpi
With ActiveSheet.PageSetup<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
.LeftHeader = ""<o></o>
.CenterHeader = ""<o></o>
.RightHeader = ""<o></o>
.LeftFooter = ""<o></o>
.CenterFooter = ""<o></o>
.RightFooter = ""<o></o>
.LeftMargin = Application.InchesToPoints(0.71)<o></o>
.RightMargin = Application.InchesToPoints(0.71)<o></o>
.TopMargin = Application.InchesToPoints(0.75)<o></o>
.BottomMargin = Application.InchesToPoints(0.75)<o></o>
.HeaderMargin = Application.InchesToPoints(0.31)<o></o>
.FooterMargin = Application.InchesToPoints(0.31)<o></o>
.PrintHeadings = False<o></o>
.PrintGridlines = False<o></o>
.PrintComments = xlPrintNoComments<o></o>
.PrintQuality = -2<o></o>
.CenterHorizontally = False<o></o>
.CenterVertically = False<o></o>
.Orientation = xlLandscape<o></o>
.Draft = False<o></o>
.PaperSize = xlPaperA4<o></o>
.FirstPageNumber = xlAutomatic<o></o>
.Order = xlDownThenOver<o></o>
.BlackAndWhite = False<o></o>
.Zoom = False<o></o>
.FitToPagesWide = 1<o></o>
.FitToPagesTall = 1<o></o>
End With<o></o>