Why the zoom setting not have effetct!!!
My code:
Private Sub Command1_Click()
Me.Text1.SetFocus
Printer.Font.Size = 8
Printer.Font.Name = "Consolas"
Printer.Zoom = 80
For I = 0 To Me.List1.ListCount
Printer.Print " " & Me.List1.List(I)
Next
Printer.EndDoc
Me.Text1.SetFocus
End Sub
PRINTER.ZOOM have no effect
-
- PlatinumLounger
- Posts: 4602
- Joined: 26 Apr 2010, 17:36
PRINTER.ZOOM have no effect
Last edited by HansV on 06 Oct 2024, 09:50, edited 1 time in total.
Reason: Corrected PèRINTER to PRINTER
Reason: Corrected PèRINTER to PRINTER
-
- 5StarLounger
- Posts: 753
- Joined: 27 Jun 2021, 10:46
Re: PRINTER.ZOOM have no effect
The challenge here is that the print driver may not support the zoom property. And this applies to many of the Printer object settings, not just zoom. As Microsoft themselves say:
Microsoft wrote:Note The effect of the properties of the Printer object depends on the driver supplied by the printer manufacturer. Some property settings may have no effect,
-
- PlatinumLounger
- Posts: 4602
- Joined: 26 Apr 2010, 17:36
Re: PRINTER.ZOOM have no effect



SpeakEasy wrote: ↑06 Oct 2024, 12:59The challenge here is that the print driver may not support the zoom property. And this applies to many of the Printer object settings, not just zoom. As Microsoft themselves say:
Microsoft wrote:Note The effect of the properties of the Printer object depends on the driver supplied by the printer manufacturer. Some property settings may have no effect,

-
- 5StarLounger
- Posts: 753
- Joined: 27 Jun 2021, 10:46
Re: PRINTER.ZOOM have no effect
You could always write your own printer output scaling code ...