Hi! > |>I have problem with finding my printerjobbs in sambas printer queue, > |>I do se the jobb while it is in /var/spool/samba, but not when the job > |>has been spooled to LPRngs spool. > |> > |>smb.conf > |>[Global] > |> printing = lprng > |> lpq command = /usr/server/LPRng-3.8.21/bin/lpq -P%p > |> print command = /usr/server/LPRng-3.8.21/bin/lpr -b -P%p <%s ;rm %s > |> > |>The printing job shows up in the LPRng queue e.i. > |>/usr/server/LPRng-3.8.21/bin/lpq -Pprinter > |>shows the job. > |> > |>But from log.smbd: > |>Running the command `/usr/server/LPRng-3.8.21/bin/lpq > |>-Pprinter' gave 0 > > 0 is the return value which means the 'lpq command' > successed. Is 'printer' the actual name of the > printer? What dop you see when you run that command > from a shell prompt?
I changed the printers name to printer.. Its the same for all our printers (we have about 30 of them). here is a sample #/usr/server/LPRng-3.8.21/bin/lpq -Plwdup Printer: [EMAIL PROTECTED] 'lwdup' (dest [EMAIL PROTECTED]) Queue: no printable jobs in queue Server: no server active Status: job '[EMAIL PROTECTED]' saved at 09:07:41.669 Filter_status: done at 09:07:41.542 Rank Owner/ID Class Job Files Size Time done [EMAIL PROTECTED] A 782 /tmp/Acroawaa_w 309889 09:07:41 Printer: [EMAIL PROTECTED] Queue: no printable jobs in queue Server: no server active Status: job '[EMAIL PROTECTED]' saved at 09:08:25.790 Filter_status: done at 09:08:25.751 Rank Owner/ID Class Job Files Size Time done [EMAIL PROTECTED] A 782 /tmp/Acroawaa_w 310774 09:07:41 # Here is some more logfile from samba direclty after the print out is finished [...] [2003/10/13 09:08:10, 3] printing/printing.c:print_cache_expired(1723) print cache expired for queue lwdup (last_qscan_time = 1066028859, time now = 1066028890, qcachetime = 10) [2003/10/13 09:08:10, 3] printing/print_generic.c:print_run_command(83) Running the command `/usr/server/LPRng-3.8.21/bin/lpq -Plwdup' gave 0 [2003/10/13 09:08:10, 3] printing/printing.c:print_queue_update(1013) 3 jobs in queue for lwdup >From windows (2003 terminal server) i can see one job in the printer and faxes tab. () lwdup on sm_lisa 1 Ready HP LaserJet 4000 Series PS And in the printer queue for the printer is empty. I have only seen jobs in windows printer queue very shortly after the jobs has been printed from windows and never if the job is printed from the unix system. Thanks for taking time! -- Assar Svensson ([EMAIL PROTECTED]) Datordriften - Institutionerna f�r Systemteknik och Matematik Lule� tekniska universitet Tel: 0920 - 49 2448 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
