Path: utzoo!attcan!uunet!mcvax!inria!irisa!decouty From: decouty@irisa.UUCP (Bertrand Decouty) Newsgroups: comp.text Subject: Re: are you tired of this question yet? Keywords: LaTeX, TeX, Dvi2ps, Macintosh, LaserPrep Message-ID: <819@irisa.UUCP> Date: 24 Nov 88 09:42:41 GMT References: <8811120047.AA06427@garnet.berkeley.edu> <249@laas.laas.fr> Organization: I.R.I.S.A., Rennes, Fr Lines: 55 In article <249@laas.laas.fr> ralph@laas.laas.fr (Ralph P. Sobek) writes: |> print either. E.g., I used |> |> macfilter PostScript0 | lpr -Plw |> | |I've gotten this to work. Basically my macfilter, would prepend a slightly |edited version of `LaserPrep', Mac's adorable file. To run from Unix, some |of the privileged initializations have to be removed. Then you just |have your macfilter send out the modified LaserPrep and your |PostScript0 file should be generated by command-F (only the file in Yes, but the two laserprep (the one used by macfilter and the one used on the mac) MUST have the same revision/version number. I have succeeded in printing, using lpr, a macdraw file with laserprep 4.0 ( appledict version #65). Only one line has to be commented, the one calling ok procedure. |> I feel that if I can just get the file to print using lpr then I can |> get it to print in my latex document (I'm already including postscript |> stuff in my latex file that I made with Poskanzer's pbm programs). | |Unfortunately, my conclusion for now is IMPOSSIBLE. The best that |I've been able to do is to get a Mac image inserted in LaTeX on a page |by itself, with no control left to dvi2ps to number or title the page. |I still haven't been able to eliminate the `showpage' command that's |hidden under LaserPrep's `cp' command. I believe that the problem |requires an expert of LaserPrep and PostScript. | |If anybody has succeeded I'd love to hear about it. | |Ralph P. Sobek Disclaimer: The above ruminations are my own. Yes, I have! I used laserprep 4.0, a modified psfig (from Trevor Darrell), dvi2ps (or now dvips from Rockiki) and all is OK on our Laserwriter IINT. We work on Sun 3. Mac test file was a Macdraw file. To eliminate showpage action, insert: /showpage {} def This is done in psfig.pro (which works for all ps files, not only mac), together with a /cp {pop pop} bind def in dvi(2)ps.pro I can send you my stuff, you are not very far -)-) ----- Bertrand DECOUTY @ INRIA-IRISA (Centre de Rennes) ----- +------------------------------+----------------------------------------------+ | IRISA - INRIA | EMAIL : decouty@irisa.fr | | Campus de Beaulieu | | | F-35042 Rennes Cedex | UUCP : {uunet,mcvax,inria}!irisa!decouty | | FRANCE | decouty@irisa.UUCP | +--------------------------+---+--------------------+-------------------------+ | PHONE : +33 99 36 20 00 | TELEX : 950473 UNIRISA | FAX : +33 99 38 38 32 | +--------------------------+------------------------+-------------------------+