Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rawilk\Printing\Receipts\ReceiptPrinter Not Working #50

Closed
beiaduo opened this issue Jan 21, 2023 · 1 comment
Closed

Rawilk\Printing\Receipts\ReceiptPrinter Not Working #50

beiaduo opened this issue Jan 21, 2023 · 1 comment
Labels
bug Something isn't working stale No activity for a while

Comments

@beiaduo
Copy link

beiaduo commented Jan 21, 2023

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
@beiaduo beiaduo added the bug Something isn't working label Jan 21, 2023
@github-actions
Copy link
Contributor

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.

@github-actions github-actions bot added the stale No activity for a while label Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale No activity for a while
Projects
None yet
Development

No branches or pull requests

1 participant