Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!labrea!jade!violet.berkeley.edu!campoly From: campoly@violet.berkeley.edu (Mr. Science) Newsgroups: comp.sys.mac Subject: Re: Mac files to Postscript printer Message-ID: <4989@jade.BERKELEY.EDU> Date: Fri, 4-Sep-87 03:37:09 EDT Article-I.D.: jade.4989 Posted: Fri Sep 4 03:37:09 1987 Date-Received: Sat, 5-Sep-87 17:09:29 EDT References: <880@hao.UCAR.EDU> Sender: usenet@jade.BERKELEY.EDU Reply-To: campoly@violet.berkeley.edu (Mr. Science) Organization: University of California, Berkeley Lines: 41 Keywords: Ethernet, macput, macget, UNIX In article <880@hao.UCAR.EDU> bill@hao.UCAR.EDU (Bill Roberts) writes: > > I was wondering if anyone knows how to transfer a file from a Mac to a >Postscript printer tied into an Ethernet. I've got macget and macput (I don't >recall which one does the uploading). I can upload a Mac file to UNIX and find >it broken down into three components: .rsrc, .info, .data. > It seems like it ought to be possible to recombine the forks and build a >Mac file in the UNIX environment and send that Mac file to a Postscript Laser >printer. > Has anyone done anything like this? Thanks for any input on this issue. > >--Bill If you're going to print out a file from the Mac, I assume that it is a text file and not a binary file (text file could be a PostScript program). In this case, you should use the -u option with macget (on UNIX, macget "gets" a file from the Mac, macput "puts" a file on to the Mac). This option specifies UNIX mode, which uploads a text file converting carriage returns into UNIX newline characters and giving the uploaded file a suffix of .text (you get just this one file). Procedure: On UNIX, enter the command macget -u On Mac, send file xxxx using MacTerminal protocol The file is uploaded to UNIX and is given the name xxxx.text More thoughts -- If you want to print a Mac document, you should first create a PostScript file on the Mac before uploading. (Hold down Command-F or Command-K while selecting OK from Print Dialog Box -- Command_k gives you the Laser Prep header in addition the stuff for your document). Make sure that your PostScript printer can handle a Mac PostScript program. The DataProducts Laser Printer that we have here has a PostScript Driver but can't handle Mac Stuff (seems that the Mac uses some special features relating to fonts that this printer doesn't support). Hope this helps. -- Greg