Hi
I could not get my Canon MG6250 to print in LandScape so I
tried the sample below and even though i = 2 the printer
just ignores the instruction.
Can anyone help please?
I could not get my Canon MG6250 to print in LandScape so I
tried the sample below and even though i = 2 the printer
just ignores the instruction.
Can anyone help please?
Code:
VB6
Private Sub Command1_Click()
Dim s As String, i As Integer
s = "This Print is in Landscape"
With cdA
.CancelError = True
.PrinterDefault = True
.Orientation = vbPRORLandscape
i = .Orientation
.Copies = 1
End With
Printer.Print s
Printer.EndDoc
End Sub