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: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,12 @@ Laravel Printing allows your application to directly send PDF documents or raw t
9
9
to a printer on your local network. Receipts can also be printed by first generating the raw text via the `Rawilk\Printing\Receipts\ReceiptPrinter` class, and then sending the text as a raw print job via the `Printing` facade.
10
10
11
11
```php
12
-
Printing::newPrintTask()
12
+
$printJob = Printing::newPrintTask()
13
13
->printer($printerId)
14
14
->file('path_to_file.pdf')
15
15
->send();
16
+
17
+
$printJob->id(); // the id number returned from the print server
0 commit comments