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] faxcover.ps working for sendfax but not Cyphe us



Well, Bodo was kind enough to have a look at my cover page and after running
the PostScript (destined to HylaFax) through GhostView, it produced a
somewhat slightly more informative error:

Unrecoverable error: typecheck in search
Operand stack:
       300  -93  1783

--- Begin offending input ---

--- End offending input ---
file offset = 37899
gsdll_execute_cont returns -20

<<

As Bodo observed also, as soon as I remove the Postscript code to do
BreakIntoLines, everything works (but of course no comments).

The code I'm using (which works with sendfax but not Cypheus), is as
follows:

/linewidth 1783 def
/lineheight -93 def
/y 1517 def /x 300 def
linewidth lineheight x y comments BreakIntoLines

For whatever reason, when used with Cypheus, it produces the above error.

I will be the first to admit to being a Postscript novice so if anybody else
has any ideas, I'd certainly appreciate it.  The cover page is located at
http://members.home.net/vmsguy/faxcover.ps


Thanks.



-----Original Message-----
From: Curtis Rempel 
Sent: May 14, 2001 4:11 PM
To: 'alan'
Cc: 'hylafax-users@hylafax.org'
Subject: RE: [hylafax-users] faxcover.ps working for sendfax but not
Cypheus


Yes, you're right - faxcover does fill in the required variables.  However,
according to the author of Cypheus who has contacted me privately, Cypheus
does the same thing.  He has kindly requested a copy of my cover page to see
if it can be reproduced on his system.

Curtis

-----Original Message-----
From: alan [mailto:alan@pair.com]
Sent: May 14, 2001 7:29 AM
To: Curtis Rempel
Cc: 'hylafax-users@hylafax.org'
Subject: Re: [hylafax-users] faxcover.ps working for sendfax but not
Cypheus


I think the faxcover.ps as it is, isn't really a proper .ps document.
I think you need to run the executable "faxcover" on it to fill in
some blanks, etc. to create a full postscript page which could be sent
directly to a printer, for example.  

I know nothing about Cypheus, so if it's doing this, then I'm sorry I
don't have anything else to suggest.

Alan

On Fri, 11 May 2001, Curtis Rempel wrote:

> So now I have comments working on the custom cover page and the cover page
> itself works great using sendfax.
> 
> However, if I use the Cypheus client, I get "%%[ Error: typecheck;
> OffendingCommand: search ]%%" 
> 
> For whatever reason, faxcover.ps in /usr/local/lib/fax works great for
> sendfax, but when I ftp it (binary or ascii) to my PC and have Cypheus use
> it as the cover page, I get this error:
> 
> Your facsimile job to 9,7504505 was not sent because document conversion
> to facsimile failed.  The output from the converter program was:
> 
> %%[ Error: typecheck; OffendingCommand: search ]%%
> AFPL Ghostscript 6.50: Unrecoverable error, exit code 1
> /bin/cat: write error: Broken pipe
> 
> 
> Check any PostScript documents for non-standard fonts and invalid
> constructs.
> 
>     ---- Unsent job status ----
> 
>    Destination: 9,7504505
>          JobID: 20
>        GroupID: 20
>         Sender: curtis
>       Mailaddr: curtis.rempel@corp.shaw.ca
> Submitted From: 10.0.12.74
>     Page Width: 210 (mm)
>    Page Length: 297 (mm)
>     Resolution: 98 (lpi)
>         Status: %%[ Error: typecheck; OffendingCommand: search ]%%
> AFPL Ghostscript 6.50: Unrecoverable error, exit code 1
> /bin/cat: write error: Broken pipe
> 
>        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/doc20.cover            0 PostScript cover page
> docq/doc31.ps.20            0 PostScript
> 
> 
> 
> 
> ____________________ HylaFAX(tm) Users Mailing List
_______________________
>  To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org <
/dev/null
> 


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions