Path: utzoo!attcan!uunet!crdgw1!rpi!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!peter From: peter@sugar.hackercorp.com (Peter da Silva) Newsgroups: comp.sys.amiga Subject: Re: Printer icon (was: Why is everyone bitching about Workbench) Message-ID: <6933@sugar.hackercorp.com> Date: 30 Oct 90 12:57:31 GMT References: <35239@cup.portal.com> <6895@sugar.hackercorp.com> <15446@cbmvax.commodore.com> <400@ra.abo.fi> Reply-To: peter@sugar.hackercorp.com (Peter da Silva) Organization: Sugar Land Unix - Houston Lines: 16 [how does the printer program know how to print a file] > real answer is of course that only the application that created it > (and perhaps a few other programs) knows it. The only information > available is the Default Tool in the icon that belongs to the file. First cut: it's easy enough to tell if a file is ASCII text or IFF FORM, so start out with print-text and print-ILBM options. If these checks fail look up DefaultTool in s:printer.rc. It should have a format like: TOOL Deluxe Snail launch work:applications/deluxe_snail/snailprint send 'print format=standard' to REXX 'snailprint' END -- Peter da Silva. `-_-' .