HylaFAX The world's most advanced open source fax server

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

[hylafax-users] HylaFAX and PCL



Hello all,

A client needs to send faxes based on PCL.  They currently turn the PCL into PS
with an old version of GhostPCL, which is scalled down and sent with HylaFAX. 
The result (because of the scalling) leaves a lot to be desired.

After some tears, I managed to get compile TIFF support into GhostPDL 1.51
(http://www.awale.qc.ca/ghostpdl/) and learned what they mean by "cathedral".  

I've also modified ps2fax into a working pcl2fax
(http://www.awale.qc.ca/pcl2fax/).  

I notice that hfaxd has vestigal PCL support.  I hacked Fax::Hylafax::Client to
allow uploading PCL format files (see submitfax).  However, even if I upload
the file as PCL, it ends up as "data:0::docq/doc67.pcl.86" in the queue file. 
The PCL in that filename means it sees and respects the "FORM PCL" but not up
to the saving file part (should start with "pcl:").

Here is the syslog of the submit :

Jan 18 20:49:41 jimmy-file-server HylaFAX[26516]: Read config file
/etc/hylafax/hfaxd.conf
Jan 18 20:49:41 jimmy-file-server HylaFAX[26516]: logfacility = daemon (line
57)Jan 18 20:49:41 jimmy-file-server HylaFAX[26516]: servertracing = 0xffffffff
(line 58)
Jan 18 20:49:41 jimmy-file-server HylaFAX[26516]: HylaFAX INET connection from
jimmy-dev.localdomain [10.0.0.44]
Jan 18 20:49:41 jimmy-file-server HylaFAX[26516]: USER fil
Jan 18 20:49:41 jimmy-file-server HylaFAX[26516]: FAX LOGIN FROM
jimmy-dev.localdomain [10.0.0.44], fil
Jan 18 20:49:41 jimmy-file-server HylaFAX[26516]: TYPE I
Jan 18 20:49:41 jimmy-file-server HylaFAX[26516]: FORM PCL
Jan 18 20:49:41 jimmy-file-server HylaFAX[26516]: PORT 10.0.0.44;15746
Jan 18 20:49:41 jimmy-file-server HylaFAX[26516]: STOT
Jan 18 20:49:41 jimmy-file-server FaxQueuer[25519]: SUBMIT JOB 86
Jan 18 20:49:41 jimmy-file-server FaxQueuer[25519]: JOB 86 (suspended dest  pri
127 tts 0:00 killtime 2:59:00): CREATE
Jan 18 20:49:41 jimmy-file-server FaxQueuer[25519]: JOB 86 (ready dest
+15305786560 pri 127 tts 0:00 killtime 2:59:00): READY
Jan 18 20:49:41 jimmy-file-server FaxQueuer[25519]: DEST (0x962ca50: 1 ready, 0
batches, 0 sleeping:) SORT INSERT DONE
Jan 18 20:49:41 jimmy-file-server HylaFAX[26516]: QUIT

On to my question:

- Why was PCL support abandoned?  I seem to be seeing all the necessary hooks,
  in the source code, but its hard-coded off.  Ideally, a run-time check for
  the pcl6 binary would turn the ->supported flag on and off.
- How do I turn it on?  Beyond HAVE_PCL5, that is.

Looking in the list archives, PCL faxing seems to come up every once in a
while.  But never fully resolved.

Thank you, keep up the good work.

-Philip


____________________ 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