HylaFAX The world's most advanced open source fax server

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

Re: Modem does not support doc. Page Width



>>>>> "Francesc" == Francesc Guasch <frankie@etsetb.upc.es> writes:

    Francesc> Francesc Guasch wrote:
    >>  I just isntalled flexfax in a recent version of linux
    >> slackware and I couldn't send faxes from winflex, I got the
    >> following error:
    >> 
    >> Modem does not support document Page Width
    >> 
    >> I've read the faq and found somewhere that I should use an
    >> older version of ghostscript.
    >> 
    >> I had flexfax running in another older linux so I used that
    >> older slakware CDs for installing that ghostscript, but it kept
    >> telling me that error. What can I do ?  The modem is a cheap
    >> internal modem with jumpers , It works great connecting to
    >> internet and send faxes from the command line.
    >> 
    >> The flexfax version is the latest p2 I found in the binary ftp
    >> from sgi. It's linux-2.0.35. the clients are windows 98 , I
    >> tried the apple laserwriter and the QMS printers.
    >> 
    >> I searched the docs from gs looking for a way to tell it not to
    >> put the PageWidth.  I also tried to substitute gs for a perl
    >> program that filters the PageWidth line and pipes the output to
    >> the real gs but it doesn't work.  What can I do ?

    Francesc> I've been following your advises and I tried an older
    Francesc> version of ghostscript. Neither 3.33 nor 2.6.2
    Francesc> worked. It keeps telling me : Modem does not support
    Francesc> document Page Width.

Francesc,

	I have not been following this thread, but it sounds like a
problem I had quite some time ago. Here is a previous post:

Hope it helps,

	Andy
Return-Path: <owner-flexfax-outbound@celestial.com>
Received: from tekbspa.tibco.com (tekingate) by yoshiko.tibco.com (4.1/SMI-4.1)
	id AA09168; Tue, 15 Apr 97 07:53:47 JST
Received: from flash.tibco.com by tekbspa.tibco.com (4.1/SMI-4.1)
	id AA29976; Mon, 14 Apr 97 15:53:06 PDT
Received: by flash.tibco.com (4.1/1.37)
	id AA14371; Mon, 14 Apr 97 15:53:05 PDT
Received: from camco.celestial.com(192.136.111.1) by flash.tibco.com via smap (V1.3)
	id sma014364; Mon Apr 14 15:52:53 1997
Received: by camco.celestial.com
	via sendmail with stdio
	id <m0wGiND-000C2Da@camco.celestial.com>
	for flexfax-outbound; Mon, 14 Apr 1997 02:48:31 -0700 (PDT)
	(Smail-3.2.0.92 1997-Feb-9 #10 built 1997-Mar-13)
Message-Id: <9704140944.AA07265@yoshiko.tibco.com>
To: flexfax@sgi.com
Reply-To: andy@tibco.com
Subject: FrameMaker ps file Solution!
Date: Mon, 14 Apr 1997 18:44:35 JST
From: "Andrew S. Howell" <andy@tibco.com>
Sender: owner-flexfax@celestial.com
Precedence: bulk


I finally got FrameMaker PS documents to work with gs 4.03. This is a
bit of a hack, but it works.

FrameMaker docs want to set there own size when they print. This
causes problems because the page comes out 1734 pixles wide, instead
of 1728. Fixing involves changing ps2fax to use -dFIXEDMEDIA, the tail
end of which now look like:

a$CAT $fil | $PS -q \
    -sDEVICE=$device \
    -dNOPAUSE \
    -dSAFER=true \
    -sPAPERSIZE=$paper \
    -dFIXEDMEDIA \
    -r204x$vres \
    "-sOutputFile=$out" \
    -
With this alone though, FrameMaker docs just spit out a message that
they can't set the page size. I then I added the following to gs_init.ps:

% Ignore PageSize change requests. This is to make FrameMaker documents 
% work with Hylafax. ps2fax needs -dFIXEDMEDIA as well. 
<< /Policies << /PageSize 1 >> >> setpagedevice

Since gs looks for its files in the current directory, I copied
gs_init.ps to where I have my Hylafax installed. In my case,
/var/spool/fax. This way my kludge won't interfere with other uses of
gs. When ps2fax runs, the current directory is /var/spool/fax

Having done that, FrameMaker 4.0 and 5.0 documents that were formated
for letter size come out just fine. Horraaaayyyy!

Andy




Project hosted by iFAX Solutions