s3-printing: pass lpq command to job_submit
commitd5e77d2657bf4dd33ed9d232f446494845a85e97
authorDavid Disseldorp <ddiss@samba.org>
Wed, 8 Feb 2012 17:47:11 +0000 (8 18:47 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 24 Jul 2012 19:34:30 +0000 (24 21:34 +0200)
treeb090f8868a6732cf68275648f1a2b3c3cf82e478
parentfc9ab1f9725c2209170b4d6ab36f28105235ed4a
s3-printing: pass lpq command to job_submit

Currently the generic print backend does not fill the printing backend
job identifier (sysjob) on submission of a new job. The sysjob
identifier is required to correctly map jobs in the printer queue to
corresponding spoolss print jobs.

Passing the lpq command to job_submit allows the generic print backend
to check the printer queue for the new job following submission. This
behaviour will come in a later commit.
(cherry picked from commit 7531533e797a2421b5b1a7b383fbddc70ccad34b)
source3/include/printing.h
source3/printing/print_cups.c
source3/printing/print_generic.c
source3/printing/print_iprint.c
source3/printing/printing.c