Skip to main content

cannot send fax due to image width

Posted by remiq on Fri, 09/10/2010

When a pdf files gets converted sometimes the image width is not getting set right. According to Digium's documentation the width should be :

864, 1024, 1216, 1728, 2048, 2432, 2592, 3072, 3456, 3648, 4096, or 4864

The pdf that got converted to tiff had a size of 1122, this caused the fax to fail. Anyway we can change the size when converting?


Submitted by eeman on Fri, 09/10/2010 Permalink

this is the command we execute..

gs -q -dNOPAUSE -dBATCH -sDEVICE=tiffg4 -sPAPERSIZE=letter -sOutputFile=

the size set to letter should resolve the issue, are the pdf not in letter format when they get started?

Submitted by remiq on Mon, 09/13/2010 Permalink

The PDF does look to be in letter size, but the tiff's width is not within specs according to Digium. The width size came out to 1122. I see in their documentation they suggest using this command:

gs -q -dNOPAUSE -dBATCH -sDEVICE=tiffg4 -sPAPERSIZE=letter -g1728x2150 -sOutputFile=

But warn that using -g option with PDF files smaller than letter size should be avoided since it will enlarge smaller PDFs.

Submitted by eeman on Tue, 09/14/2010 Permalink

I'd like to see this editable somewhere, maybe instances.txt or somewhere else. So that different regions can set different papersizes as easily as they set codecs and timezones.