Printing JPEG directly from Jitter_Avoid Dialog box

blaketurner's icon

Hello,
I am trying to do 2 things:

1.) avoid the dialog box prompted with the "exportimage" message to jit.qt.grab. I would just like the image to save to a folder on its own.

2.) print the saved image to my inkjet.

any help would be greatly appreciated.

blake

spokeNine's icon

You can specify a filepath and name after the word "exportimage" in the message box. If you don't, jit.qt.grab has to open a dialog box to know where and with what name to save the image.

If your filenames are variable, feed the names to a $1 in place of the filename in the exportimage message.

I don't know about sending images to a printer, but knowing Max, there's a way. However, I'd be careful about teaching Max to print automatically while nobody's around. Seriously, printer jams in the middle of the night can be a messy job for the first person in the office in the morning.

blaketurner's icon

Thanks spokeNine and good call on the printer jam.

Rob Ramirez's icon

if you are on a mac, you can use the shell or aka.shell externals and print with the "lp" terminal utility.
http://desk.stinkpot.org:8080/tricks/index.php/2008/09/print-from-the-command-line-in-mac-os-x/

blaketurner's icon

Exactly Robert. I found that same link in my search only a couple hours ago. I haven't been able to direct the "exportimage jpeg" to a file path. Any advice?

Blake

blaketurner's icon

I have both shell and aka.shell externals but I cannot figure out the command lines for printing an image from the desktop. I tried lp "my/file/path/*.jpg" but no luck. thanks in advance

blake

Rob Ramirez's icon
Max Patch
Copy patch and select New From Clipboard in Max.

the following worked for me. obviously you have to change the path and printer name:

blaketurner's icon

Robert,
thanks very much. Worked like a charm!

blake