BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Rave Report : Canvas doesn't allow drawing

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting
View previous topic :: View next topic  
Author Message
Vincent Mary
Guest





PostPosted: Mon Oct 27, 2003 12:39 pm    Post subject: Rave Report : Canvas doesn't allow drawing Reply with 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
C. Kindle
Guest





PostPosted: Wed Oct 29, 2003 8:52 am    Post subject: Re: Rave Report : Canvas doesn't allow drawing Reply with 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...
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





PostPosted: Thu Oct 30, 2003 9:33 am    Post subject: Re: Rave Report : Canvas doesn't allow drawing Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.