Skip to main content
Tweeted twitter.com/askdifferent/status/842260671232389120
added 3 characters in body
Source Link
Victor Domingos
  • 1.4k
  • 2
  • 9
  • 11

I am currently developing an application in Python that will run on Macs and will need to print PDF files. In the past I have managed to send PDF files to printer automatically by using some commands in a bashBash script. However, I never found a way to specify one printer, it would always send it right into the currently selected printer (usually the last used one).

Does anyone know if there any way to launch the Preview application from command line, or any other way to preview and choose printers before actually printing?

I am currently developing an application in Python that will run on Macs and will need to print PDF files. In the past I have managed to send PDF files to printer automatically by using some commands in a bash script. However, I never found a way to specify one printer, it would always send it right into the currently selected printer (usually the last used one).

Does anyone know if there any way to launch the Preview application from command line, or any other way to preview and choose printers before actually printing?

I am currently developing an application in Python that will run on Macs and will need to print PDF files. In the past I have managed to send PDF files to printer automatically by using some commands in a Bash script. However, I never found a way to specify one printer, it would always send it right into the currently selected printer (usually the last used one).

Does anyone know if there any way to launch the Preview application from command line, or any other way to preview and choose printers before actually printing?

Source Link
Victor Domingos
  • 1.4k
  • 2
  • 9
  • 11

How to choose printer from command line or from a Python application?

I am currently developing an application in Python that will run on Macs and will need to print PDF files. In the past I have managed to send PDF files to printer automatically by using some commands in a bash script. However, I never found a way to specify one printer, it would always send it right into the currently selected printer (usually the last used one).

Does anyone know if there any way to launch the Preview application from command line, or any other way to preview and choose printers before actually printing?