US Robotics fax, new infos and questions

Norbert Preining (preining@logic.at)
Thu, 8 Apr 1999 16:29:47 +0200



--xA/XKXTdy9G3iaIz
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

On Thu, 08 Apr 1999, Gert D=F6ring wrote:
> I still assume the problem lies in the RTC code (6 consecutive EOLs at the
> end of the page).  I'm sure sendfax does send RTCs, don't have any idea
> about efax.

=46rom the efax files:

#define RTCEOL  5
#define EOLCODE 1
#define EOLBITS 12

/* Send data for one page.  Figures out required padding and 196->98 lpi
   decimation based on local and session capabilitites, substitutes page
   numbers in header string and enables serial port flow control.  Inserts
   the page header before the input file data.  Converts each scan line to
   T.4 codes and adds padding (FILL) and EOL codes before writing out.
   Sends RTC when done.  Sends DLE-ETX and returns serial port to command
   mode when done. Returns 0 if OK, non-0 on errors. */

int send_data (...) {
=2E..
send page data
=2E..
  for ( i=3D0 ; i < RTCEOL ; i++ )
    p =3D putcode ( &e, EOLCODE, EOLBITS, p ) ;
  p =3D putcode ( &e, 0, 0, p ) ;
  sendbuf ( mf, buf, p - buf, dcecps ) ;


Don't know what this mean


> I'll attach a patch to g3cat.c that will add a new option ("-R") that
> will make g3cat omit the RTC code at the end of the page.  Please try
> this (patch g3cat.c, "make", "g3cat -R old.g3 >new.g3", "sendfax new.g3")
> and report whether it helps.

I will do.

--=20
ciao
norb

+-------------------------------------------------------------------+
| Norbert Preining              http://www.logic.at/people/preining |
| University of Technology Vienna, Austria        preining@logic.at |
| PGP fingerprint: BE 15 9D B2 99 05 03 06  D3 A1 56 CC 20 F1 4C 19 |
| PGP public key: email me with Subject `get PGP-key' or keyservers |
+-------------------------------------------------------------------+

--xA/XKXTdy9G3iaIz
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia

iQCVAwUBNwy9W7zcw0LPH6FlAQFBaAP+MtTv5HX4ovg+5Kq2V0t7gvX2E1ciH3Z5
D7Dl9h+d1JIYfxAXzx6x9pVk9HVWopmAQKc2KJEPTRg9wTCp8n7XCB2pRL3ElTlW
NsiLe36Bs/4hb4d6/akaZjjVHykpnOBKM4orPujVDi4UK/6xBZ1xa7p35RYUyd4R
JhzXADDuQm8=
=ruwv
-----END PGP SIGNATURE-----

--xA/XKXTdy9G3iaIz--