From 2b64c75011e542f3ae3fce80f32bb849b9f60d7c Mon Sep 17 00:00:00 2001 From: Randall Wilk Date: Wed, 15 Jul 2020 14:45:28 -0500 Subject: [PATCH] 1.1.4 --- CHANGELOG.md | 5 +++++ README.md | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0479ec3..2acd204 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to `laravel-printing` will be documented in this file. +## 1.1.4 - 2020-07-15 + +### Fixed +- Return the job id of a new print job with PrintNode [#1](https://github.com/rawilk/laravel-printing/issues/1). + ## 1.1.3 - 2020-07-09 ### Changed diff --git a/README.md b/README.md index ca8ba91..990c1fa 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,12 @@ Laravel Printing allows your application to directly send PDF documents or raw t 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. ```php -Printing::newPrintTask() +$printJob = Printing::newPrintTask() ->printer($printerId) ->file('path_to_file.pdf') ->send(); + +$printJob->id(); // the id number returned from the print server ``` Supported Print Drivers: