Path: utzoo!attcan!uunet!lll-winken!elroy.jpl.nasa.gov!sdd.hp.com!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!haven!wam!charlie From: charlie@wam.umd.edu (Charles William Fletcher) Newsgroups: comp.sys.next Subject: Re: Landscape mode and dvips Keywords: dvips, landscape Message-ID: <1991Jan28.133349.18006@wam.umd.edu> Date: 28 Jan 91 13:33:49 GMT References: <1991Jan26.161740.16610@batcomputer.tn.cornell.edu> Sender: usenet@wam.umd.edu (USENET Posting) Reply-To: charlie@wam.umd.edu (Charles William Fletcher) Distribution: na Organization: University of Maryland at College Park Lines: 38 In article <1991Jan26.161740.16610@batcomputer.tn.cornell.edu> finn@batcomputer.tn.cornell.edu (Lee Samuel Finn) writes: >I'm trying to print on the NeXT laser printer a tex document in >landscape mode. The documentation for dvips indicates that the way to do this >is > >% dvips -t landscape dvifilename > >However, when I do this my cube thinks for a while (as dvips does its >stuff, near as I can see correctly) and then an alert panel from >"Printing" springs up with the error message "Couldn't print file >because of malformed PostScript Error: undefined; OffendingCommand: >landscape". > >Has anyone any experience with this? I've checked NeXTAnswers, as well >as the online technical documentation with no success. I'd appreciate >hearing from anyone who has had this problem and anyone who has found >a way around it. > >Thanks, > >Sam Finn Yes, there is a minor "bug" (depending on you view) in the PS file in that the landscape mode is defined as '@landscape'. I notified Rokicki and he gave me two working procedures-- Either give the -t option as @landscape as in dvips -t @landscape dvifilename Or (probably the way it is indended to work), put the line \special{landscape} in your file. This is the documented method--see the dvips man page. -Charlie