A Cautionary Tale


This may well be one of those anomalies that will never be a problem to anybody else, but if it does then they may well be pleased not to spend too much time pulling their hair out.

I was asked to create a small app for a client to store and submit images of products they had for sale in a database and they wanted to be able to select either a single item (1 per page) or multiple items (4 per page) and then email them to prospective purchasers.

This was going to be so easy thanks to the email facility in V5 and I elected to use PDF files for the output. One important criteria was that the PDF files had to be as small as possible as, apparently, there are still poor under privileged people out there using dial up 56kb modems. Imagine my disappointment when a PDF that only contained a very small amount of text and a 40kb image came out at 130kb. I then tried re compressing the image which got it down to 25kb but still the PDF was 130kb.

Much cursing and tearing of hair ensued and then in desperation I took a look at the PDF driver that Alpha installs on your system by right clicking on it in the printers folder and looking at its properties.



It was then that I spotted the tab marked Image Compression and when I clicked on this tab I discovered it was set to Default. I then changed it to the value shown below and lo and behold my PDFs shrank before my eyes.



Like I said, a rather obscure problem and remedy, but one that might be of use to somebody, sometime. Bob Whitaker




Bob Whitaker is an Alpha Five developer from deep in the heart of England. Bob has been using Alpha products since 1990 and has developed applications for the Funeral Industry, market research operations, and jewelry wholesaling. When not at a keyboard, Bob likes to travel, play tennis and sail boats.