Skip to content

CUPS Printer driver unable to print #3

Closed
@rezuankassim

Description

@rezuankassim

Description

Unable to print via CUPS driver, getting 'A non-numeric value encountered'

$printers = Printing::printers();

Printing::newPrintTask()
    ->file(public_path('sample.pdf'))
    ->printer($printers->first()->id())
    ->send();

Screenshot 2020-09-04 at 5 39 40 PM

Screenshot 2020-09-04 at 5 42 21 PM

Steps to reproduce

  1. Used CUPS driver to print

Context

  • Laravel Printing version: 1.2.0
  • Laravel version: 7.27.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions