Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!wang!tegra!phillips From: phillips@tegra.COM (Steve Phillips) Newsgroups: comp.lang.postscript Subject: Re: psmagic Message-ID: <1151@io.tegra.COM> Date: 27 Jul 90 22:03:42 GMT References: Reply-To: phillips@io.UUCP (Steve Phillips) Distribution: comp Organization: Tegra-Varityper, Inc. Billerica, MA Lines: 41 In article ghenniga@nmsu.edu (Gary Hennigan) writes: > >I just downloaded a copy of PSMAGIC from terminator and think that it >is a great product! I can print out my .EPS files on almost any >dot-matrix with exact precision, however, when I try to print out a >full document, including the DEMO1.PS file that came with it I get an >error that basically says it doesn't understand the PS command "get". >This is very annoying since almost every PS file has this command in >it. > From your message, it sounds like you're getting the PostScript error "Error: UNDEFINED; OffendingCommand get." This error usually means that you're trying to get an unknown keyword from a dictionary, not that the PostScript interpreter doesn't understand the word "get." For example, if I say "userdict /hithere get" I'll get an UNDEFINED error unless someone has defined a keyword named "hithere" in userdict. In order to solve your problem, you need to figure out what keyword the program is trying to get from the dictionary. This will probably give you a clue to what's really going wrong. Try adding the following line to the start of your file: /get { (get: ) print dup == get } bind def and see what output you're getting from PostScript. This will print out the last argument passed to the get operator, which will be the keyword when you're doing a get from a dictionary. Hope this helps. Send me mail if I can help out any further... - Steve -- ============================================================================ Steve Phillips Tegra-Varityper, Inc. tegra!phillips@uunet.com Billerica, MA ============================================================================