pdf - canvas does not allow drawing
I am trying to print to a pdf without displaying anything to the canvas
(because I am inside an intraweb application.)
I keep getting the message 'canvas does not allow drawing'.
Is there a property that I need to turn off?
I already am setting the following
Process_Report.ShowPrintDialog := False;
Process_Report.TextFileName := filedir;
Process_Report.DeviceType := 'PDF';
Process_Report.ModalCancelDialog := false;
Process_Report.ModalPreview := false;
Process_Report.ShowCancelDialog := false;
Thanks
Joel
(because I am inside an intraweb application.)
I keep getting the message 'canvas does not allow drawing'.
Is there a property that I need to turn off?
I already am setting the following
Process_Report.ShowPrintDialog := False;
Process_Report.TextFileName := filedir;
Process_Report.DeviceType := 'PDF';
Process_Report.ModalCancelDialog := false;
Process_Report.ModalPreview := false;
Process_Report.ShowCancelDialog := false;
Thanks
Joel
This discussion has been closed.
Comments
Which version of ReportBuilder are you using? Are you tring to export any
images to PDF that are not bitmaps?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I am not using any images. (I only receive the error when I try to run it
under IIS web server.)
Thanks
Joel
If possible, please set your library path to point to \RBuilder\Source\ and
set your debugger to stop on exceptions. Then try to trace into the
RBuilder source when the error occures. Let me know what you find.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
debugging it under delphi, but the minute I compiled the code to run as a
dll under IIS then I start getting the error code.
I am not sure how to proceed?
Joel
Although I have not tested the PDF export with intraweb, we do have many
customers using it. I was able to test an ISAPI web app with our report
server using IIS and this seemed to work correctly. This may have something
to do with the fact that the user is different in IIS and it does not have
access to the proper printer drivers, or other files to successfully
generate the report.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com