image_printer_model#

file.image_printer_model(p0: str) int#

Set the target printer for a PCL image file.

Args:
p0:

‘printer’

  • One of:

  • LaserJet

  • LaserJet_+

  • LaserJet_500+

  • Laser Jet_II

  • LaserJet_IIp

  • LaserJet_III

  • LaserJet_4

  • LaserJet_4L

  • DeskJet_500

  • DeskJet_500c

  • DeskJet_550

  • DeskJet_550c

  • DeskJet_1200c

Examples:
ensight.file.image_format("pcl")
ensight.file.image_printer_model("DeskJet_1200c")
ensight.file.image_file("/tmp/test_image")
ensight.file.save_image()
Returns:

zero on success, non-zero on error