Create a printer which will convert what it get to image files, powered by ipp-printer.
Install package to global will be easy to use it:
npm install print-to-image -g
print-to-image [-t IMAGE TYPE] [-d TARGET DIRECTORY] [-r RESOLUTION RATE]
- -t: Convert based on gm.
- -r: It will multiple of source resolution.
Just run it before you print and setup printer follow ipp-printer