Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Need help with printing

edited May 2002 in General
Hi,
We are using RB for a long time, but now we would like to do some extra
thing ... and i need some info :

*) Is it possible to let RB print into a user defined Canvas ? We have a PDF
Component which has a Canvas, and i need RB to print in this Canvas
*) Is it possible to open the printer by my way, do some thing with the
printer, let RB print the first page, do some thing with the printer, let RB
print the next page and so on .....

- you see, i need such a thing like PrintPage(PageNr : integer; Canvas :
TCanvas)

We be happy if someone can help me, and show me the right direction
regards
Andreas

Comments

  • edited May 2002
    To print to the canvas of your own pdf component as well as to be able to
    manage the printer internally you will need to create a device wrapper for
    the component by creating a descendent of TppDevice. Each device internally
    draws to its own canvas. TppDevice implements a ReceivePage method which
    corresponds to what you are seeking to do.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.