Re: Printing *huge* files via compressed pipe ?
>>>>> "Dean" == Carpenter, Dean <Dean.Carpenter@pharma.com> writes:
[big print jobs using all the bandwidth]
Dean> The jobs themselves are just postscript - plain ascii. So I'm
Dean> thinking I can set up a Linux box as a local printer at site 1,
Dean> pipe the print job through gzip which should cut it down to less
Dean> than 1/10 the size, ship across the T1 to another Linux box at
Dean> the printer site which ungzips it and sends it to the printer or
Dean> print-server.
Dean> Any ideas ? We are pressed for time here :(
How about using magicfilter?
At the luser end of the line, have the Postscript recipes in your
magicfilter use gzip as a filter, and just have the printcap entry
point to the print queue on the printserver on the printer end of the
line.
At the printer end of the line, just use a "normal" magic filter; all
the example filter scripts show how to get it to recognise incoming
gzipped data then unzip it and deal with the results.
I've never tried anything like this, but I don't see why it wouldn't
work.
--
Gilbert Laycock email: gtl1@mcs.le.ac.uk
Maths and Computer Science, http://www.mcs.le.ac.uk/~glaycock
Leicester University phone: (+44) 116 252 3902
Reply to: