🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5960

Re: Printing images much faster!

#5960
From: Mustafa Kocaturk
Date: Wed, 16 Dec 1992 22:35
37 lines
2276 bytes
In article <1992Dec14.161405.19667@midway.uchicago.edu> epc1@midway.uchicago.edu writes:
>
>
>After converting some X images to Postscript, I sent the Postscript files
>to the laser printer.  Each images took more than 10 minutes to print!
>
>As I would like to do this consistently, is there anything I can do
>to speed the process of printing these images?  Can I convert
>to some other format which would speed up the printing of these images?
>Will PS2 do anything for me?  Can I get a faster printer?
>
>What can I do???   I would like to get the printing time to under 2 minutes.
>

The bottleneck may be your data connection to the printer.

To reduce the amount of data transferred approximately tenfold,
I suggest that you use a perl script posted in September by
Steve Parker, parker@mps.ohio-state.edu.

It compresses postscript image files using run-length encoding.
It inserts a decompression function just before the compressed image data
in the output file.  The printer uses this function to decompress the
compressed image code it receives and generates the original image.

The decompression takes time of course, but it varies according
to the processing power of the printer and is significantly shorter
especially if your printer connection is a low speed, serial one.

I had to play with the perl script to make it work with postscript output
obtained from `xv', and the result was a nearly tenfold reduction in
the file size for a medium sized picture with moderate detail.

Kind regards,
-- 
Mustafa Kocaturk   mustafa@seas.smu.edu  EE Dept., Room 305A, Caruth Bldg.
Home: 214-706-5954  Office: 214-768-1475  SMU Box 753190, Dallas, TX 75275
Technical Details
Message-ID: <1992Dec16.223548.3023@seas.smu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!seas.smu.edu!mustafa
References: <1992Dec14.161405.19667@midway.uchicago.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!seas.smu.edu!mustafa
From: mustafa@seas.smu.edu (Mustafa Kocaturk)
Subject: Re: Printing images much faster!
Message-ID: <1992Dec16.223548.3023@seas.smu.edu>
Summary: run-length encoding compression of postscript images
Keywords: compression perl
Sender: news@seas.smu.edu (USENET News System)
Nntp-Posting-Host: rapid_f.seas.smu.edu
Organization: SMU - School of Engineering & Applied Science - Dallas
References: <1992Dec14.161405.19667@midway.uchicago.edu>
Date: Wed, 16 Dec 1992 22:35:48 GMT
Lines: 37