I'm having trouble getting ifhp-3.5.8 to do duplex for plain ASCII text
documents (and maybe others too). It prints plain documents fine to my HP 8150,
just not in duplex.

Using the example at the end of the ifhp document I tried to get ifhp to just
put out the correct sequence. No dice. Any ideas?

Here is the command I ran

---------------------
#!/bin/sh
set -x
cp /dev/null /tmp/t
ifhp='model=hp8150'
/usr/local/libexec/filters/ifhp -Tdev=/tmp/t,trace,debug=3,${ifhp} -Zduplex
</etc/issue 2>/tmp/trace

-----------------------

The trace file has
...
'ifhp 17:21:15.790 [15958]  [1] HASH key 'Z'  - OBJ_T_STR 'duplex'
...
ifhp 17:21:15.791 [15958]  [9] HASH key 'duplex_select'  - OBJ_T_STR '1'
...
ifhp 17:21:15.793 [15958]  [51] HASH key 'pcl_duplex'  - OBJ_T_STR '\033&l1S'
...
ifhp 17:21:15.799 [15958]  [156] HASH key 'pjl_duplex'  - OBJ_T_STR '@PJL SET
DUPLEX = ON'
...
ifhp 17:21:15.807 [15958]  [0] HASH key 'duplex'  - OBJ_T_STR '1'
ifhp 17:21:15.807 [15958] Topts - OBJ_T_HASH len 6
ifhp 17:21:15.807 [15958]  [0] HASH key 'T'  - OBJ_T_STR
'dev=/tmp/t,trace,debug=3,model=hp8150'
ifhp 17:21:15.807 [15958]  [1] HASH key 'Z'  - OBJ_T_STR 'duplex'
ifhp 17:21:15.807 [15958]  [2] HASH key 'debug'  - OBJ_T_STR '3'
ifhp 17:21:15.807 [15958]  [3] HASH key 'dev'  - OBJ_T_STR '/tmp/t'
ifhp 17:21:15.808 [15958]  [4] HASH key 'model'  - OBJ_T_STR 'hp8150'
ifhp 17:21:15.808 [15958]  [5] HASH key 'trace'  - OBJ_T_STR '1'
...
ifhp 17:21:15.811 [15958] Start_of_job: 'pjl' and Zopts
...
ifhp 17:21:15.835 [15958] Send_job: match language 'pcl'
ifhp 17:21:15.835 [15958] Fix_option_str: fixed value ''
ifhp 17:21:15.835 [15958] Send_job: converter pgm '\%s{text_converter}', final
'<NULL>'
ifhp 17:21:15.835 [15958] Send_job: language 'PCL', converter pgm '<NULL>'
ifhp 17:21:15.835 [15958] Send_job: decoded job type 'PCL'
ifhp 17:21:15.835 [15958] Send_job: job type 'PCL'
ifhp 17:21:15.835 [15958] Init_job: language 'PCL'
ifhp 17:21:15.835 [15958] Init_job: after PJL ENTER '@PJL ENTER LANGUAGE = PCL'
ifhp 17:21:15.835 [15958] Init_job: doing pcl init
ifhp 17:21:15.835 [15958] Init_job: 'pcl_init'='[ normalpage ]'
ifhp 17:21:15.836 [15958] Fix_option_str: using fmt '%d', type 'd', value
'letter'
...
ifhp 17:21:15.836 [15958] Init_job: 'pcl' and Topts
ifhp 17:21:15.836 [15958] Init_job: 'pcl' and Zopts
ifhp 17:21:15.836 [15958] Init_job: final '@PJL ENTER LANGUAGE = PCL
^[E^[&l2A^[&k2G^[&s0C^[&l0O^[9^[(s0P^[(s10.00H^[(s4099T'
ifhp 17:21:15.836 [15958] Send_job: doing file transfer
...

It then transfers the text of the file and exits.

NOTE that the above "Init_job:final" does NOT have the pcl_duplex string in it.

What am I doing wrong??? It works fine with the version I'm running now (ancient
ifhp-3.3.19)

Thanks - Justus





-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to