![]() |
Why not just pipe the postscript file to sendfax at the end of the perl script? At 9:21 AM +0100 7/8/98, Ralf Graefe wrote: >Hi there, > >ref.: Hylafax v 4.0pl2 On Linux kernel 2.0.33 >I want to EMail a Perl generated Postscript file with sendmail using >faxmail. I already printed it and also send it with sendfax without >problems so the Postscript code should be ok. > >I also can send several other Postscript files with faxmail without >problems. For sending I used the Perl MIME-tools and the Netscape >Communicator mail client as well. In the source of faxmail I saw that it >only looks for the MIME-type that was equally set correctly in ALL >tests. > >So what is actually happening?: > >First I see the following message in /var/log/messages: > >Jul 8 10:10:59 wintermute FaxQueuer[2876]: NOTIFY: bin/notify >"doneq/q72" "no_formatter" "" > > > >In the path /var/spool/fax/doneq I then have a file containing the >following error messages: > > >commid: >status:Unrecoverable error: invalidrestore in restore\ >Operand stack:\ > --nostringval-- --nostringval--\ >\ >Unexpected interpreter error -11.\ >Error object: (f80)op(37:restore)0x805e410\ >Operand stack at 0x815f9a4:\ >0x81673a4: 0x11 save --F------ 0x0428 0x00000009\ >0x81673ac: 0x11 save --F------ 0x0320 0x000001e2\ >Execution stack at 0x815f9f8:\ >0x8168d0c: 0x0f oper --F---e-- 0x0000 0x08071440 = %interp_exit\ >0x8168d14: 0x12 str --F-rxe-- 0x0000 0x00000000 = \ >0x8168d1c: 0x03 file --L-rxe-- 0x0001 0x08170548\ >0x8168d24: 0x0e null --F---e-- 0x0000 0x0807d9d0\ >0x8168d2c: 0x03 file --S-rxe-- 0x0001 0x08163270\ >0x8168d34: 0x0f oper --F---e-- 0x0000 0x0807d980 = %runexec_finish\ >0x8168d3c: 0x03 file --S-rxe-- 0x0001 0x08163270\ >0x8168d44: 0x05 mpry --G-rxe-- 0x000a 0x081ae9a0\ >0x8168d4c: 0x05 mpry --G-rxe-- 0x0039 0x0819f1ae\ >Dictionary stack at 0x815f920:\ >0x816953c: 0x02 dict --Gwrx--- 0x0000 0x0816968c\ >0x8169544: 0x02 dict --Gwrx--- 0x0000 0x081ae3f4\ >0x816954c: 0x02 dict --Lwrx--- 0x0000 0x0816e590\ > >Finally in the path /var/spool/fax/docq the corresponding file contains >my originally Postscript code wrapt in more Postscript. (By the way, >which tool generates those files anyway). > >So what is wrong here? > >Cheers Ralf! >-- >------------------------------------------ >ECRC Network Services GmbH >e-mail : ralf@ecrc.de >Tel.: 089/92699-259 >------------------------------------------