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>
Tue, 26 Jun 2012 14:10:39 +0000 (16:10 +0200)
commitc29773d89036153a122f577ff9fb2a789e7f156f
treee4ec146dfa33a1e97d2d1ecebdd5ab30a68cf01e
parent91cd9a47974e0099d550c88ee646ee3b1f44df72
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