Operating System Not Supported
Semurak opened this issue · comments
Stefan Bauer commented
Hey, I have to create another issue, because I'm not able to reopen Issue #354.
import { getDefaultPrinter } from "pdf-to-printer";
getDefaultPrinter().then(console.log);
I'm on Ubuntu 22.04 LTS.
semurak@ubuntu: uname -a
Linux ubuntu 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
semurak@ubuntu: lpstat -lp
printer HP_Officejet_4630_series_68408C is idle. enabled since Mi 27 Apr 2022 00:00:32 CEST
Form mounted:
Content types: any
Printer types: unknown
Description: HP_Officejet_4630_series_68408C
Alerts: none
Location:
Connection: direct
Interface: /etc/cups/ppd/HP_Officejet_4630_series_68408C.ppd
On fault: no alert
After fault: continue
Users allowed:
(all)
Forms allowed:
(none)
Banner required
Charset sets:
(none)
Default pitch:
Default page size:
Default port settings:
artiebits commented
Hi!
Pdf-to-printer works on Windows only. I say about it in the readme, and in the issue #354 that you mentioned.
If you are looking for a utility that will work on Unix-like operating systems, then take a look at https://github.com/artiebits/unix-print.
I hope it helps you!