print_cups complex versus plain job name

Gerald (Jerry) Carter jerry at samba.org
Fri Mar 26 17:17:54 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lars Müller wrote:
| Hi,
|
| why do we create a new jobname in printing/print_cups.c
| cups_job_submit() by using PRINT_SPOOL_PREFIX, pjob->smbjob and
| pjob->jobname instead of just using the plain pjob->jobname?  The
| current code leads to not so nice looking banner sheets.

so that we can get the smbjobid from it.  If not, then
we have problems later trying to delet jobs.  This was an
explicit change I made to fixes bugs with the cups backend.




- --
cheers, jerry
- ----------------------------------------------------------------------
Hewlett-Packard            ------------------------- http://www.hp.com
SAMBA Team                 ---------------------- http://www.samba.org
GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song" --Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAZGXCIR7qMdg1EfYRAp9GAJ44zG3QQQsQc2UzY6Xh5gK2dCQ0MgCdGPCN
jdbpRAj9vS4lT6nwgNuDRrw=
=bXEh
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list