Beiträge von filitrix

    Hello,

    When I'm trying to print a PDF document with the "MS Serif" font (look that it's not "MS Sans Serif") the PDF component doesn't find this font and prints my document with the minuscules letters too small!

    I noticed that when I'm I set an inexistent font, the same happens.

    Here is an example:

    Code
    PDF.StartPage
        PDF.SetTextAttr "MS Serif", 6, 0, 0, 0
        PDF.TextOut 20, 100, "Take a Look in the Minuscules Letters"
        PDF.SetTextAttr "xxxxxxxxxx", 6, 0, 0, 0
        PDF.TextOut 20, 100, "The same happens with an inexistent font"
        PDF.EndPage

    I hope u can help me,

    Thanks

    Fellipe Borges
    Prosoft Tecnologia
    Brazil

    Hi, good afternoon.

    Last Monday (January 16th) you tried to solve a problem with your standard version component (the problem was about the PAGE_PDFWidth and PAGE_PDFHeight properties, which are not working). You made a new version of it, but it didn't work.
    Then I sent you a reply trying to explain better the problem (including attachments and examples) and I also post the problem in the forum, but you did not answer me yet.
    The problem is that I have a short stated period to finish this project (pdf exporting) cause I have a lot of clients waiting for this and also my manager is asking about it all the time.
    I'd like to know if you are solving the problem and when are you going to send me a new version.

    Thanks a lot,

    Fellipe Borges
    Prosoft Tecnologia
    São Paulo - Brazil

    Não entendo muito bem espanhol, mas vamos ver se é isso que você quer:

    O valor X da função TextOut() é onde (na horizontal) seu texto vai ser impresso.
    Então você pode definir intervalos para x para imprimir as colunas.
    Exemplo:

    PDF.TextOut ( 10, 10, "Articulo")
    PDF.TextOut ( 40, 10, "Descripción")
    PDF.TextOut ( 70, 10, "Cantidad")
    PDF.TextOut ( 100, 10, "Precio")
    PDF.TextOut ( 130, 10, "Importe")

    Eu fui incrementando o valor de X de 30 em 30 (se não couber você poderia aumentar mais).

    Não sei se era isso que você queria, se não era me desculpe (sorry).

    Fellipe Borges

    Hi!

    I have developed a (big) routine using wPDFControlDemo.dll (we were only trying the component in here) and it worked very well. For this reason we decided to bought the Standard version.

    (I'm using your component in Visual Basic 6.0)

    The problem is:
    When I was using the properties "PAGE_PDFHeight" and "PAGE_PDFWidth" in the Demo version, it used to work properly.

    When I upgraded the component to the Standard version, those properies are giving to my pdf file a different result: the document doesn't appear to respect the values that I set in the properties mentioned above.

    This is the code which used to work in the Demo version:

    PDF.PAGE_PDFHeight = ScaleY(picture1.Height, vbTwips, vbPixels)
    PDF.PAGE_PDFWidth = ScaleX(picture1.Width, vbTwips, vbPixels)

    Code's explanation:
    I try to set the pdf file size (width and height) just like the component "picture1" size.

    The question is:
    Is there any difference in those properties' behavior between the demo and final version?

    Thanks a lot.

    Hope you can help me.

    Fellipe Borges

    PS: I've sent an email to support with the same question.