You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advanced-usage/receipts.md
+26-25
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ $receipt = (string) (new ReceiptPrinter)
51
51
The package's ReceiptPrinter implementation is actually a wrapper around the `Mike42\Escpos\Printer` class. Most method calls are forwarded to that class if they are not found on the `ReceiptPrinter`. Some methods have also been added to make interacting with it more convenient.
52
52
53
53
### Methods
54
+
54
55
<hr>
55
56
56
57
#### centerAlign
@@ -75,52 +76,52 @@ Right align any new text.
75
76
76
77
Set the left margin for any new text. The unit for the margin will be `dots`.
77
78
78
-
| param | type | default |
79
-
| --- | --- | --- |
80
-
|`$margin`| int | 0 |
79
+
| param | type | default |
80
+
| ---------| ----|------- |
81
+
|`$margin`| int | 0|
81
82
82
83
<hr>
83
84
84
85
#### lineHeight
85
86
86
87
Set the line height for any new text. The unit for the line height will be `dots`. Use `null` or omit the `$height` parameter to reset the line height to the printer's defaults for any new text.
0 commit comments