Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!know!news.cs.indiana.edu!att!pacbell.com!ucsd!ucbvax!ANDREW.CMU.EDU!tpn+ From: tpn+@ANDREW.CMU.EDU (Tom Neuendorffer) Newsgroups: comp.soft-sys.andrew Subject: Re: Questions about printing... Message-ID: Date: 4 Feb 91 18:42:14 GMT References: <9102030836.AA04305@frob.eng.umd.edu> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 31 Excerpts from mail: 3-Feb-91 Questions about printing... Chris P. Ross@eng.umd.ed (1216) > First, I need to get andrew printing. If I execute the command: > ezprint -t | groff | qpr > it will print. (we are running MDQS here, which is the cause of most > of the problems...) I'd like to know how to get both EZ and HELP to > use this command. Is there any way to do this? If you want this permanent and site wide, you can define the following in your site.h file. #define print_FORMATCOMMAND "eqn -T$PRINTERTYPE /tmp/%s.n | groff | " #define print_PRINTCOMMAND "qpr" If qpr takes a flag to indicate the file name for a header page, you could set it as #define print_PRINTCOMMAND "qpr -(qprflag) %s" Alternately, these value may be set in either the AndrewSetup file or in the global or personal perference files by setting values for *.printcommand and *.formatcommand. e.x. *.printcommand: qpr *.formatcommand: eqn -T$PRINTERTYPE /tmp/%s.n | groff | Tom