Jan 9, 2001 #1 MCH Programmer Joined Dec 11, 2000 Messages 7 Location 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 Joined Apr 20, 2000 Messages 64 Location 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