daniel.jarboe@custserv.com
2003-Oct-09 13:26 UTC
[Samba] Samba-3.0.0, LPRng-3.8.21 and printer queues - Jerry?
> 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 > > Can anyone help me with this. (CUPS is not a solution for me)Because of your last sentence I thought I should add, that I'm seeing the same problem (print jobs queued in the print subsystem not showing up for samba) _WITH_ cups in samba 3.0.0. ~ Daniel ----------------------------------------------------------------------- This message is the property of Time Inc. or its affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. Thank you.
Van Sickler, Jim
2003-Oct-09 16:35 UTC
[Samba] Samba-3.0.0, LPRng-3.8.21 and printer queues - Jerry?
Assar, Here are my smb.conf entries for LPRng 3.8.21: lpq command = /usr/local/bin/lpstat %p print command = /usr/local/bin/lpr -U%m -P%p -J'%J' -r %s lprm command = /usr/local/bin/lprm -P%p %j lppause command = /usr/local/sbin/lpc hold %p %j lpresume command = /usr/local/sbin/lpc release %p %j queuepause command = /usr/local/sbin/lpc stop %p queueresume command = /usr/local/sbin/lpc start %p I looked at the lpr options (lpr --help) and "-b" isn't one that's listed. "-Fb" is the only instance where "b" is used. Is the "<%s" intentional? Run "checkpc -V -f" to have LPRng test/fix dir's and permissions. Run "testparm" to have samba do the same. Jim -----Original Message----- From: daniel.jarboe@custserv.com [mailto:daniel.jarboe@custserv.com] Sent: Thursday, October 09, 2003 6:27 AM To: assar@sm.luth.se; samba@lists.samba.org Subject: RE: [Samba] Samba-3.0.0, LPRng-3.8.21 and printer queues - Jerry?> I have problem with finding my printerjobs in sambas printer queue, > I do se the job 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 > > Can anyone help me with this. (CUPS is not a solution for me)Because of your last sentence I thought I should add, that I'm seeing the same problem (print jobs queued in the print subsystem not showing up for samba) _WITH_ cups in samba 3.0.0. ~ Daniel ----------------------------------------------------------------------- This message is the property of Time Inc. or its affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. Thank you. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Gerald (Jerry) Carter
2003-Oct-10 16:51 UTC
[Samba] Samba-3.0.0, LPRng-3.8.21 and printer queues - Jerry?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 daniel.jarboe@custserv.com wrote: |>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? cheers, jerry - ---------------------------------------------------------------------- ~ Hewlett-Packard ------------------------- http://www.hp.com ~ SAMBA Team ---------------------- http://www.samba.org ~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc ~ "You can never go home again, Oatman, but I guess you can shop there." ~ --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/huOlIR7qMdg1EfYRAh/mAKCrm92F3zFHVSLyUAFujgzU5XK6rgCgpUTy ZCIMNTTp61UrQWgEQDNK1TU=967/ -----END PGP SIGNATURE-----