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 12:42:16 +0000 (14:42 +0200)
commitb0cba0fe703bc0b8f92a1e97a84b3cba5f153736
tree265d27347dcd0b071a8625be695dce1f329f8893
parent69a91f398abce5160786eb211559f77da9220b76
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