Re: printer.font.size
- From: "bpsdg" <bpsdgnewsBRAKE@xxxxxxxxxx>
- Date: Thu, 30 Mar 2006 19:47:40 +0200
"Kyle" <me@xxxxxxxxxxx> schreef in bericht
news:mo6dnXadB5lzjLHZnZ2dnUVZ_vqdnZ2d@xxxxxxxxxxxxxx
"G Doucet" <someone@xxxxxxxxxxxxxxx> wrote in message
news:6MQWf.51909$VV4.877707@xxxxxxxxxxxxxxxxxxxxxxxxxx
| Is there a reason why my HP deskjet 3600 series printer will prints
my text in size 12 or something. My VB code sets the printer
| font size to 6 and then loops through a recordset printing text.
What's strange is that sometimes it will print the right size. I
| have also seen this before. Not sure if I have to reboot my
computer or the printer or if it's something I'm not doing right.
|
| Printer.Font.Name = "Arial"
| Printer.Font.Size = 6
| Printer.Font.Bold = False
|
| BTW, is there a limit as to how small the font can be?
|
| Thanks for all,
| Guy
|
|
Shouldn't the code look like this for VB 4 thru 6 (some periods
removed):
Printer.FontName = "Arial"
Printer.FontSize = 6
Printer.FontBold = False
--
Best regards,
Kyle
From VB6 help:
Note The FontSize property is included for use with the CommonDialog
control and for compatibility with earlier versions of Visual Basic. For
additional functionality, use the new Font object properties (not available
for the CommonDialog control).
Note The FontBold, FontItalic, FontStrikethru, and FontUnderline
properties are included for use with the CommonDialog control and for
compatibility with earlier versions of Visual Basic. For additional
functionality, use the new Font object properties (not available for the
CommonDialog control).
Note The FontName property is included for use with the CommonDialog
control and for compatibility with earlier versions of Visual Basic. For
additional functionality, use the new Font object properties (not available
for the CommonDialog control).
Bas.
.
- Follow-Ups:
- Re: printer.font.size
- From: Kyle
- Re: printer.font.size
- References:
- printer.font.size
- From: G Doucet
- Re: printer.font.size
- From: Kyle
- printer.font.size
- Prev by Date: Re: printer.font.size
- Next by Date: Re: printer.font.size
- Previous by thread: Re: printer.font.size
- Next by thread: Re: printer.font.size
- Index(es):
Relevant Pages
|