[cups.development] [RFE] STR #3100: expand PJL heade with Username

franz.pfoertsch.brose franz.pfoertsch at brose.com
Thu Feb 12 11:28:17 PST 2009


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Please expand the PJL-Header with the "PJL SET USERNAME" command.

I created a diff to the emit.c file:

---8<---
 diff -p emit.c emit.c.139
*** emit.c      2009-02-12 19:55:33.000000000 +0100
--- emit.c.139  2008-08-26 05:43:28.000000000 +0200
*************** ppdEmitJCL(ppd_file_t *ppd,             /* I - PPD
*** 426,432 ****
      fprintf(fp, "@PJL JOB NAME = \"%s\" DISPLAY = \"%d %s %s\"\n", temp,
              job_id, user, temp);
      fprintf(fp, "@PJL RDYMSG DISPLAY = \"%d %s %s\"\n", job_id, user,
temp);
-     fprintf(fp, "@PJL SET USERNAME = \"%s\"\n", user);
    }
    else
      fputs(ppd->jcl_begin, fp);
--- 426,431 ----

---8<---

I need this expansion to realize printing into mailboxes wiht UTAX
Multifunction device.

Link: http://www.cups.org/str.php?L3100
Version:  -feature
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: emit.c.patch
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20090212/e789400b/attachment.ksh>


More information about the cups-devel mailing list