# Precision multi-page printing

**URL:** <https://www.ruby-forum.com/t/precision-multi-page-printing/175579>\
**Category:** Rails\
**Created:** [September 15, 2009, 11:27pm UTC](https://www.ruby-forum.com/t/precision-multi-page-printing/175579 "2009-09-15T23:27:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![craigrails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c2a13f/32.png) [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Post date:** [September 15, 2009, 11:27pm UTC](https://www.ruby-forum.com/t/precision-multi-page-printing/175579/1 "2009-09-15T23:27:19Z")

</div>

I am at a point where I will need to print checks in an application.

I guess the best way to describe this is that I am using pre-printed  
checks and that I want to hit the prescribed areas with my text output.

Should I be doing something like PDF output like pdf-writer or other or  
can I possibly do this with html and css?

My output will be check runs of many checks with 1 page per check.

Any suggestions will be appreciated.

Thanks

Craig

–  
This message has been scanned for viruses and  
dangerous content by MailScanner, and is  
believed to be clean.

---

<div class="post-metadata">

**Author:** ![craigrails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c2a13f/32.png) [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Post date:** [September 15, 2009, 11:42pm UTC](https://www.ruby-forum.com/t/precision-multi-page-printing/175579/2 "2009-09-15T23:42:26Z")

</div>

Craig W. wrote:

> I am at a point where I will need to print checks in an application.
> 
> I guess the best way to describe this is that I am using pre-printed  
> checks and that I want to hit the prescribed areas with my text output.
> 
> Should I be doing something like PDF output like pdf-writer or other or  
> can I possibly do this with html and css?

You will probably want to generate a PDF file. Prawn is very easy to  
use for PDF generation; try that first. If Prawn won’t do what you  
want, perhaps Prince (expensive) or one of its free competitors (Flying  
Saucer, wkhtmltopdf) is worth a try.

> My output will be check runs of many checks with 1 page per check.
> 
> Any suggestions will be appreciated.
> 
> Thanks
> 
> Craig

You’re welcome!

> –  
> This message has been scanned for viruses and  
> dangerous content by MailScanner, and is  
> believed to be clean.

Please stop appending this to your messages.

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![craigrails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c2a13f/32.png) [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Post date:** [September 18, 2009, 4:05pm UTC](https://www.ruby-forum.com/t/precision-multi-page-printing/175579/3 "2009-09-18T16:05:28Z")

</div>

On Tue, 2009-09-15 at 23:42 +0200, Marnen Laibow-Koser wrote:

> use for PDF generation; try that first. If Prawn won’t do what you
> 
> You’re welcome!

* * *

I just wanted to say thanks again Marnen, prawn was perfect and was  
simple enough to use, even in it’s still immature state. I also needed  
an old plugin called numbersToWords for the checks but that seems to  
work fine in 2.3.2 so I am good and now all I have left is to write the  
code to post the changes to the legacy db (AP and GL).

I am rocking - thanks

Craig

–  
This message has been scanned for viruses and  
dangerous content by MailScanner, and is  
believed to be clean.
