jaisu03 / jspdf

Automatically exported from code.google.com/p/jspdf
0 stars 0 forks source link

The basic example does not work on firefox 3.0.10 or ie 7 #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. go the example page
2. click on run on any of the examples
3.

What is the expected output? What do you see instead?
a pdf file

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by JOEL.BON...@gmail.com on 7 May 2009 at 2:15

GoogleCodeExporter commented 8 years ago
Firefox 3.0.10, instead of PDF file I see blank page on every example.

Original comment by stepniak...@gmail.com on 15 May 2009 at 9:57

GoogleCodeExporter commented 8 years ago
Same problem here! For example, clicking on the "Run Code" of the first example
changes the URL in the address bar to:
data:application/pdf;base64,JVBERi0xLjMKMyAwIG9iago8PC9UeXBlIC9QYWdlCi9QYXJlbnQg
MSAwIFIKL1Jlc291cmNlcyAyIDAgUgovQ29udGVudHMgNCAwIFI+PgplbmRvYmoKNCAwIG9iago8PC9M
ZW5ndGggMTQ0Pj4Kc3RyZWFtCjAuNTcgdwpCVCAvRjEgMTYuMDAgVGYgRVQKQlQgNTYuNjkgNzg1LjIw
IFRkIChIZWxsbyB3b3JsZCEpIFRqIEVUCkJUIDU2LjY5IDc1Ni44NSBUZCAoVGhpcyBpcyBjbGllbnQt
c2lkZSBKYXZhc2NyaXB0LCBwdW1waW5nIG91dCBhIFBERi4pIFRqIEVUCgplbmRzdHJlYW0KZW5kb2Jq
CjUgMCBvYmoKPDwvVHlwZSAvUGFnZQovUGFyZW50IDEgMCBSCi9SZXNvdXJjZXMgMiAwIFIKL0NvbnRl
bnRzIDYgMCBSPj4KZW5kb2JqCjYgMCBvYmoKPDwvTGVuZ3RoIDcxPj4Kc3RyZWFtCjAuNTcgdwpCVCAv
RjEgMTYuMDAgVGYgRVQKQlQgNTYuNjkgNzg1LjIwIFRkIChEbyB5b3UgbGlrZSB0aGF0PykgVGogRVQK
CmVuZHN0cmVhbQplbmRvYmoKMSAwIG9iago8PC9UeXBlIC9QYWdlcwovS2lkcyBbMyAwIFIgNSAwIFIg
XQovQ291bnQgMgovTWVkaWFCb3ggWzAgMCA1OTUuMjggODQxLjg5XQo+PgplbmRvYmoKNyAwIG9iago8
PC9UeXBlIC9Gb250Ci9CYXNlRm9udCAvSGVsdmV0aWNhCi9TdWJ0eXBlIC9UeXBlMQovRW5jb2Rpbmcg
L1dpbkFuc2lFbmNvZGluZwo+PgplbmRvYmoKMiAwIG9iago8PAovUHJvY1NldCBbL1BERiAvVGV4dCAv
SW1hZ2VCIC9JbWFnZUMgL0ltYWdlSV0KL0ZvbnQgPDwKL0YxIDcgMCBSCj4+Ci9YT2JqZWN0IDw8Cj4+
Cj4+CmVuZG9iago4IDAgb2JqCjw8Ci9Qcm9kdWNlciAoanNQREYgMjAwOTA1MDQpCi9DcmVhdGlvbkRh
dGUgKEQ6MjAwOTA1MjEyMTIzMjQpCj4+CmVuZG9iago5IDAgb2JqCjw8Ci9UeXBlIC9DYXRhbG9nCi9Q
YWdlcyAxIDAgUgovT3BlbkFjdGlvbiBbMyAwIFIgL0ZpdEggbnVsbF0KL1BhZ2VMYXlvdXQgL09uZUNv
bHVtbgo+PgplbmRvYmoKeHJlZgowIDEwCjAwMDAwMDAwMDAgNjU1MzUgZiAKMDAwMDAwMDQ3NyAwMDAw
MCBuIAowMDAwMDAwNjY2IDAwMDAwIG4gCjAwMDAwMDAwMDkgMDAwMDAgbiAKMDAwMDAwMDA4NyAwMDAw
MCBuIAowMDAwMDAwMjgwIDAwMDAwIG4gCjAwMDAwMDAzNTggMDAwMDAgbiAKMDAwMDAwMDU3MCAwMDAw
MCBuIAowMDAwMDAwNzcwIDAwMDAwIG4gCjAwMDAwMDA4NTEgMDAwMDAgbiAKdHJhaWxlcgo8PAovU2l6
ZSAxMAovUm9vdCA5IDAgUgovSW5mbyA4IDAgUgo+PgpzdGFydHhyZWYKOTU0CiUlRU9GCg==

But the browser doesn't render it, the image of the example page is still there 
but
non-functional (i.e. residual image), clicking back takes me back to the 
example page.

Original comment by marcu...@gmail.com on 21 May 2009 at 8:25

GoogleCodeExporter commented 8 years ago
Hello,

I have the same problem with your examples. When i click on Run Code.
The page doesn't render the PDF file but shows a blank page.

Thanks,

Original comment by jlorth...@gmail.com on 25 May 2009 at 12:39

GoogleCodeExporter commented 8 years ago
I can confirm this with FF3.5.1 as well.

It, however, has no problem with Google Chrome 3.0.195.1

:-)

It appears that the application/type is being define correctly but that the 
plugin is
never getting called by firefox. Blech.

Original comment by andrew.g...@gmail.com on 28 Jul 2009 at 9:54

GoogleCodeExporter commented 8 years ago
Hi guys. I use Opera 9.64 and Firefox 3.0.12 on Mandriva Linux. And the 
examples are 
working fine.
I recommend you to check your Javascript error console or error console and 
post the 
error here. That would help to identify the error and correct it.

Dom

Original comment by kandrait...@gmail.com on 4 Aug 2009 at 5:14

GoogleCodeExporter commented 8 years ago
Hi,
I found the problem. Internet explorer don't handle the data URI well. So I 
modified 
it to create a .pdf file in the temp directory and open it in a new browser. I 
also 
modified that the datauri will open in new browser or tab too. Some time you 
must 
refresh the new window in which the pdf is to see it.

Dom

Original comment by kandrait...@gmail.com on 4 Aug 2009 at 1:29

Attachments:

GoogleCodeExporter commented 8 years ago
I have the same problem the script not run well firebugs say: jsPDF is not 
defined

Original comment by guerra.c...@gmail.com on 10 Aug 2009 at 5:05

GoogleCodeExporter commented 8 years ago
Hi,

I also have the same problem.. Cant work. Any solution?

Original comment by eshopisg...@gmail.com on 3 Sep 2009 at 9:20

GoogleCodeExporter commented 8 years ago
The demos work for me in Opera 10 and FF 3.0.15 on Ubuntu 8.10.

Original comment by robert.a...@gmail.com on 9 Nov 2009 at 6:21

GoogleCodeExporter commented 8 years ago
Seems to work fine on Linux, but not in FF 3.5.5 or IE7 on windows.

Original comment by jason.me...@gmail.com on 9 Nov 2009 at 6:21

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
FF 10.0.2 on WinXP doesn't seem to support datauri for application/pdf 
whatsoever.

Issues doesn't seem to be related to jspdf.

Submited a bug to Mozilla:
  https://bugzilla.mozilla.org/show_bug.cgi?id=733737

Original comment by jlco...@gmail.com on 7 Mar 2012 at 1:52