Sample Header Ad - 728x90

CUPS job-name document-name

3 votes
1 answer
2314 views
I have CUPS 1.6.3.22 on Centos7 and when I print from AIX6.1 machine the job gets no name-title so it shows "Untitled" on the Jobs web page in the column "Name". And I want no banner page. I know that with the lpr command and a banner, the job title gets its correct value. I send the job via lp lp -c -d$PROFILES$.PRINTER -onobanner -n$PROFILES$.CONC_COPIES -t"$PROFILES$.TITLE" $PROFILES$.FILENAME The job comes in to my cups-server via cups-lpd I think. The log shows: D [05/Feb/2016:13:07:26 +0100] [Job 3507] argv="16_PRN" D [05/Feb/2016:13:07:26 +0100] [Job 3507] argv[1] ="3507" D [05/Feb/2016:13:07:26 +0100] [Job 3507] argv="root" D [05/Feb/2016:13:07:26 +0100] [Job 3507] argv="Untitled" D [05/Feb/2016:13:07:26 +0100] [Job 3507] argv="1" D [05/Feb/2016:13:07:26 +0100] [Job 3507] argv="document-name=ThisIsTest job-originating-host-name=myaix.machine.com job-uuid=urn:uuid:47ccd6c0-e2ff-3f0d-598e-466927f26e3b time-at-creation=1454674046 time-at-processing=1454674046" so as you can see the job-name(argv) is "Untitled" but in the options(argv) there we have "document-name=ThisIsTest" The question is: How to make Cups-LPD work like it is described in rfc2911 about IPP: https://www.rfc-editor.org/rfc/rfc2911#section-4.3.5 I mean that "...the printer SHOULD generate the value of the Job's 'job-name' attribute from ...the 'document-name' operation attribute"
Asked by Janusz (31 rep)
Feb 5, 2016, 12:39 PM
Last activity: May 11, 2022, 12:14 AM