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: strunx on Oct 13, '04 08:57:48AM

OK, this seems to work:

on adding folder items to PrintFolder after receiving FilesToPrint
-- FilesToPrint will contain a list of file references to the added items
repeat with TheFile in FilesToPrint
set FileInfo to info for TheFile
tell application "System Events" to set FilePath to POSIX path of TheFile
do shell script "lpr -l " & FilePath
repeat while (busy status of (info for TheFile))
delay 1
end repeat
tell application "Finder" to delete TheFile
end repeat
end adding folder items to

I use a MIO internal 10/100 printserver and have the plotter setup in Print Center as default using either HP or GimpPrint provided ppd's.

I guess this could be helpful for folks with missing DesignJet drivers as well. Just set up the Printer using IPP and its IP adress.



[ Reply to This | # ]