Re: Is it possible to print from within yarn

From: Haakaa B. Furuseth (haakaa@online.no)
Date: Tue, 18 Aug 1998 15:11:46 +0200

I wrote:

>>I'm happy with the icon-based solution, because it lets me define a
>>format for the print in the program that is linked to my "txt"-files.
>>In that way I get proper margins etc.

John wrote:

>I don't understand this. I have WordPad and Word 7.0 on my system,
>and I understand how to make a shortcut to an executable file, but
>how does one make a shortcut that makes one of these programs print
>out a particular filename?

You have to associate the file-extention to the program that you want to
produce the print. The "txt"-extention may well be associated properly
on your system allready. Let's assume that for now. The following will
guide you through the process of making the necessary shortcuts.

The file shortcut:

1. Produce the textfile c:\print.txt by saving this Yarn-message.
2. Start Windows Explorer (WE) and rightclick on the file.
3. Select "make shortcut". The file "Shortcut to.." appears.
4. Select the shortcut and cut it to the clipboard.
5. Go to the folder or whereever you want the shortcut to be and paste
it by rightclicking in the folder and select "paste". There it is.

The printer shortcut:

6. Start Control Panel.
7. Doubleclick on "Printers".
8. Rightclick on the proper printer.
9. Follow step 3-5.

The print:

10. Drag the file-shortcut to the printer-shortcut and drop it. Voila!

Next time you want a print of a Yarn-message: Do step 1 and step 10.

IF NOTHING HAPPENS, you have to define the association between the
filetype and the printing program, but tell me if the above works first
please.. ;)

-- 
- HK (sign.) -