 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Vincent Mary Guest
|
Posted: Mon Oct 27, 2003 12:39 pm Post subject: Rave Report : Canvas doesn't allow drawing |
|
|
Hello,
I have got a strange problem with Rave reports (the version included
in Delphi 7). I am currently writing an ActiveX which allows me to
print reports or invoices on a printer or as a PDF file.
Everything works fine if I try this on a computer where the printers
are connected. The invoices are correctly printed by the printer, that
is fine.
Now, when I try from my webserver, where I installed the printers as
shared from another computer (the webserver is not the print server)
then I still get the PDF file generation fine, but if I try to print
as well then I get
"Canvas does not allow drawing " Error 8000FFFF
I already looked quite a lot on the nevrona website, or the newsgroups
but unfortunalety it does not seem to be a very common problem. I
would bet that because it works on the PC where the printers are
connected, but not on the webserver where the printers are shared from
another computer, it has to do with some authorisations on the
printers ... but that is just a supposition and to be honest I am
stuck ;o) May I add that from the webserver I can print ok from the
printers window : print test page ... SO I can print from this
computer only the ActiveX component doesn't want to.
If you have any idea then you are more than welcome to give me some
clues ;o))
Thanks for reading me
Cheers
Vincent
|
|
| Back to top |
|
 |
C. Kindle Guest
|
Posted: Wed Oct 29, 2003 8:52 am Post subject: Re: Rave Report : Canvas doesn't allow drawing |
|
|
install a local printer on the webserver even it is not connected. probably
it will print then with the network printers.
Christoph
"Vincent Mary" <vmary (AT) club-internet (DOT) fr> schrieb im Newsbeitrag
news:57502411.0310270439.594f1a2e (AT) posting (DOT) google.com...
| Quote: | Hello,
I have got a strange problem with Rave reports (the version included
in Delphi 7). I am currently writing an ActiveX which allows me to
print reports or invoices on a printer or as a PDF file.
Everything works fine if I try this on a computer where the printers
are connected. The invoices are correctly printed by the printer, that
is fine.
Now, when I try from my webserver, where I installed the printers as
shared from another computer (the webserver is not the print server)
then I still get the PDF file generation fine, but if I try to print
as well then I get
"Canvas does not allow drawing " Error 8000FFFF
I already looked quite a lot on the nevrona website, or the newsgroups
but unfortunalety it does not seem to be a very common problem. I
would bet that because it works on the PC where the printers are
connected, but not on the webserver where the printers are shared from
another computer, it has to do with some authorisations on the
printers ... but that is just a supposition and to be honest I am
stuck ;o) May I add that from the webserver I can print ok from the
printers window : print test page ... SO I can print from this
computer only the ActiveX component doesn't want to.
If you have any idea then you are more than welcome to give me some
clues ;o))
Thanks for reading me
Cheers
Vincent
|
|
|
| Back to top |
|
 |
Vincent Mary Guest
|
Posted: Thu Oct 30, 2003 9:33 am Post subject: Re: Rave Report : Canvas doesn't allow drawing |
|
|
Hi Christoph,
Thanks for your reply, but I have since then found the solution.
The printer in question is an Hp Laserjet 2300L, and on my development
computer I have got connected a low range computer, an old Epson
Stylus photo 750.
Quite surprisingly, the Epson printed ok, but the HP Laserjet didn't
print at all, giving this error message.
Now, I discovered that when I designed the reports with rave designer,
the default size of the page is called "Default" and is bigger than
the european A4 format. By just selecting A4 in there, and then
resizing the reports to fit in the new page, well it started working a
lot better.
The other thing, it seems, is to give an autorisation to IIS to use
the printers. In the security tag of the printer, I selected Internet
Guest Account (IUSR_<name of computer>) and I gave it all the rights.
Since then no problems ;o)
Cheers
Vincent
"C. Kindle" <ckindle (AT) web (DOT) li> wrote
| Quote: | install a local printer on the webserver even it is not connected. probably
it will print then with the network printers.
Christoph
"Vincent Mary" <vmary (AT) club-internet (DOT) fr> schrieb im Newsbeitrag
news:57502411.0310270439.594f1a2e (AT) posting (DOT) google.com...
Hello,
I have got a strange problem with Rave reports (the version included
in Delphi 7). I am currently writing an ActiveX which allows me to
print reports or invoices on a printer or as a PDF file.
Everything works fine if I try this on a computer where the printers
are connected. The invoices are correctly printed by the printer, that
is fine.
Now, when I try from my webserver, where I installed the printers as
shared from another computer (the webserver is not the print server)
then I still get the PDF file generation fine, but if I try to print
as well then I get
"Canvas does not allow drawing " Error 8000FFFF
I already looked quite a lot on the nevrona website, or the newsgroups
but unfortunalety it does not seem to be a very common problem. I
would bet that because it works on the PC where the printers are
connected, but not on the webserver where the printers are shared from
another computer, it has to do with some authorisations on the
printers ... but that is just a supposition and to be honest I am
stuck ;o) May I add that from the webserver I can print ok from the
printers window : print test page ... SO I can print from this
computer only the ActiveX component doesn't want to.
If you have any idea then you are more than welcome to give me some
clues ;o))
Thanks for reading me
Cheers
Vincent
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|