Beiträge von Marty

    The demo version of my app prints a line of text from the upper left corner to the bottom right corner of the printed page.

    I use the TextOut API after selecting a rotated font into the hDC. The rotated font is created with the CreateFontIndirect API function. That function passes a LOGFONT struct. One of the elements has the .lfEscapement set equal to the angle that I want to print at.

    For some reason this routine does not work on the hDC returned from the PDF control. It works very well on a printer DC.

    Any suggestions are appreciated very much.

    Thanks,
    -Marty

    Thank you for the reply. I didn't see those defs in the .h file.
    I tried it, but still no success. Did you read my previous post? I am using the EM_FORMATRANGE windows message to print "WYSIWYG". I never have to actually select a font into the hDC. Could that be the problem? I guess what I am asking is: How does the DLL keep track of which fonts to embed? Does it add it to a list when you do a TextOut function? I am not printing that way.

    Thank You. This is a great product!

    In a seperate message I posted:
    My program uses the EM_FORMATRANGE windows message to print dozens of RichText controls to the printer. When I print to the PDF control's HDC, the information is correct, but the font is substituted. I have tried setting the PDF_FontMode property to the various enumerated properties to no avail.

    Jazzman Wrote back and asked if I had "Use Local Fonts" option turned on in Adobe Reader.

    When it is on the doc looks great but I need to send this to people that do not not have our fonts. I need to embed them. Since I am using API print routines (EM_FORMATRANGE message) I don't think they are being embedded into the pdf.

    I am using the DLL not the OCX

    Any help would sure be appreciated.

    My program uses the EM_FORMATRANGE windows message to print dozens of RichText controls to the printer. When I print to the PDF control's HDC, the information is correct, but the font is substituted. I have tried setting the PDF_FontMode property to the various enumerated properties to no avail.

    Hi,
    I just downloaded the demo. When I get the DC property, it returns 0.
    I would like to draw on the DC just like I currently do when I print my document. I simply want to replace the printer DC with the PDF control DC. Any help would be appreciated very much.

    Thanks,
    -Marty