jordanbyron/prawn-labels

Request - Ability to use :page_layout => :landscape with my label documents

engunneer opened this issue · 2 comments

I'm running into a strange issue combining prawn-labels and prawn-qrcode. If I use the vertical_text option to write my labels sideways, something gets hosed in the print_qr_code method. I think having landscape paper will solve my issue, Most pdf readers will auto-rotate the paper for printing back to the right orientation.

Hi @engunneer!

That should be an easy fix. We can add an extra key to the options passed through to Prawn::Labels#initialize, probably called :document which gets passed down to Prawn. Is that something you'd be comfortable doing? I can help you out if you aren't sure where to start.

Thanks 😄

Jordan

See #16 for the ongoing conversation