<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Html2ps on Karpoke - Just Another Blog</title><link>http://karpoke.ignaciocano.com/tags/html2ps/</link><description>Recent content in Html2ps on Karpoke - Just Another Blog</description><generator>Hugo -- 0.159.0</generator><language>es</language><lastBuildDate>Mon, 28 Feb 2011 13:47:00 +0100</lastBuildDate><atom:link href="http://karpoke.ignaciocano.com/tags/html2ps/index.xml" rel="self" type="application/rss+xml"/><item><title>html2pdf = html2ps + ps2pdf</title><link>http://karpoke.ignaciocano.com/2011/02/28/html2pdf-html2ps-ps2pdf/</link><pubDate>Mon, 28 Feb 2011 13:47:00 +0100</pubDate><guid>http://karpoke.ignaciocano.com/2011/02/28/html2pdf-html2ps-ps2pdf/</guid><description>&lt;p&gt;Un buen comando para &lt;a href="http://www.atareao.es/ubuntu/conociendo-ubuntu/convetir-un-sitio-web-a-pdf-en-ubuntu/"&gt;convertir una web a PDF&lt;/a&gt;, idóneo para sitios con
documentación pero que ésta sólo está disponible &lt;em&gt;online&lt;/em&gt;. Por ejemplo:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;$ html2ps -W b http://www.vala-project.org/doc/vala/ | ps2pdf - out.pdf
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Con la opción &lt;code&gt;-W b&lt;/code&gt; le decimos a &lt;code&gt;html2ps&lt;/code&gt; que siga sólo los enlaces
que están en el mismo directorio, o a partir de él,
respecto a la ruta proporcionada.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Cool HTML Codes" loading="lazy" src="http://karpoke.ignaciocano.com/images/cool-html-codes-300x225.jpg"&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Fuente: &lt;a href="http://www.techpin.com/"&gt;techpin.com&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Podemos crear un alias que reciba dos parámetros, la URL y el nombre que
queremos ponerle al PDF:&lt;/p&gt;</description></item></channel></rss>