title: html2ps - How do I print small labels?
body: <p>I've been working with html2ps to get some text only labels to print correctly on a Dymo 450 Labelwriter printer.  According to <a href="http://www.tufat.com/docs/html2ps/faq.html#css-media" rel="nofollow">this page</a> you should be able to resize the page using CSS.  Here's the CSS I tried (in an external file and also tried it inline):</p>
  
  <pre><code>  @page {
        size: 28mm 85mm landscape;
        margin: 0mm;
    }
  </code></pre>
  
  <p>But the output postscript continues to be letter size.   I was also able to do scaling using html2ps' -s option, but the margins are still so great that no text prints (just a blank label comes out)</p>
  
  <pre><code>html2ps -s .3 -L &lt;url&gt;
  </code></pre>
  
  <p>What can I do to get margins to zero and an output of the correct page size?</p>
  
  <p>Here's a sample of the input html:</p>
  
  <pre><code>&lt;div&gt;Code: &lt;b&gt;SNHN1&lt;/b&gt;&amp;nbsp;&amp;nbsp; PO: &lt;b&gt;035718&lt;/b&gt;&amp;nbsp;&amp;nbsp;ln: &lt;b&gt;1&lt;/b&gt;&lt;br&gt;Desc: &lt;div&gt;US15 4" SOLID BRASS NO. 1 (SNHN1)******* HOUSE NUMBER SATIN NICKEL "1"&lt;br&gt;&lt;/div&gt;Remarks: &lt;b&gt;## CUSTOMER NAME 01/13&lt;/b&gt;&lt;br&gt;&lt;div&gt;Vendor: HARDWARE COMPANY ETC...&amp;nbsp;&amp;nbsp; Rcvd: date and time...&lt;/div&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Also it appears html2ps is not respecting inline:</p>
  
  <pre><code>page-break-after:always;
  </code></pre>
  
  <p>Thanks for your help.  I should also mention that I'm printing using lp from an ubuntu print server.</p>