LPR/LPD setup: a way start printing before the job is received in full?

LPR/LPD setup: a way start printing before the job is received in full?

Post by Ostap Bende » Fri, 17 Jan 2003 16:26:39



    Hello everyone,

    I'm running a Slackware 7.0 (kernel 2.2.19) server to provide file and
print sharing to PC and Mac via LPD, Samba and Appletalk. It works, but
there's one inconvenience - large print jobs take a while to get tranferred
to the server before they start printing and sometimes they even threaten to
exhaust free disk space on the server (a while meaning - 15 minutes or more.
Something's screwed up with Acrobat Reader and some PDFs on Macs - it
creates 200Mb jobs out of 20 page documents and I can't fix it. The same PDF
from a PC makes a modest 6Mb job). Is there a way to make LPD send the job
to the printer as it's received? Or some other solution? Suggestions?

 
 
 

LPR/LPD setup: a way start printing before the job is received in full?

Post by stephan bea » Fri, 17 Jan 2003 20:00:58



> fix it. The same PDF from a PC makes a modest 6Mb job). Is there a way to
> make LPD send the job to the printer as it's received? Or some other
> solution? Suggestions?

The lpr docs suggest that:
...the print server will wait for the filter to exit before printing the
job.

This implies that no, you cannot do this, at least when your data is going
through any sort of filter (which it almost certainly is).

Before you look for solutions on this side of things, try changing the
print/output options on your MAC PDF generator. Perhaps it's trying to use
1200x1200 DPI, for example, which will certainly inflate the size
tremendously. Another alternative is to convert your PDF to PS and print
the PS file. Under the hood this is probably what is happening, anyway.

--
----- stephan beal
Registered Linux User #71917 http://counter.li.org
I speak for myself, not my employer. Contents may
be hot. Slippery when wet. Reading disclaimers makes
you go blind. Writing them is worse. You have been Warned.

 
 
 

LPR/LPD setup: a way start printing before the job is received in full?

Post by Ostap Bende » Sat, 18 Jan 2003 03:01:29



Quote:> This implies that no, you cannot do this, at least when your data is going
> through any sort of filter (which it almost certainly is).

    Really? It's a post-script data and a post-script printer. No filter
necessary.

Quote:> Before you look for solutions on this side of things, try changing the
> print/output options on your MAC PDF generator.

    Tried that. Didn't change a thing.

Quote:> Perhaps it's trying to use
> 1200x1200 DPI,

    Doesn't look that way. It only happens for some PDFs. It seems like it
prints them as images no matter what settings I use.

Quote:> tremendously. Another alternative is to convert your PDF to PS and print
> the PS file.

    Tried that (using GhostScript). Still the same thing.

    Any ideas?

 
 
 

1. Can lpr be made to start printing before job fully received..

I am sending jobs to a remote printer via a SLIP (31k)
line. On larger printouts, it could take 10-15 minutes
to be received. Is there anyway of having lpr start
sending as the file is being received, so there isn't that
delay?

The sending machine is a Digital Unix 3.2c machine with
The receiving machine is a linux slackware 2.0.30 machine.

Please post & email.

Thank you,
George Gallen

2. Subscribe

3. SVR4 doesn't print my LPD print jobs

4. STB PowerGarph 64 Video w/ XF86

5. Printing: lpd loses print jobs

6. klibc for 2.5.59 bk

7. lpd stops sending queued print jobs to remote Print Server.

8. how to get kerneld to load the serial module?

9. Has lpd/lpr been fixed for lpr -p ?

10. LPR/LPD printing from NT to AIX

11. lpr/lpd indefinite printing of banner page

12. Cannot print : no lpr, printcap, lpd ....

13. lpr/lpd prints banner pages indefinitely