rawilk / laravel-printing

Direct printing for Laravel apps.
https://randallwilk.dev/docs/laravel-printing
MIT License
438 stars 71 forks source link

Rawilk\Printing\Receipts\ReceiptPrinter Not Working #50

Closed beiaduo closed 1 year ago

beiaduo commented 1 year ago

Laravel Printing Version

v3.0.0

Laravel Version

v9

Print Driver

PrintNode

Bug description

$receipt = (string) (new ReceiptPrinter) ->centerAlign() ->text('My heading') ->leftAlign() ->line() ->twoColumnText('Item 1', '2.00') ->twoColumnText('Item 2', '4.00') ->feed(2) ->centerAlign() ->barcode('1234') ->cut();

// Now send the string to your receipt printer Printing::newPrintTask() ->printer($receiptPrinterId) ->content($receipt) ->send();

Steps to reproduce

just copy code

Relevant log output

job ID :2989074766
github-actions[bot] commented 1 year ago

This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days.