cant see cups print queues via samba

Bevan Broun bevanb at
Fri May 12 03:04:31 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.14

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)

I have disabled the printer so the job just stay's in the queue, but
the queue appears empty from NT. I have tried a lpq command using a
pipe thru tee so I can see what's going on and it appears correct

Rank    Pri   Owner      Job    Files              Total Size
1st      50   bevanb     1         2048 bytes

The NT (NT4 sp6) machine is running under vmware on the same machine as the
cups/samba server. 


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