
printer object.Impossible to use fonts!
There are some tricky aspects to doing this. In specific, if you are using
Visual Basic 3.0, look at pages 380 and 381 of your Programmer's Guide.
Notice that in some cases, you have to set the FontSize first, followed by
FontName, followed by FontSize (again!), followed by the other properties.
Sometimes, when you set FontSize, and it is small, FontName gets changed to
a font that supports that size. That is why you have to set FontName
afterwards, then set FontSize again.
Just to be on the safe side, what I always do is:
(1) Set all font properties other than FontName, starting with FontSize
(2) Set FontName
(3) Repeat step 1
Seems to work OK for me.
The only other thing I can think of is that you are setting your printer to
a font that it does not support, but you should get an error then.
Hope that helps!
Quote:
> I have to print some pages.Dates are from a database.
> I cannot use any font, the printer doesn't seem to listen what printer
> objects says it to do.
> I can use the printform, but I dont know have to separate the pages,
> independently of the screen
> resolution.
> Thanks:
> kiko
> --
> * http://www.nova.es/Picos-europa
> * * * Centro de Turismo Rural ?Picos de Europa?
> * * * * Mountain guides Company ?Valle de Valdeon?
> ******************************************************************
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++