Skip to content

Instantly share code, notes, and snippets.

@rafabn rafabn/url2pdf.js
Created Aug 18, 2009

What would you like to do?
names: ["pdf", "url2pdf"],
icon: "",
description: "Print web page to pdf.",
help: "Select a url then print it to pdf.",
author: {name: "Rafael Bezerra", email: ""},
license: "GPL",
homepage: "",
arguments: [{role: 'object', nountype: noun_arb_text}],
preview: function preview(pblock, args) {
pblock.innerHTML = "Send to pdf this <b>" + args.object.html + "</b> web page.";
execute: function savePageToPDF(args) {
var pURL = "" + args.object.text;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.