search for: new_jobname

Displaying 3 results from an estimated 3 matches for "new_jobname".

2016 Sep 02
2
Samba-CUPS interface
Hi, One of our Samba server (4.4.5) is a print server with CUPS backend . In addition we are using a print management product that is itself a backend to cups. Everything works well, except that the document names that are transmitted in the chain is of the form : "smbprn.00000648 MyDocument.pdf" . I guess that the prefix smbprn.00000648 is the samba job ID that is concatenated to the
2016 Sep 05
1
Samba-CUPS interface
...gt; passed to cups ? > > I don't see an option for that, but I also don't see any indication > that we reverse parse that string, we use the job-id to track the job. > > So my untested suggestion is that we/you could remove it from this in > print_cups.c: > > new_jobname = talloc_asprintf(frame, > "%s%.8u %s", PRINT_SPOOL_PREFIX, > pjob->jobid, jobname); > if (new_jobname == NULL) { > goto out; > } > > Andrew Bartlett > Hi Andrew, You are right, I...
2016 Sep 04
0
Samba-CUPS interface
...this prefix to the file name that > is > passed to cups ? I don't see an option for that, but I also don't see any indication that we reverse parse that string, we use the job-id to track the job.  So my untested suggestion is that we/you could remove it from this in print_cups.c: new_jobname = talloc_asprintf(frame, "%s%.8u %s", PRINT_SPOOL_PREFIX, pjob->jobid, jobname); if (new_jobname == NULL) { goto out; } Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Develope...