print pages to pdf 0.1.9.0 not working on mozilla firefox 22 . how to make it to work???
it show the print pages to pdf (processing) window & when i click start button in that window it automatically close down without any message!!!
this mozilla Add-ons doesnt work :(
moderator edited the title of this thread to make it current to Firefox 22 final release
Изменено
Выбранное решение
Update: For access to the real fixed version, see: https://support.mozilla.org/en-US/questions/962379#answer-451693
I can get the extension to work normally (as far as I can tell) by editing one line in the code. To do this you need to use a plain text editor that won't insert any word processing codes into the file.
(1) Open your currently active Firefox profile folder using
Help > Troubleshooting Information > "Show Folder" button
(2) Click through to this folder:
extensions\printPages2Pdf@reinhold.ripper\modules
(3) Open the file srcObject.jsm in a text editor (Windows Notepad will do if that's all you have, but make sure Word Wrap is disabled)
(4) On line 254, make this change, then save:
Existing line:
this._favIconUrl=this.faviconService.getFaviconImageForPage(uri).spec;
Add to the beginning of the line:
if (this.faviconService.getFaviconImageForPage)
As a result, the full line will be:
if (this.faviconService.getFaviconImageForPage) this._favIconUrl=this.faviconService.getFaviconImageForPage(uri).spec;
This allows the function to run in Firefox 21 and earlier, but it doesn't run in Firefox 22 and higher where it no longer exists. Something probably is missing as a result, but it doesn't appear to be essential.
(5) Restart Firefox and test.
To revert the change if something goes wrong, reinstall the extension from the add-ons site.
Прочитайте этот ответ в контексте 👍 5Все ответы (18)
I love this extension. The developer has helped me with questions in the past and might have some insight on this if we don't find a quick solution.
Meanwhile, he has uploaded an update to the add-ons site but it is waiting for review. If you want to try it immediately, you can install if from the "versions" page here: https://addons.mozilla.org/firefox/ad.../versions/. If you try that, please let us know the results.
Изменено
I think I have the same problem. Installing the 0.1.9.1 version doesn't make things any easyer.
One part of the problem is that I don't know wheather this add-on works or not: it seems to work as far as by using the right button of my mouse I get the first web page context menu "Print pages to Pdf". I am allowed to activate this, and a second menu pops up. From this second menu I can select different options, forexample "Print active Tab". If I clique this then I get a new small menu where I have options like "start", "save", "options", "up", "down", "delete" (or "remove"), and "help". (These terms I have written in my native-language, so the english terms might differ.)
So far so good...
However, from there on the add-on seems not to work properly, or I just can't figure out how it works and where it saves those pdf-documents it transfers, if it does.
Forexample, if I clique the first button "start" (meaning "start conversion into a pdf-document) the small monitoring window just disappears, and nothing lets me know what is going on, is the add-on converting or not. If I try to find the converted pdf-file from my computer with the name I gave to it, nothing is found. So I assume, the conversion did not happen, and the add-on doesn't work.
I have also tried to clique the second button "save", and this gives me a banner/symbol meaning that this prosedure is not possible.
I am running Firefox 22.0 on a Windows 7. I don't think I have any major problems in this set up.
Could anyone tell me what to do to make this add-on work?
In Firefox 21 and earlier, the add-on generates the PDF immediately, saves it in a temp folder, and launches it in your default reader. I haven't tried Firefox 22 yet. Maybe this weekend.
EDIT: Added screen shots:
- Dialog that appears over page after choosing Active Tab
- Preview displayed in a new window
- PDF launched automatically in Adobe Reader
Изменено
I am not capable of finding converted pdf-documents in any of my "Teplate" files.
I have also tried the Windows 7 "find" procedure with the given names to the attemted pdf-conversions, and nothing is found.
I just don't know any other tricks how to look for those files.
Forexample, I have given a name "Test 1" to a pdf-conversion try with this ad-on, and when I pressed "start" (the conversion prosess) the prosess window just vanishes and I don't get any more info of the process, where did my pdf-conversion go, etc.
Then I tried to find the "Test 1" file with Windows "find" procedure, and nothing is found in the whole computer.
I assume I should get to view somekind of prosess-window if the conversion process starts, but I don't get any.
Could you check your settings for this extension and see whether any of your non-default values look as though they could affects its functioning?
(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.
(2) In the filter box, type or paste 2pdf and pause while the list is filtered. The customized settings appear in bold (with "user set" under status).
To reset non-default values that you think might be relevant, you can use right-click > Reset.
You may well have to guess the meaning of some of the preferences...
Thanks alot for good advices.
I changed all those about:config 2pdf -settings to default values, but still no can do and nothing has changed. I can't see any processing window and I don't have a glue whether I succeeded converting a web-page view into a pdf-document or not, nor can I find those assumed pdf-files in my computer.
Besides Firefox 22.0 I am using a "PDF-XChange viewer" freeware application for viewing the pdf-files, but I think this would not cause the problem here. Into "Print pages to pdf" I did set this program as a default program to open converted pdf-documents, but this I did only after I already tried several times to convert web-browser pages into pdf without succeeding.
I have also tried converting into pdf with and without the "start converting process immediately" -option. I read from the instructions that the process-view-window doesn't show if the "start conversion immediately" option is selected. But as said, I haven't seen the process-view-window at all.
However, I have given a thought that there is a slight possibility that the pdf conversion has occured, but I just cant find those darn pdf-files from my computer. My finding skills maybe aren't that good.
Anyway, thanks for help.
Sir please try it on Firefox 22.0 Beta 6 and recommend your solution....
Eagerly waiting for you fruitful recommendation!!!
I am supporting "tsp1993", and eagerly waiting for your (jscher2000) recommendation. In the mean time I can say that besides Firefox 22.0 beta 6, I have also tried to run the add-on on a Aurora 23.0a2 browser, and with same results, that is: the add-on seems to be installed ok, I get the "preferences" -pane and the add-on lets me to make my own preferences, and I am allowed to clique the "start conversion" button, but I just don't get any processing info when trying to make pdf-conversions, and nothing seems to be converted into pdf-documents.
This makes me wonder if I am missing some necessary suplementary things for this add-on to work? I have not installed anything else than just the add-on for this add-on to run. Or, are my Windows 7 senttings/preferences somehow blogging the process of this add-on?
I have not tried to run this add-on with earlier Firefox versions, so don't know wheather it would work with those earlier versions in my computer. Maybe I have to do that incase we don't find a solution in here.
I installed Fx22 Beta 6 and the extension doesn't work for me any more. This appears in the Error Console:
Timestamp: 6/22/2013 6:08:23 PM Error: TypeError: this.faviconService.getFaviconImageForPage is not a function Source File: resource://printpages2pdfmod/srcObject.jsm Line: 254
This function was removed in Firefox 22 as part of a "clean up", according to this page: Add-on Compatibility for Firefox 22 | Mozilla Add-ons Blog.
I think that's going to need to be addressed by the author. I don't think there is a setting to change in Firefox to restore that function.
UPDATE: Temporary workaround (manual edit of script file) in this post: https://support.mozilla.org/questions/962379#answer-447911
Изменено
Thanks for testing and reporting. Interesting "clean up". I think this add-on looked like one of the most usefull add-on's awailable for Firefox. Any suggestion what to do to make Firefox pdf-conversions possible: go back to Firefox 21, or use another add-on, or do something else?
In Firefox I have formerly used some web based pdf-printers like "PDF Complete" or "PDF redirect", but I think they are a bit of mess to use, and many times it takes quite long to receive the pdf-conversion file into my email. Neither do I like the idea that my pdf's are flying around the globe. These extensions look like spywares anyway. So I would really prefer something like "Print pages to pdf".
Hello,
I am terribly sorry to say this: it seems to be that FF22 throwed out some API's that my AddOn is using.
The first problem that I have here is a shame; my Laptop that contains my development enviroment died two weeks ago and I am still waiting for my new (than I have to set it up an can start to find and hopefully fix the problems).
For me absolutely unpredictable is the behaviour of some people of the AMO team. Because if I fixed it, I have to get the approval from this team. In the past that wasn't any problem, but the last one who checked Version 0.1.9.1 didn't approved the AddOn (from some understandable reasons that I will try to change, but some that I cannot follow). It took many weeks where I haven't got any response from this team and they didn't approved it yet.
So I will try to fix it as soon my new laptop is running, but don't know how long the approval process at AMO will take.
Regards,
Hi printpagestopdf, thank you for the update, and sorry to hear about your laptop.
Hi H.A. and others, Firefox 22 is scheduled to officially release on Tuesday, June 25th, with the full roll-out starting several days or a week later. (Not everyone receives the update notification at the same time.) I'll think about a workaround.
UPDATE: Temporary workaround (manual edit of script file) in this post: https://support.mozilla.org/questions/962379#answer-447911
Изменено
Hi "guys". Eagerly waiting how this episode is going to end up. No need to emphasize that "Print pages to pdf" has so many reasons for Firefox development teams to keep the necessary API's within the program for making that add-on to work in the future aswell. To miss those API's, with no reason really (as it looks a bit now...), would look like some big software companies are behind that scheme. But let's not get too speculative at the moment.
Thanks to all who work for this add-on to work.
Выбранное решение
Update: For access to the real fixed version, see: https://support.mozilla.org/en-US/questions/962379#answer-451693
I can get the extension to work normally (as far as I can tell) by editing one line in the code. To do this you need to use a plain text editor that won't insert any word processing codes into the file.
(1) Open your currently active Firefox profile folder using
Help > Troubleshooting Information > "Show Folder" button
(2) Click through to this folder:
extensions\printPages2Pdf@reinhold.ripper\modules
(3) Open the file srcObject.jsm in a text editor (Windows Notepad will do if that's all you have, but make sure Word Wrap is disabled)
(4) On line 254, make this change, then save:
Existing line:
this._favIconUrl=this.faviconService.getFaviconImageForPage(uri).spec;
Add to the beginning of the line:
if (this.faviconService.getFaviconImageForPage)
As a result, the full line will be:
if (this.faviconService.getFaviconImageForPage) this._favIconUrl=this.faviconService.getFaviconImageForPage(uri).spec;
This allows the function to run in Firefox 21 and earlier, but it doesn't run in Firefox 22 and higher where it no longer exists. Something probably is missing as a result, but it doesn't appear to be essential.
(5) Restart Firefox and test.
To revert the change if something goes wrong, reinstall the extension from the add-ons site.
Изменено
OMG! The add-on works now.
jscher2000: Thank you very much for so precise instructions and help given in this short time.
I did exactly what you instructed. Your instructions are very clear and precice.
I am running the add-on at the moment on Aurora 23 nightbuild.
The processing window now appears and my default pdf-viewer shows the converted pdf.
I am amazed! Thank you!
A fixed version is pending review, but until then, users updating to Firefox 22 will lose the use of this extension and can't manually "hack" it. Bummer.
If you want to try version 0.1.9.2 before Mozilla completes its review, it's available on the "versions" page: https://addons.mozilla.org/firefox/addon/print-pages-to-pdf/versions/
Installed the add-on, version 0.1.9.2, and seems to work like charm on ff 22 and even on the newest Aurora 24. etc. A happy man thanking!
The gentleman is correct about the newer unapproved version. Please see: https://addons.mozilla.org/en-US/firefox/addon/print-pages-to-pdf/versions/
Firefox will complain for second about not being approved. But it works.