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

file method not working #49

Closed
dimdam opened this issue Jan 8, 2023 · 1 comment
Closed

file method not working #49

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

Comments

@dimdam
Copy link

dimdam commented Jan 8, 2023

Laravel Printing Version

v3

Laravel Version

9.46

Print Driver

CUPS

Bug description

I want to print a pdf file on a thermal printer which is installed on a raspberry pi using CUPS. I'm unable to do it so far . If i send it from iPhone or mac ,is printed successfully so i think the problem is elsewhere.

for example this :

Printing::newPrintTask()->printer(Printing::defaultPrinterId())->file('files/test.pdf')->send();

doesn't work. Every other method works (content,URL) as it should.

Edit: File method works with other files for example .jpg but not with .pdf file

@dimdam dimdam added the bug Something isn't working label Jan 8, 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 Jan 31, 2023
@github-actions github-actions bot closed this as completed Feb 8, 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