We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29f1320 commit f6f7f85Copy full SHA for f6f7f85
README.md
@@ -76,7 +76,6 @@ Receipts.default_font = {
76
}
77
```
78
79
-
80
### Options
81
82
You can pass the following options to generate a PDF:
@@ -130,6 +129,15 @@ Here's an example of where each option is displayed.
130
129
131
See [the Prawn docs](https://prawnpdf.org/api-docs/2.3.0/Prawn/Text.html#text-instance_method) for more information.
132
+
133
+##### Page Size
134
135
+You can specify a different page size by passing in the `page_size` keyword argument:
136
137
+```ruby
138
+receipt = Receipts::Receipt.new page_size: "A4"
139
+```
140
141
### Internationalization (I18n)
142
143
You can use `I18n.t` when rendering your receipts to internationalize them.
0 commit comments