image_printer_command#

file.image_printer_command(p0: str) int#

Specify the printer command to use when printing an image to a printer

You can print an image straight to a printer only if the printer can properly interpret the image file. Many printers will, for example, properly print a postscript file. Printing a PICT file, however, will usually result in multiple pages of non-printable characters.
Args:
p0:

‘command’ printer command used to print the image

Examples:
ensight.file.image_format("postscript")
ensight.file.image_to_file("OFF")
ensight.file.image_to_printer("ON")
ensight.file.image_printer_command("lpr -Pcolor")
ensight.file.save_image()
Returns:

zero on success, non-zero on error