Steve Adams
New Member
- Joined
- Mar 12, 2014
- Messages
- 5
- Reaction score
- 0
Afternoon, all. Newbie here. Thanks in advance for your help. New install Green PIAF with IncredibleFAx and IncrediblePDX installed.
Bottom line:
I get an error: Page has no /MediaBox attribute. Using the current page size.\ Full error log below. I've attached my status-output.txt below.
I can send and receive faxes: .txt files and at least one .pdf file created by commercial tool (by someone else) with PDF version 1.6. I've attached it below: Placement-BHAC Auth Form UPDATED.pdf
Problem is when I try to send a pdf created "on the fly" by PHP with the libraries listed below, from what I can tell Hylafax thinks they are tiffs and tries to convert them to pdf and can't figure what it needs in the file? (I could be wrong on that.) These tools create documents in pdf version 1.4. Same with pdf's from print function on a mac and pdf's generated from word to pdf converters online. I don't own any Adobe tools.
An example of one that doesn't work is attached below: steve.pdf
Is Hylafax super picky about something in the pdf? Anyone else had this problem? They PDF's open fine in every pdf reader I've tried.
I'm using the following PHP libraries to make the PDF's:
http://www.setasign.com/products/fpdi/about/
http://www.mpdf1.com/mpdf/index.php
This sounded promising, but I can't find the file it suggested I modify:
http://sourceforge.net/p/hylafax/mailman/hylafax-users/thread/[email protected]/
This also sounded promising, but scarey to a newbie. I didn't know how to even check the current version of the ghostscript
http://pbxinaflash.com/community/index.php?threads/i-canna-get-a-fax-jim.14113/#post-90522
Thoughts? Thanks.
Full error from log:
03/11/14 22:30 UNSENT
20 "" [email protected] "+1855xxxxxxx" "" 0 0 0:00:00 0:00:00 "**** Page has no /MediaBox attribute. Using the current page size.\
Error: /stackunderflow in --run--\
Operand stack:\
--dict:7/7(L)-- 595.0 842.0 3\
Execution stack:\
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval--\
Dictionary stack:\
--dict:1158/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)-- --dict:75/200(L)-- --dict:106/127(ro)(G)-- --dict:286/300(ro)(G)-- --dict:21/25(L)-- --dict:2/6(L)--\
Current allocation mode is local\
GPL Ghostscript 8.70: Unrecoverable error, exit code 1\
Document is not valid TIFF (unspecified format error)\
" "" "" "" "maint" "" 0/0/0/0/12/0/3
1.4, 1.6
Bottom line:
I get an error: Page has no /MediaBox attribute. Using the current page size.\ Full error log below. I've attached my status-output.txt below.
I can send and receive faxes: .txt files and at least one .pdf file created by commercial tool (by someone else) with PDF version 1.6. I've attached it below: Placement-BHAC Auth Form UPDATED.pdf
Problem is when I try to send a pdf created "on the fly" by PHP with the libraries listed below, from what I can tell Hylafax thinks they are tiffs and tries to convert them to pdf and can't figure what it needs in the file? (I could be wrong on that.) These tools create documents in pdf version 1.4. Same with pdf's from print function on a mac and pdf's generated from word to pdf converters online. I don't own any Adobe tools.
An example of one that doesn't work is attached below: steve.pdf
Is Hylafax super picky about something in the pdf? Anyone else had this problem? They PDF's open fine in every pdf reader I've tried.
I'm using the following PHP libraries to make the PDF's:
http://www.setasign.com/products/fpdi/about/
http://www.mpdf1.com/mpdf/index.php
This sounded promising, but I can't find the file it suggested I modify:
http://sourceforge.net/p/hylafax/mailman/hylafax-users/thread/[email protected]/
This also sounded promising, but scarey to a newbie. I didn't know how to even check the current version of the ghostscript
http://pbxinaflash.com/community/index.php?threads/i-canna-get-a-fax-jim.14113/#post-90522
Thoughts? Thanks.
Full error from log:
03/11/14 22:30 UNSENT
20 "" [email protected] "+1855xxxxxxx" "" 0 0 0:00:00 0:00:00 "**** Page has no /MediaBox attribute. Using the current page size.\
Error: /stackunderflow in --run--\
Operand stack:\
--dict:7/7(L)-- 595.0 842.0 3\
Execution stack:\
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval--\
Dictionary stack:\
--dict:1158/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)-- --dict:75/200(L)-- --dict:106/127(ro)(G)-- --dict:286/300(ro)(G)-- --dict:21/25(L)-- --dict:2/6(L)--\
Current allocation mode is local\
GPL Ghostscript 8.70: Unrecoverable error, exit code 1\
Document is not valid TIFF (unspecified format error)\
" "" "" "" "maint" "" 0/0/0/0/12/0/3
1.4, 1.6