[comp.sys.mac] Mac files to Postscript printer

bill@hao.UCAR.EDU (Bill Roberts) (09/04/87)

  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

UUCP: {hplabs, seismo, nbires, noao}!hao!bill
CSNET: bill@ncar.csnet
ARPA: bill%ncar@CSNET-RELAY.ARPA
INTERNET: bill@hao.ucar.edu

  "... the Eagle Wing palace of the Great ChinaCat"

campoly@violet.berkeley.edu (Mr. Science) (09/04/87)

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

hallett@macbeth.steinmetz (Jeff R Hallett) (09/04/87)

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.

Don't really need to.  If you use 'macget -u' to upload, it will not
break the file into the three "forks".  Your PostScript file is ASCII
anyway, so this doesn't matter.


Jeffrey A. Hallett               (hallett@ge-crd.arpa   hallett@desdemona.uucp)
Software Technology Program
General Electric Corporate Research and Development

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"The needs of the few outweigh the needs of the many"

                                 -- Kirk  (STIII)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Disclaimer: I  do not guarantee the validity  of the content, meaning,
or nature of anything in  this  message as my  own  sanity may  be  in
doubt.   My employer doesn't  either and   probably  won't admit  they
employ me if called.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~