Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Printing to any printer from Classic' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Printing to any printer from Classic
Authored by: father2a-f on Oct 18, '04 01:55:57PM
Now I just need to figure out how to make it print 3 copies of each image.
Try setting Copies: to 3 in the Classic app's print dialog and then click the Save Settings button at the lower left corner. It will keep that copies settings until you change it and re-save. I tested it right now and it printed 3 copies of an item through a legacy app and the default OS X printer using the following folder action script:

on adding folder items to this_folder after receiving added_items
        repeat with each_item in added_items
                tell application "Printer Setup Utility" to open each_item
                delay 5
                tell application "Finder" to delete each_item
        end repeat
end adding folder items to
I had the Finder delete the file so that it would clean up after itself. Also, thank you and Dave Howell for this hint. I've been looking for just a solution.

[ Reply to This | # ]
Printing to any printer from Classic
Authored by: snarke on Oct 28, '04 05:25:01PM
You're welcome. :) I posted it when I happened to trip across this hint and thought "I'm doing it a different way that's not so Unix-y. I guess there are some other people who might want to hear about it."

Note that you can also print from an OS9-only computer this way. You have to AppleShare the print folder on an OSX-machine. So you save the .ps/.pdf file across the network to the Folder Action'ed folder on the OSX computer, and off you go.

Finally, the reason I have the .ps to .pdf code is that when I first wrote the script, I was running Jaguar, sharing my DeskJet, and unaware of the GIMP printing drivers, and a .ps file wouldn't print. I couldn't test to see if it was still necessary because not only am I running Panther now, but I also have GhostScript installed and a lot of other non-standard stuff (for the TeX typesetting system, in this case), and what worked for me might not work for other people. I found a reference somewhere that Jaguar had "pstopdf," and I figured better safe than sorry.

[ Reply to This | # ]