🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4058

Re: How to print a large ps file?.

#4058
From: Rob Quinn
Date: Wed, 11 Nov 1992 22:11
48 lines
2986 bytes

 Disclaimer: This is what I know (believe) for SunOS. Your actual setup may
vary.

In <1992Nov10.193426.25560@cs.wayne.edu> nar@usha.cs.wayne.edu (Nagarajan Ramesh) writes:
>Well, the memory on my printer is limited to 300000 bytes.  Therefore, 
>when I send a postscript file from my workstation to my printer, 
>there is not enough room to copy the whole file onto it. The error
>message I get is 
>lpr: temp.ps: copy file is too large

 There are two different size limits here. The error message you are seeing
is for the size of the file on the UNIX machine. When you print a file, it
copies it first, and then prints it. Usually it copies it to somewhere in
/var/spool (but see your /etc/termcap to be sure). If the printer is remote,
then it copies it to the remote machine first, and then the remote machine
prints it. What you are seeing is an error message about the size of the file
that can be copied to the spool directory. Since it was never copied, nothing
was ever sent to the printer.

>One could use a symbollic link (lpr with the -s option) on SUN OS, wherein
>instead of copying the file, a link is created and therefore the printer
>memory is not a limit - atleast in theory.

 The symbolic link means that the file is not copied to the spool directory,
but printed straight from the source. The same number of bytes will still be
sent to the printer. If you are using a remote printer, the -s option will not
work. If you are still getting 'lpr temp.ps: copy file is too large' even with
-s, you might try to login to the remote print server and print the file there
using -s. To tell if a printer is remote, look in the /etc/termcap for an
'rp=machinename' entry for the printer you are using. If the printer is not
remote, and -s doesn't help, then I don't know.

 Once you do manage to send the large file to the printer you might still hit
a printer memory limit. In that case, refer to some of the earlier postings
about cutting up PS files.

>But again, apparently there
>is a limit even for this kind of operation. So, then my question is 
>- how do I print the large postscript file?.

 Login to the printserver
 lpr -s filename
--
|                                                                Rob Quinn |
|                                                         rjq@phys.ksu.edu |
|                                                    QuinnBob@KSUVM.BITNET |
Technical Details
Message-ID: <1ds0feINNq9c@moe.ksu.ksu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!emory!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!phys.ksu.edu!rjq
References: <1992Nov9.223322.27775@cs.wayne.edu> <1dn7brINNdjq@gap.caltech.edu> <1992Nov10.193426.25560@cs.wayne.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!emory!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!phys.ksu.edu!rjq
From: rjq@phys.ksu.edu (Rob Quinn)
Newsgroups: comp.lang.postscript
Subject: Re: How to print a large ps file?.
Message-ID: <1ds0feINNq9c@moe.ksu.ksu.edu>
Date: 11 Nov 92 22:11:58 GMT
Article-I.D.: moe.1ds0feINNq9c
References: <1992Nov9.223322.27775@cs.wayne.edu> <1dn7brINNdjq@gap.caltech.edu> <1992Nov10.193426.25560@cs.wayne.edu>
Organization: Kansas State University
Lines: 48
NNTP-Posting-Host: bohr.phys.ksu.edu