Slashdot Mirror


Windows 2000, Samba, and Cancelling Print Jobs?

Kerry McDonald asks: "I have a Linux server running Samba, and my Windows 2000 users are unable to cancel print jobs once they are sent to the server. Has anyone seen this problem? I have checked all the Samba settings, and they all seem to allow user access, but for some reason it still will not work. Help!"

4 of 21 comments (clear)

  1. Linux print spooler by MrResistor · · Score: 5, Informative

    Probably it's just that samba doesn't have control of the Linux print spooler, so once the document is passed to the spooler you would have to cancel the job from Linux.

    It seems a little odd to me, that seems like something that would be fairly simple to set up, at least from the *nix end. There's the matter of trapping the correct command from the Windows side, of course, but that seems like one they would have caught by now. Is the problem just under Windows 2000, or other Windows versions as well?

    --
    Under capitalism man exploits man. Under communism it's the other way around.
  2. Yep, seen it here by dgmartin98 · · Score: 2, Informative

    Yes, we're seen it in our Linux/Win network too. I try to print from Win NT or Win 2000, the print job goes out to the Samba print spooler. The little printer icon appears in the Win taskbar. I try to double-click on the little printer icon, and the usual printer pop-up window comes up. However, the window says something like, "trying to initialize printer xxxxx". Then after a minute or two it times out. Therefore, I never see the print job in the window. So I can't delete it. Even though the printer icon can't contact the printer, the print jobs usually work.

    I just figured it was a setup bug in our network. Maybe it's a Samba bug instead.

    Dave

    --
    FPGA, Wireless, ASIC, Verilog, VHDL, HW, 10yr exp, Team Lead, Ottawa (More? Email above. slashdotusername=dgmartin98 )
  3. Printing.txt in the docs... by Anonymous Coward · · Score: 5, Informative

    And I quote:

    The following are nice to know about:

    queuepause command - stop a printer or print queue
    queueresume command - start a printer or print queue

    Example:
    print command = /usr/bin/lpr -r -P%p %s
    lpq command = /usr/bin/lpq -P%p %s
    lprm command = /usr/bin/lprm -P%p %j
    queuepause command = /usr/sbin/lpc -P%p stop
    queueresume command = /usr/sbin/lpc -P%p start

    Samba should set reasonable defaults for these depending on your
    system type, but it isn't clairvoyant. It is not uncommon that you
    have to tweak these for local conditions. The commands should
    always have fully specified pathnames, as the smdb may not have
    the correct PATH values.

    You DID check those, right?

  4. http://www.cups.org/ by joostje · · Score: 3, Informative

    How about CUPS?

    I haven't used it yet, but it looks like the thing one needs.