> From [EMAIL PROTECTED] Mon Feb 25 07:56:15 2002
> Date: Mon, 25 Feb 2002 15:05:24 -0000
> From: Nick Bruton <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: Printer display
>
> Hi all,
>
> Does anyone know how to suppress the printer display of an HP4Mplus?
>
> e.g. When I print a job it puts my username on the fascia display
>
> Nick

Version ifhp-3.5.6 - Sat Feb 23 07:36:20 PST 2002
 
  display@ option disables/enables display of console message
  display_size=nnn   sets size of display
    - lp:ifhp=display@   or ifhp -Tdisplay@
    - lp:ifhp=display_size=20 of ifhp -Tdisplay_size=20
   (Suggested by: Nick Bruton <[EMAIL PROTECTED])

Apply the following patch, and then use:

lp:
  :ifhp=console@


*** ifhp.c      2002/02/23 02:21:18     1.82
--- ifhp.c      2002/02/25 18:07:33
***************
*** 2706,2712 ****
        len = strlen(buffer);
        SNPRINTF(buffer+len, sizeof(buffer)-len) Jobstart_str, Jobname );
        len = strlen(buffer);
!       SNPRINTF(buffer+len, sizeof(buffer)-len) Job_display, Jobname );
  
        if( (s = GET_HASH_STR_OBJ( Zopts, "startpage", MEMINFO))
                || (s = GET_HASH_STR_OBJ( Topts, "startpage", MEMINFO)) ){
--- 2706,2714 ----
        len = strlen(buffer);
        SNPRINTF(buffer+len, sizeof(buffer)-len) Jobstart_str, Jobname );
        len = strlen(buffer);
!       if( Pjl_console ){
!               SNPRINTF(buffer+len, sizeof(buffer)-len) Job_display, Jobname );
!       }
  
        if( (s = GET_HASH_STR_OBJ( Zopts, "startpage", MEMINFO))
                || (s = GET_HASH_STR_OBJ( Topts, "startpage", MEMINFO)) ){

*** vars.c      2002/01/30 14:34:20     1.22
--- vars.c      2002/02/25 18:29:03
***************
*** 47,53 ****
--- 47,55 ----
      {  "Pcl", "pcl", (char **)&Pcl, FLGV },
      {  "Pjl", "pjl", (char **)&Pjl, FLGV },
      {  "Pjl_console", "pjl_console", (char **)&Pjl_console, FLGV },
+     {  "Pjl_console", "console", (char **)&Pjl_console, FLGV },
      {  "Pjl_display_size", "pjl_display_size", (char **)&Pjl_display_size, INTV },
+     {  "Pjl_display_size", "display_size", (char **)&Pjl_display_size, INTV },
      {  "Pjl_enter", "pjl_enter", (char **)&Pjl_enter, FLGV },
      {  "Pjl_ready_msg", "pjl_ready_msg", &Pjl_ready_msg, STRV  },
      {  "Pjl_done_msg", "pjl_done_msg", &Pjl_done_msg, STRV  },

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