printer object.Impossible to use fonts! 
Author Message
 printer object.Impossible to use fonts!

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.*-*-*.com/
        *  *        *      Centro de Turismo Rural ?Picos de Europa?
      *     *     *  *     Mountain guides Company ?Valle de Valdeon?


******************************************************************
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Sun, 18 Jul 1999 03:00:00 GMT  
 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?


> ******************************************************************
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Mon, 19 Jul 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Using Fonts with the Printer object

2. Using Printer Object with Scalable Font

3. Printer object and printer fonts

4. A HOW-TO: Setting Printer fonts: WAS Printer fonts

5. Printer.Font.Name and Printer.Font.Size problems with HP LaserJets

6. Controlin printer margins when using the Printer.Object

7. Problems with Printer.Font Object

8. font transparent on printer object doesn't work

9. printer object and available fonts

10. REQ: Font isn't transparant on Printer object in VB 5.0

11. Printer Object - Font problem

12. How to print an Ole object using the printer object

 

 
Powered by phpBB® Forum Software