s3-printing: pass lpq command to job_submit
authorDavid Disseldorp <ddiss@samba.org>
Wed, 8 Feb 2012 17:47:11 +0000 (18:47 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 24 Jul 2012 18:53:13 +0000 (20:53 +0200)
commit7531533e797a2421b5b1a7b383fbddc70ccad34b
treee48f71e30ba2df432ee87cc44a5d38ba78fb6995
parentf831a9bdbdddd77c3e7ea7e5ae1653567ee12ceb
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