Help with Print Devices
I use an activex which prints a map in 2 ways:
1. Either copying to clipboard
2. or Printing to a device handle (e.g. screen or printer)
The second method is much better in quality.
Is there a way to use the handle of a printer with RBuilder (v.6.03).
I intend to use RBuilder for previewing purposes and print to the
printer directly. Could this be accomplished with a RBuilder Print Device?
I created a Print Device and in the DirectDrawImage procedure i put in
the following code:
OutputMap(FCanvas.Handle,.....) in order to send the image from the
ActiveX to the printer.
When i print the report nothing gets printed.
Any help would be appreciated.
Yiannis
1. Either copying to clipboard
2. or Printing to a device handle (e.g. screen or printer)
The second method is much better in quality.
Is there a way to use the handle of a printer with RBuilder (v.6.03).
I intend to use RBuilder for previewing purposes and print to the
printer directly. Could this be accomplished with a RBuilder Print Device?
I created a Print Device and in the DirectDrawImage procedure i put in
the following code:
OutputMap(FCanvas.Handle,.....) in order to send the image from the
ActiveX to the printer.
When i print the report nothing gets printed.
Any help would be appreciated.
Yiannis
This discussion has been closed.
Comments
http://www.digital-metaphors.com/rcl/twpaintbox.zip
This components gives you access to a canvas with its OnDrawPaintbox event.
The canvas is set to the printdevice precision.
--
Daniel Lemire
Is there any other way?