Open
Bug 100571
(mozprinter)
Opened 25 years ago
Updated 3 years ago
Provide command-line functionality to convert a file/URL directly to PDF/PS/other printer output (html2printer)
Categories
(Core :: Printing: Output, enhancement)
Tracking
()
NEW
People
(Reporter: asp, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 2 obsolete files)
|
148.98 KB,
patch
|
Details | Diff | Splinter Review |
html2ps is a program that converts HTML to PostScript. However, it's ancient,
and doesn't do a very good job. Mozilla could provide a way to convert the HTML
from a URL to PS so that it could be used as a general filter for printing, or
making PDF's.
Comment 1•25 years ago
|
||
Reporter: Do you want some other functionality than is possible from print to
file? Are you looking for the ability to run mozilla from the commandline and do
something like:
mozilla --htmltops test.html test.ps
And not even have a GUI involved?
Severity: normal → enhancement
| Reporter | ||
Comment 2•25 years ago
|
||
Yeah, that command line was the idea.
The person I assigned it to asked me in #mozilla that I add it to bugzilla, so
hopefully he still remembers. :)
Comment 3•25 years ago
|
||
The functionaliy is AFAIK already present in mozilla-viewer... but I did not had
the time yet to investigate how it exactly works...
> so hopefully he still remembers. :)
I do, I do. :)
Currently I try to catch up and answer all emails&co. which came in while I was
sick... - sorry for the delay ;-/
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•24 years ago
|
||
CC:'ing rods who said that viewer is dead beef.
rods:
Any idea how we can create a standalone html2ps converter without the need to
open any windows ?
Updated•24 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P5
Target Milestone: --- → mozilla1.1
Comment 5•24 years ago
|
||
Start it with
% nice -n 19 ./run-mozilla.sh /opt/SUNWspro/FD
7/bin/dbx -c 'run -np -C -Prt 2 -o /tmp/Xp_tmp/ http://bugzilla.mozilla.org/'
./mozprinter
to crawl througth all pages of http://bugzilla.mozilla.org/ and print them...
Comment 6•24 years ago
|
||
Just call it with
- % ./run-mozilla.sh ./mozprinter $URL
or
- % ./run-mozilla.sh ./mozprinter -f file_with_urls_to_print.txt
Example:
./run-mozilla.sh ./mozprinter http://www.mozilla.org/
Updated•24 years ago
|
Attachment #67689 -
Attachment is obsolete: true
Comment 8•24 years ago
|
||
Attachment #71128 -
Attachment is obsolete: true
Updated•24 years ago
|
Target Milestone: mozilla1.1alpha → mozilla1.1beta
Target milestone has passed. How can we help to get this in the trunk?
Comment 10•24 years ago
|
||
This functionality is of big importance if Mozilla is to be used as a
print (PDF)-server. I'd like to point that out here, because
"html2ps functionality" might seem a bit too cryptic to recognize the importance
of this bug or to even find it in the database. I had to search a lot
to finally find it. Could someone perhaps add the words "print server" and
"prepress" to the summary?
Updated•23 years ago
|
Alias: mozprinter
No longer blocks: 188478
Summary: Mozilla should provide html2ps functionality → Mozilla should provide html2printer functionality
Updated•23 years ago
|
Target Milestone: mozilla1.1beta → mozilla1.4beta
Comment 11•23 years ago
|
||
*** Bug 68721 has been marked as a duplicate of this bug. ***
Comment 12•22 years ago
|
||
Is this bug/enhancement still seeing active work? It looks like a working patch
was provided but never it made into the trunk. Is there something that can be
done to get things moving again?
Comment 13•22 years ago
|
||
Comment 14•22 years ago
|
||
Please keep this project alive.
There is a serious lack of backend tools for html->ps or html->pdf conversion,
especially tools that support CSS and client-side generated content. Mozilla
does this wonderfully when printing in the client, but the GUI and user
interaction is not always desired. Mozprinter would be a wonderful tool to have
on the backend.
Comment 15•22 years ago
|
||
Barnabas Wolf wrote:
> Please keep this project alive.
This all depends on whether the webshell/tests/viewer/ codebase will be alive in
the next few milestones.
Comment 16•22 years ago
|
||
in my opinion mozprinter makes sense as a separate tool. The convolutons a2ps
went through with netscape 4.77 were klugey. Something that is a drop-in
replacement for html2ps but that uses the current gecko should, imo, be a simple
matter of linking in the library and reading its reference documentation.
For instance I am worried (not having played with it yet) that the
interface described at
http://www.mozilla.org/projects/embedding/embedapiref/embedapi9.html#1148946
is going to "bring up a print dialog" rather than rendering postscript.
The tool would hopefully be pretty short and would use frozen gecko interfaces only.
Comment 17•22 years ago
|
||
david nicol wrote:
> The tool would hopefully be pretty short and would use frozen gecko interfaces
> only.
That's only wishfull thinking. You have to use a bunch of non-frozen interfaces
for printing anyway... that's unavoidable right now and for the forseeable
future.
Target Milestone: mozilla1.4beta → Future
Comment 18•22 years ago
|
||
*** Bug 5702 has been marked as a duplicate of this bug. ***
Comment 19•22 years ago
|
||
*** Bug 244261 has been marked as a duplicate of this bug. ***
Comment 20•22 years ago
|
||
I'm keen on getting my hands on this utility. Is mozprinter available in the
mozilla distribution?
Comment 21•21 years ago
|
||
*** Bug 300295 has been marked as a duplicate of this bug. ***
Comment 22•20 years ago
|
||
*** Bug 270582 has been marked as a duplicate of this bug. ***
Comment 23•20 years ago
|
||
For the record, I needed this functionality and went ahead and quickly hacked something up, using xulrunner:
http://michele.pupazzo.org/mozilla2ps/
It's obviously no substitute for a decent integrated solution, but it does help meanwhile.
Comment 24•20 years ago
|
||
*** Bug 331122 has been marked as a duplicate of this bug. ***
Comment 25•20 years ago
|
||
wow, lots of duplicates, duplicates of duplicates, plenty of votes, and promises to work on it dating back to 1999, and it's still only P5? i think those factors indicate that this job should be a much higher priority.
Comment 26•20 years ago
|
||
Seven bugs filed in seven years (one of the dupes is from 1999) really isn't that much for a feature. Making printing from the browser work properly takes a vastly higher precedence than building a way of automating printing on linux, at least in a limited-resource world.
Comment 27•20 years ago
|
||
there are at least as many duplicates of duplicates, and i certainly wasn't trying to claim that this is higher priority than some specific other task. keeping this issue P5 means to me it will never be gotten to. i obviously can't direct the use of moz developers' resources, just want to disagree with the prioritization here.
Comment 28•20 years ago
|
||
I can certainly "fix" the P5... Roland isn't going to fix this (viewer is dead anyway), so resetting everything.
Assignee: roland.mainz → printing
Status: ASSIGNED → NEW
Priority: P5 → --
QA Contact: sujay
Target Milestone: Future → ---
Google for "gnome-web-photo gnome-web-print". I don't know how well it works right now but it's the way to go.
In fact, arguably this bug could be closed now that gnome-web-print exists.
Comment 31•20 years ago
|
||
What would it take for that to get into the mozilla tree?
Do we really want that in the Mozilla tree?
Comment 33•20 years ago
|
||
I can't speak to the code quality, but it seems like useful, frequently requested functionality.
Comment 34•17 years ago
|
||
The fact that gnome-web-print exists does not mean that this bug should be closed any more than the fact that Internet Explorer exists means that Firefox development can be halted. Just because someone else is doing something does not mean that Mozilla cannot do it better.
Comment 35•17 years ago
|
||
I want to add "student-project" to the keywords but the keywords input is not active for this bug, so I'm adding this comment instead.
Updated•17 years ago
|
Assignee: printing → nobody
QA Contact: printing
Comment 36•16 years ago
|
||
gnome-web-print seems to require an X server, so it is not a real alternative for server side HTML->PS conversion.
Comment 37•13 years ago
|
||
Possible work around for those missing this feature: wkhtmltopdf (http://code.google.com/p/wkhtmltopdf/), command line print plugin (https://sites.google.com/site/torisugari/commandlineprint2).
Updated•10 years ago
|
Summary: Mozilla should provide html2printer functionality → Provide command-line functionality to convert a file/URL directly to PDF/PS/other printer output (html2printer)
Updated•4 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•