Date: Tue, 28 Jan 1997 17:04:08 +0200 (IST) From: Eli Zaretskii To: Burton Radons/Lothloriel cc: djgpp AT delorie DOT com Subject: Re: Printing info pages In-Reply-To: <32ee8984.505639@library.airnews.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 28 Jan 1997, Burton Radons/Lothloriel wrote: > In the info command list, it states that 'INFO_PRINT_COMMAND' should > be set to the command you wish to use to print (invoked: M-x > print-node). How should I set that to print to a file/device? It > says it would pipe it to the command, but I didn't seem to get > anything from info... my test command was 'copy con lpt1', and similar > output of the copy con to a file produced nothing as well. If you use > just 'lpt1' it'll try to invoke it as a command, and hence doesn't > work. "copy con lpt1" won't work, because it reads the CON device rather than the (redirected) stdin. If you have a DOS port of `cat', write a batch file which says "cat > prn" and set INFO_PRINT_COMMAND to point to the pathname of that batch file. If you don't have `cat', the easiest way to set this up is to write a trivial program which reads from stdin and writes to stdprn. Compile that program, point INFO_PRINT_COMMAND to it, and you are all set up. > Also, can you change how Info links input to command? For example, so > I could set C-p to print-node? You can't, unless you change the sources and rebuild Info. (Do you really need to print the nodes so frequently?) > And finally, could someone direct me to the Info source? Get v2gnu/txi390s.zip from the same place you got the binary distribution.