Not all the APIs are shareable and also there are some core logic involved for which internal libs are required.
You can follow the steps given in this link to run the print service locally.
Link: How build and deploy only Partner Print Service component - #4 by sanchi-singh24
1 Like