I have a PDF and want to print it. I can just open the standard PDF preview app on each OS, and the user prints from the there.... BUT this is nuts BECAUSE I dont knwo the PRINT Size or Format yet.
SO instead i want to do is what the Chrome team did. They open a Print Preview where when you change the Pint format ( SIze and Orientation and Colour), it calls the backend ( my golang code doing PDF's), and then outputs a new PDF.
Cant see anything in issues or code for this.
I have a PDF and want to print it. I can just open the standard PDF preview app on each OS, and the user prints from the there.... BUT this is nuts BECAUSE I dont knwo the PRINT Size or Format yet.
SO instead i want to do is what the Chrome team did. They open a Print Preview where when you change the Pint format ( SIze and Orientation and Colour), it calls the backend ( my golang code doing PDF's), and then outputs a new PDF.
SO i figure i can build a similar GUI to the one Chrome uses. But then i need to get the list of Printers and their Formats. Maybe https://github.com/google/cloud-print-connector ?