Hey Andy,<div><br></div><div>If you are trying to print an A4 bit of paper you need to make sure you use a borderless printer otherwise it'll scale the full A4 PDF down a little. </div><div><br></div><div><a href="http://cl.ly/3w2B3v303v2x3A3Z0r0G">http://cl.ly/3w2B3v303v2x3A3Z0r0G</a> as even with selecting 'Fill Entire Page' it's still scaled to 94% as seen above that.</div>
<div><br></div><div>Try selecting A4 borderless in the paper size settings <a href="http://cl.ly/1u3H25001Z1P063t2M2x">http://cl.ly/1u3H25001Z1P063t2M2x</a> that way as you can see it'll scale to 100% when you select 'Fill Entire Page' <a href="http://cl.ly/3M3X202M2G2o0W2s3W2z">http://cl.ly/3M3X202M2G2o0W2s3W2z</a></div>
<div><br></div><div>If you don't have a borderless printer you can reduce the size of your PDF document to the area printable by your printer (will have to look up printer specs online) and create a custom paper size.</div>
<div><br></div><div>(I've had countless battles with this when I used to study graphic design)</div><div><br></div><div><br clear="all"><a href="http://twitter.com/3en">http://twitter.com/3en</a><br><a href="http://benreyes.com">http://benreyes.com</a><br>
<br><br><div class="gmail_quote">On 2 November 2011 09:25, Andrew Stewart <span dir="ltr"><<a href="mailto:boss@airbladesoftware.com">boss@airbladesoftware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hola El Rug,<br>
<br>
This isn't a Ruby question but I'm sure somebody here will know the answer...<br>
<br>
I am generating PDFs programatically to print sticky labels. When I view the PDFs on screen everything aligns correctly. But when I print, the PDF always seems to be scaled or shifted off-centre vertically which scuppers my sticky labels.<br>
<br>
I have tried fiddling with the scale settings (in Preview on OS X), so far without joy.<br>
<br>
This must be possible -- can anybody please help? I'll bung an Amazon voucher your way / get you something off your wishlist if you can solve this.<br>
<br>
I've put a test PDF up here: <a href="https://github.com/airblade/pdf-print" target="_blank">https://github.com/airblade/pdf-print</a><br>
<br>
Thanks in advance,<br>
<br>
Andy Stewart<br>
<br>
-------<br>
<a href="http://airbladesoftware.com" target="_blank">http://airbladesoftware.com</a><br>
_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</blockquote></div><br></div>