HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Problem attach pdf in email and send by hylafax



Hi

I tried those step and I been able to send pdf and doc attachment by
email.

Make sure you can use /bin/bash. On my BSD box, I have to change it to
/bin/sh. Second, try to run the application/pdf itself, something like
pdf somefile.pdf and see if you can get ps output on the screen.
Try to run "/usr/bin/gs -q -sPAPERSIZE=a4 -dBATCH -dNOPAUSE -r600x800 
-sDEVICE=pswrite -sOutputFile=- somefile.pdf" and see if you can get
standard output.

The filter.pl just delete the last showpage in the output. So make sure
the application/pdf is working fine.


ALex




On Tue, 14 Feb 2006 13:22:39 +0100
Rocío Vázquez Furelos <rvazquez@xxxxxxxxxx> wrote:

> Hi all,
> 
> firstly, sorry for my English, it's no very good.  I'll try to explain
> me.
> 
> I want sent an email with attach pdf.  In this list I found many emails
> that they provide a form to do it.  I follow this
> http://groups.google.com/group/fa.hylafax/browse_frm/thread/f8d8016139813dfb/542bd626cef35039?lnk=st&q=%2Fusr%2Flocal%2Ffaxscripts&rnum=1&hl=es#542bd626cef35039
> 
> I was able to send a fax and receives the text of the email but the data
> of the pdf no.
> 
> I changed gs version by 7.07 but i get same error, could someone help
> me?
> 
> I get this error:
> 
> Your facsimile job to nº_fax was not sent because document conversion 
> to facsimile failed.  The output from the converter program was: 
> 
> 
> Error: /nocurrentpoint in --show-- 
> Operand stack: 
>  --nostringval-- 
> Execution stack: 
>  %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 
> 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 
> %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 % 
> oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 
> %stopped_push --nostringval-- --nostringval-- 
> Dictionary stack: 
>  --dict:1122/1686(ro)(G)-- --dict:0/20(G)-- --dict:81/200(L)-- 
> --dict:98/117(L)-- 
> Current allocation mode is local 
> Last OS error: 2 
> ESP Ghostscript 815.01: Unrecoverable error, exit code 1 
> 
> 
> Check any PostScript documents for non-standard fonts and invalid 
> constructs 
> 
> 
>     ---- Unsent job status ---- 
> 
> 
>      Destination: 981160468 
>            JobID: 38 
>          GroupID: 38 
>           Sender: =?ISO-8859-1?Q?Roc=EDo_V=E1zquez?= Furelos 
>         Mailaddr: rvazq...@xxxxxxxxxx 
>   Submitted From: localhost 
>       Page Width: 209 (mm) 
>      Page Length: 296 (mm) 
>       Resolution: 98 (lpi) 
>           Status: Error: /nocurrentpoint in --show-- 
> Operand stack: 
>  --nostringval-- 
> Execution stack: 
>  %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 
> 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 
> %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 % 
> oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 
> %stopped_push --nostringval-- --nostringval-- 
> Dictionary stack: 
>  --dict:1122/1686(ro)(G)-- --dict:0/20(G)-- --dict:81/200(L)-- 
> --dict:98/117(L)-- 
> Current allocation mode is local 
> Last OS error: 2 
> ESP Ghostscript 815.01: Unrecoverable error, exit code 1 
> 
> 
>          Dialogs: 0 (exchanges with remote device) 
>            Dials: 0 (consecutive failed calls to destination) 
>            Calls: 0 (total phone calls placed) 
>            Pages: 0 (pages transmitted) 
>         TotPages: 0 (total pages to transmit) 
>         Attempts: 0 (attempts to send current page) 
>           Dirnum: 0 (directory of next page to send) 
> 
> 
>     ---- Documents submitted for transmission ---- 
> 
> 
> The following documents were submitted for transmission and are 
> available on the server for reuse until they are automatically 
> purged when this job is removed.  Documents may also be manually 
> removed using the faxrm command; consult faxrm(1) for information. 
> 
> 
> Filename                 Size Type 
> docq/doc38.ps.38       139446 Unknown document type 
> 
> Thanks.
> 




____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions