🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4845

Re: Question: How do I print a large PS file?

#4845
From: Tom Schneider
Date: Mon, 25 Feb 1991 15:30
34 lines
2298 bytes
In article <1991Feb22.160550@sunburn.Viewlogic.COM> seg2@sunburn.Viewlogic.COM (Seg Consultant) writes:
>I have a large (> 1 Meg.) postscript file that I would like to print on
>an Apple Laserwriter IINT.  It comes back with the message -- "lpr: <filename>:
>copy file is too large" -- and prints out only part (1 Meg?) of the file.
>In terms of pages it prints out 52 of 58.  Is there an easy (or otherwise)
>way of printing the remaining pages?  Or a way to break-up the file into
>smaller-sized files?

The -s option of lpr creates a symbolic link to the file.  This may solve
your problem.  It may also be faster because lpr wouldn't need to copy the
file.  Here's a bit of our (unix) man page for lpr:

     -s             Create a symbolic link from the spool area to
                    the  data  files  rather  than trying to copy
                    them (so large files can be  printed).   This
                    means  the  data files should not be modified
                    or removed  until  they  have  been  printed.
                    This  option  can be used to avoid truncating
                    files larger than the maximum given in the mx
                    capability of the printcap(5) entry.  -s only
                    prevents copies of  local  files  from  being
                    made.  Jobs from remote hosts are copied any-
                    way.  -s only works with named data files; if
                    the  lpr command is at the end of a pipeline,
                    the data is copied to the spool.

>Thanks,
>_shankar_

  Tom Schneider
  National Cancer Institute
  Laboratory of Mathematical Biology
  Frederick, Maryland  21702-1201
  toms@ncifcrf.gov
Technical Details
Message-ID: <2076@fcs280s.ncifcrf.gov>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!europa.asd.contel.com!sura.net!haven!ncifcrf!fcs260c2!toms
References: <1991Feb22.160550@sunburn.Viewlogic.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!europa.asd.contel.com!sura.net!haven!ncifcrf!fcs260c2!toms
From: toms@fcs260c2.ncifcrf.gov (Tom Schneider)
Newsgroups: comp.lang.postscript
Subject: Re: Question:  How do I print a large PS file?
Message-ID: <2076@fcs280s.ncifcrf.gov>
Date: 25 Feb 91 15:30:55 GMT
References: <1991Feb22.160550@sunburn.Viewlogic.COM>
Sender: news@ncifcrf.gov
Organization: NCI Supercomputer Facility, Frederick, MD
Lines: 34