cant see cups print queues via samba.
Bevan Broun
bevanb at ee.uwa.edu.au
Thu May 11 07:23:41 GMT 2000
It is possible to see the print queue and via NT4's printer window.
Correct? And remove the jobs too, right? But not for me.
cups-1.0.5, samba-2.07 on linux-2.2.15
queues show ok using lpq
printing from nt works ok using samba.
in smb.conf I have:
printing = cups
print command = lpr -P%p -s %s; rm %s
lpq command = /usr/local/bin/lpq -P %p
lprm command = /usr/local/bin/lprm -P %p %j
The samba log for the nt client machine shows:
[2000/05/11 15:17:58, 3] smbd/ipc.c:api_DosPrintQGetInfo(823)
PrintQueue uLevel=3 name=csulw
[2000/05/11 15:17:58, 3] printing/printing.c:get_printqueue(1035)
Running the command `/usr/local/bin/lpq -P csulw' gave 0
[2000/05/11 15:17:58, 4] smbd/ipc.c:api_DosPrintQGetInfo(896)
printqgetinfo: errorcode 0
[2000/05/11 15:17:58, 5] smbd/ipc.c:copy_trans_params_and_data(156)
copy_trans_params_and_data: params[0..6] data[0..152]
[2000/05/11 15:17:58, 5] lib/util.c:show_msg(430)
The line:
Running the command `/usr/local/bin/lpq -P csulw' gave 0
seems to indicate the trouble but when I run the command it gives the
queue as expected.
TIA
BB
--
Bevan Broun ph (08) 9380 1587
Computer Systems Officer fax (08) 9380 1065
Dept. Electrical and Electronic Engineering
University of Western Australia rm. G70
More information about the samba
mailing list