Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!dog.ee.lbl.gov!ucsd!sdcc6!sdcc13!rkim From: rkim@sdcc13.ucsd.edu (Suro) Newsgroups: comp.os.msdos.apps Subject: Re: WordPerfect and postscript files Message-ID: <18911@sdcc6.ucsd.edu> Date: 2 May 91 07:17:57 GMT References: Sender: news@sdcc6.ucsd.edu Organization: University of California, San Diego Lines: 78 In article fechuny@aix01.aix.rpi.edu (felix chung yau) writes: > > Hello. I am having some problems printing a postscript file and was >wondering if anyone could help me. > [stuff deleted, obviously] That's really strange. I never had problems like that, and I also use sun (running sunos 4.1) and also this vax (running 4.3) I'm writing this article from. I also use Moke v1.1 and use jenscript and print from the sun, attached to apple laserwriter without any problems. The sun is, among its activities, a server to 5-6 (I forget how many) pc's running pc-nfs, and all connected via ethernet and connected to the main campus. To print wp ps files on this machine, I use a small program provided by the system operaters called wplaser (see below): ---------------------------CUT-------------------------------------- #!/bin/sh # # wplaser # # This script is for MS-DOS WordPerfect PostScript files. # A "%!PS-Adobe-" is added to the start of each file. # Writes to standard output. # 2 Sept 87 # # Modification History # KHE October, 1987 UCSD. Coverted from csh to sh and # added filename error checking # stdinput=0 # initialize flag if [ $# -gt 0 ] # check for arguments (file names) then filelist=$* else cat > /tmp/wplaser$$ # otherwise read from std input filelist=/tmp/wplaser$$ stdinput=1 # set flag on fi for file in $filelist do if test -r $file then # Add a %!PS-Adobe to the head of each file. echo %\!PS-Adobe- | cat - $file | tr -d '\004' else # filename was bad echo "$0: cannot access $file" 1>&2 fi if test $stdinput -eq 0 then shift # shift right to next argument else exit 0 # exit after 1 file (std input) fi done # end of for-do loop exit 0 # normal exit ---------------------CUT----------------------------------------- I do believe there is something going wrong when you transfer your wp file to your unix machine. -- Robert W. Kim rkim@ucsd.edu University of California, San Diego. kimbob@ucsd.edu "I'd love to go out with you, but I have to floss my cat."