Jan 9, 2001 #1 MCH Programmer Dec 11, 2000 7 HK Dim x As Printer For Each x in Printers If x.DeviceName = "Laser Jet" Then x.Orientation = vbPRORLandscape Exit For End If Next This code cause "Orientation property is read-only" error? How to change specified printer's setting? Thanks mch
Dim x As Printer For Each x in Printers If x.DeviceName = "Laser Jet" Then x.Orientation = vbPRORLandscape Exit For End If Next This code cause "Orientation property is read-only" error? How to change specified printer's setting? Thanks mch
Jan 9, 2001 #2 abdullauthan Programmer Apr 20, 2000 64 SA try this Dim x As Printer For Each x in Printers If x.DeviceName = "Laser Jet" Then Set Printer=x Printer.Orientation=vbPRORLandscape Exit For End If Next Upvote 0 Downvote
try this Dim x As Printer For Each x in Printers If x.DeviceName = "Laser Jet" Then Set Printer=x Printer.Orientation=vbPRORLandscape Exit For End If Next