|
-
June 13th, 2001, 09:32 AM
#1
Problem With Non Scaleable Fonts On Printer
I have reports that I created using Printer.Print for each line. The totals are set into columns by adding spaces before to make them even. I set the Printer font to a non scaleable font before the report. This has been working fine until now. I have one customer who's reports are running together as if the font it is using is scaleable.
I was wondering what could be the cause on this one machine/printer? Is there anything I can do to fix it. Either via code or in the properties of the printer.
The code I am using for the report is:
Dim MyFont as new StdFont
With MyFont
.Bold = false
.Name = "courier"
End With
set Printer.Font = MyFont
Printer.FontSize = 9
Printer.Orientation = vbPRORLandscape
Printer.print Right(" " + CStr(rsHourlyRpt!PAYEMP), 6) & _
Right(" " & Format(CStr(Reg1tot$), "#####0.00"), 7)
Thanks in advance for any advice
Catrina
-
June 13th, 2001, 01:31 PM
#2
Re: Problem With Non Scaleable Fonts On Printer
VB will substitute a font if the font specified is not in the machine. Although courier is a common font, maybe it had been deleted.
David Paulson
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|