Hello, I'm trying to get familiar with the ifhp filter (ifhp-3.3.10-1 on RedHat 7.0). So I did the first steps in an ifhp tutorial, that is (1) create a file ifhp.conf containing the lines ps@ pjl@ pcl@ text (2) create a file hi.txt containing Hello world (3) call ifhp -Tconfig=./ifhp.conf,trace,debug=1,dev=/tmp/out < hi.txt For some reason this call produces an empty file /tmp/out. Why? I get the following messages on stderr ifhp 00:26:22.232 [5202] main: scanning Topts for model ifhp 00:26:22.232 [5202] Select_model_info: id '<NULL>', list->count 4, model->count 0 ifhp 00:26:22.232 [5202] Select_model_info: state 0 doing 'config=./ifhp.conf', id '<NULL>' ifhp 00:26:22.232 [5202] Select_model_info: state 0 doing 'debug=1', id '<NULL>' ifhp 00:26:22.232 [5202] Select_model_info: state 0 doing 'dev=/tmp/out', id '<NULL>' ifhp 00:26:22.232 [5202] Select_model_info: state 0 doing 'trace', id'<NULL>' ifhp 00:26:22.232 [5202] main: scanning Raw ifhp 00:26:22.232 [5202] Select_model_info: id '<NULL>', list->count 5, model->count 4 ifhp 00:26:22.233 [5202] Select_model_info: state 0 doing 'ps@', id '<NULL>' ifhp 00:26:22.233 [5202] Select_model_info: state 0 doing 'pjl@', id '<NULL>' ifhp 00:26:22.233 [5202] Select_model_info: state 0 doing 'pcl@', id '<NULL>' ifhp 00:26:22.233 [5202] Select_model_info: state 0 doing 'text', id '<NULL>' ifhp 00:26:22.233 [5202] main: model id '<NULL>' ifhp 00:26:22.234 [5202] main: before checking OF_Mode 0, Banner '<NULL>', Banner_only '<NULL>', Banner_name '0' ifhp 00:26:22.234 [5202] main: Banner '<NULL>', Banner_only '<NULL>', Banner_name '0' ifhp 00:26:22.234 [5202] main: Debug level 1 ifhp 00:26:22.234 [5202] Dump_line_list: Zopts - count 0, max 0, list 0x0 ifhp 00:26:22.234 [5202] Dump_line_list: Topts - count 0, max 0, list 0x0 ifhp 00:26:22.234 [5202] Version $Id: ifhp.c,v 1.30 1999/10/05 23:13:56 papowell Exp papowell $ VERSION ifhp-3.3.10 ifhp 00:26:22.234 [5202] Open_device: device '/tmp/out' ifhp 00:26:22.234 [5202] Open_device: device '/tmp/out', attempt 1 ifhp 00:26:22.234 [5202] Open_device: success ifhp 00:26:22.234 [5202] Init_outbuf: Outbuf 0x8064e68, Outmax 10240, Outlen 0 ifhp 00:26:22.235 [5202] Process_job: setting up printer ifhp 00:26:22.235 [5202] Process_job: sync and pagecount ifhp 00:26:22.235 [5202] Do_accounting: accounting at start, pagecount 0, pages 0 ifhp 00:26:22.235 [5202] Accounting: script '<NULL>', fd -1, Accountfile '<NULL>', output 'start '-q5202' '-p0' '-t2000-11-20-00:26:22.235''-Tconfig=./ifhp.conf,trace,debug=1,dev=/tmp/out'' ifhp 00:26:22.235 [5202] Process_job: doing 'init' ifhp 00:26:22.235 [5202] Init_outbuf: Outbuf 0x8064e68, Outmax 10240, Outlen 0 ifhp 00:26:22.235 [5202] Write_out_buffer: write len 0, read_fd -1, maxtimeout 0 ifhp 00:26:22.235 [5202] Write_out_buffer: done, returning 0 ifhp 00:26:22.235 [5202] Init_outbuf: Outbuf 0x8064e68, Outmax 10240, Outlen 0 ifhp 00:26:22.236 [5202] Process_job: sending job file ifhp 00:26:22.236 [5202] Init_outbuf: Outbuf 0x8064e68, Outmax 10240, Outlen 0 ifhp 00:26:22.236 [5202] Send_job: starting transfer ifhp 00:26:22.236 [5202] Send_job: initial job type 'UNKNOWN' ifhp 00:26:22.236 [5202] Send_job: final job type 'UNKNOWN' ifhp 00:26:22.236 [5202] Send_job: job identified as 'UNKNOWN', converter '<NULL>' ifhp 00:26:22.236 [5202] Send_job: cannot determine job type Thanks in advance, Fabian Staeber. ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
