Open joshinat0r opened 6 months ago
First of all, thanks for creating this crate, saved me a bunch of time already.
But the example from the readme isn't working properly if you give it a printer id.
await print_file({ id: "idfromlistprinter", path: 'F:/path/to/file.pdf', })
The print always gets send to the default printer, regardless of the id passed through.
The issue seems to be the ==, right now it only sets -print-to if the printer id is empty.
==
-print-to
First of all, thanks for creating this crate, saved me a bunch of time already.
But the example from the readme isn't working properly if you give it a printer id.
The print always gets send to the default printer, regardless of the id passed through.
The issue seems to be the
==
, right now it only sets-print-to
if the printer id is empty.