Search code examples
delphipdfdelphi-7gdi

Exchanging documents among several system and printing them


There are two systems. I need to get the document in some format and print it in my application. The source file should be in a pdf format.

  1. Do you know the component for delphi7 that i could be able to open pdf file and print it on delphi's canvas. Is such approach good for the pdf document quality?

  2. Or which format of the source document could be better to print in delphi application?

Thanks


Solution

  • I think almost all PDF preview components may do it.

    When searching - https://www.google.ru/search?client=opera&q=delphi+render+pdf+to+canvas&sourceid=opera - you would instantly get at least few commercial libs:

    TCanvas is a wapper around Windows HDC. See http://docwiki.embarcadero.com/Libraries/en/Vcl.Graphics.TCanvas.Handle