The ifhp manual claims that if you include pjl_console@ in the ifhp.conf
file it will not attempt to alter the LED display to reflect the job
currently being printed.
The function Pjl_console_msg contains code to prevent sending a "PJL
RDYMSG DISPLAY" command to the printer if pjl_console is 0, which is
fine.
Unfortunately the function "Do_sync" contains an unconditional output
of the above command at line 3572.
My quick and dirty fix to this was to simply conditional that line. A
patch doing that is attached.
A better fix would probably be to replace the SPRINTF at that line
with a call to Pjl_console_msg(), but that would have involved checking
the control flow to ensure that all the appropriate variables that that
function uses have been initialised. (They most probably have been - I
just haven't had the time to check to make sure).
Duncan
*** ifhp.c.orig Thu Feb 26 04:56:25 2004
--- ifhp.c Tue Sep 7 16:21:38 2004
***************
*** 3569,3575 ****
PJL_ECHO_str, name );
Put_pjl( buffer );
! SNPRINTF(buffer, sizeof(buffer)) PJL_RDYMSG_str, Job_ready_msg ); Put_pjl( buffer );
if( pagecount_pjl ){
Put_pjl( PJL_INFO_PAGECOUNT_str );
--- 3569,3576 ----
PJL_ECHO_str, name );
Put_pjl( buffer );
! if (Pjl_console != 0)
! SNPRINTF(buffer, sizeof(buffer)) PJL_RDYMSG_str, Job_ready_msg ); Put_pjl( buffer );
if( pagecount_pjl ){
Put_pjl( PJL_INFO_PAGECOUNT_str );