s3-printing: pass lpq command to job_submit
authorDavid Disseldorp <ddiss@samba.org>
Wed, 8 Feb 2012 17:47:11 +0000 (18:47 +0100)
committerDavid Disseldorp <ddiss@samba.org>
Mon, 25 Jun 2012 13:26:11 +0000 (15:26 +0200)
commitaa8925accd57c9c3638bf721252a6596d494253e
tree9cc2cdf2022350564675037b2b1b12b686a1d156
parenteef01a7fba3f2fc825fbafda767861f788f95533
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.
source3/include/printing.h
source3/printing/print_cups.c
source3/printing/print_generic.c
source3/printing/print_iprint.c
source3/printing/printing.c