So you resolved your problem by yourself, I guess.
I quote similar discussion from old BBS for your information.
uzaemon@Japan
===========
00906/00906 AAA00000 Ermanno small PDF file
( 1) 05/06/22 03:03
TIFF2PDF with A4 parameter create a PDF file smaller than A4 even if starting TIFF file is in A4 format. In fact using AFPTOOL I got a correct PDF file
Only using these parameters :
TIFF2PDFOK TIFF('/home/fatt5.tif') PDF('/home/fatt80.pdf') PAPERSIZE(*USRDFN) USRSIZE(340 580) ORIENTAT(*V) MARGIN(0)
I can print an A4 but as part of a 340x580 PDF paper size.
Do you know the reason why the generated PDF file in not in A4 format ?
Can you help me ?
Thanks
Ermanno
------
00907/00907 AAA00000 uzaemon Re: small PDF file
( 1) 05/06/22 22:01 00906へのコメント コメント数:4
Ermanno,
> TIFF2PDF with A4 parameter create a PDF file smaller than A4 even if starting TIFF file is in A4 format. In fact using AFPTOOL I got a correct PDF file
> Only using these parameters :
> TIFF2PDFOK TIFF('/home/fatt5.tif') PDF('/home/fatt80.pdf') PAPERSIZE(*USRDFN) USRSIZE(340 580) ORIENTAT(*V) MARGIN(0)
> I can print an A4 but as part of a 340x580 PDF paper size.
> Do you know the reason why the generated PDF file in not in A4 format ?
> Can you help me ?
Can you send "fatt5.tif" to
uzaemon@nifty.com from
(removed)?
uzaemon@Japan
------
00908/00908 AAA00000 uzaemon Re^2: small PDF file
( 1) 05/06/26 17:25 00907へのコメント コメント数:3
Ermanno、
Thank you for your mail. I looked into the TIF file "FATT5.TIF" and I think TIFF2PDF is working as expected.
Size of "FATT5.TIF" is Width: 3968, Length: 3298 in pixel and there is "white space" area in right part of the file. You may use TIFFINFO program to confirm the information of the file.
Code:
> ADDLIBLE LIB(TIFFLIB)
Library TIFFLIB added to library list.
> CALL PGM(TIFFINFO) PARM('/tmp/fatt5.tif')
TIFF Directory at offset 0x1841e
Subfile Type: (0 = 0x0)
Image Width: 3968 Image Length: 3298
Resolution: 300, 300 pixels/inch
Bits/Sample: 1
Compression Scheme: CCITT Group 4
Photometric Interpretation: min-is-white
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 1
Rows/Strip: 3298
Planar Configuration: single image plane
Press ENTER to end terminal session.
TIFF2PDF scales the TIFF includeing the "white space", thus, you see small image in generated PDF file. See
http://homepage1.nifty.com/uzaemon/tiff2pdf_scale.gif for detail.
Please confirm followings:
- Why the "white space" exists? Is that what you specified by overlay, DDS keyword or printer file definition?
- Try generating other image format, for example using QWPGIF. Does that also have same "white space" area?
Waiting for your reply.
uzaemon@Japan
------
00910/00910 AAA00000 uzaemon Re^3: small PDF file
( 1) 05/06/28 07:22 00908へのコメント コメント数:2
Ermanno
> Wonderful. I changed my PRTF reducing line size from 132 to 81 characters and now TIF file is correct (that is A4 format).
>
> In this way I can create PDF files at no charge.
Good
<<< snip >>>
uzaemon@Japan
------