Hylafax Mailing List Archives

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

Re: Modem uses only 1-D format



Ok, I figured this out.

Use 0x063b for the trace codes.  In the /var/log/syslog file, you should
find entries like this:


Jun  8 23:12:41 aoi FaxQueuer[11805]: HylaFAX (tm) Version 4.0pl0
Jun  8 23:12:41 aoi FaxQueuer[11805]: Copyright (c) 1990-1996 Sam Leffler
Jun  8 23:12:41 aoi FaxQueuer[11805]: Copyright (c) 1991-1996 Silicon
		    Graphics, Inc.
Jun  8 23:12:41 aoi FaxGetty[25880]: HELLO
Jun  8 23:13:13 aoi FaxQueuer[11805]: SUBMIT JOB 2644
Jun  8 23:13:13 aoi FaxQueuer[11805]: JOB 2644 (active dest +19784410122
		    pri 127 tts 0:00 killtime 2:58:59): PREPARE START
Jun  8 23:13:13 aoi FaxQueuer[11812]: JOB 2644 (active dest +19784410122
		    pri 127 tts 0:00 killtime 2:58:59): CONVERT DOCUMENT:
		    bin/ps2fax -o docq/doc4662.ps;70 -r 98 -w 1728 -l 280
		    -m 4294967295 -2 docq/doc4662.ps.2644
Jun  8 23:13:14 aoi FaxQueuer[11805]: JOB 2644 (active dest +19784410122
		    pri 127 tts 0:00 killtime 2:58:58): PREPARE DONE


The key is the '-2' in the arguments passed to 'ps2fax' command, listed
above at 23:13:13.  Here, it's looked in the /var/spool/fax/info/<phone-number>
file to see if the remote fax will support 2D.

I still wish the default for a phone number with no info file was 2D,
but I'll look into that later.

You can check if your 'ps2fax' command is working properly.  Take some
small Postscript file, and try

	ps2fax -1 -o file.1d somefile.ps
	ps2fax -2 -o file.2d somefile.ps

The 2D file should be smaller.  With more effort, one could verify that
the TIFF header says one is 1D encoded, and the other 2D.

Hope this helps.



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services