auto print

OK, OK, I am finally seeing at least one problem. When going to the shell, the POSIX path of a file must be used:

set abc to (choose file) as Unicode text
printFile(abc)

to printFile(ftp)
	set Print_er to "Deskjet_5400_series"
	set file_to_print to POSIX path of ftp
	try
		do shell script "lpr -P " & quoted form of Print_er & " " & quoted form of file_to_print
	end try
	display dialog "yep"
end printFile

This still has my printer in it, so put in your printer(s), select a file, and test it out. It still does not work for a string, however.

yay, that worked. thx. now to figure the rest out.