Need help with printing
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
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
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com