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!"
timing is everything....
We have this problem at work as well, but in reverse. SAP printing to NT printers, once it hits the NT system they cant delete the print jobs from SAP
I usually get NT admin guys to delete them.
In this case I think once the job gets onto the Linux system its different. Youd have to delete them under your Linux logon. Hope this helps.
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.
Go here
After you've got your answer, why don't you buy a tshirt to say thanks? I've done it before too and its a nice gesture.
You don't get it. Mailing lists are where normal people go. I have received great help from authors of open software, they take my bugs, ask questions, and even offer fixes just for me for software I don't even pay for.
/. worthy, and you get to read that idiot Eugeni Loli's ridiculous reviews.
But here on SlashCrap, with idiotic editors who pose as *nix savvy people, they see anything with a keyword, such as samba, and paste that shit right on up there. They never read what is being asked because they could never offer and explanation and don't umderstand the depth of a given question, so cluelessly we get crapflooded with shit stories.
Maybe if the editors weren't so stupid, stupid stories could get instead of a "rejected," a tip on where to for help. But as I said, the editors suck cock, so we get nothing.
I have gotten "rejected" stories about 8-10 times. After seeing losers like Katz post, and some of my submitted stories rejected hours before the very same topic was posted on the FP, I said fuck Slashdot. And now, look what Slashdot gets. Idiotic questions, totalitarian editors who only steal other people's content that they feel is
Why not, Ask Slashdot, how to put yourself as a root CA in Java so Tomcat doesn't require me to buy a certificate from Thawte or RSA. Nahh. And yes, I saw the last SSL ask Slashdot, no one answered that question. In fact, I scoured the thread and only got hints.
Seems like the Fuckdot SlashCrap editors chased all the know how right on out of here.
Also, anyone who is used to elegant source code, such as FreeBSD source, look at Slashcode. It's a pathetic undocumented laughing stock. And they store all these stupid comments in a database, why not just use / modify an NNTP implementation? Why cant we use an NNTP client to read this crap? I have a phrase for the writers of Crapcode (TM), refactor that shit, now. It's a god damn pile of shit.
Slashdot is for the masses, the herds of idiots that are fooled by retards like Homos, CoyFagNeal and CmdrPedophileTaco and of course Jon Katz. And now we all see the world through shitstain colored glasses.
wow....
you're angry.
We're getting more and more project-specific help calls in slashdot now. They dont belong here. A major quirk.. maybe. Massive bug.. fine. But not a plain compatiblity question like that.
Please take no offence from this.. But I usually have 3 problems a week I need to ask, and newsgroups solve them better.
"Give orange me give eat orange me eat orange give me eat orange give me you." -Nim Chimpsky
But he has a point.l -software-for-free trend and slashdot along with it died already.
It is just natural that the editors drove out everyone from slashdot who was smarter than them, it's like a company, loyality is rewarded, being too clever and having a different opinion is punished.
I wish this angst-ridden-teenager-who-wants-shiny-toys-and-al
kthx
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 )
And I quote:
/usr/bin/lpr -r -P%p %s /usr/bin/lpq -P%p %s /usr/bin/lprm -P%p %j /usr/sbin/lpc -P%p stop /usr/sbin/lpc -P%p start
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 =
lpq command =
lprm command =
queuepause command =
queueresume command =
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?
(Score:4, Insightful)
Go to mailing list or newsgroups. This is not the right place. Who allows these questions anyway?
RA
I sometimes think that God, in creating man, somewhat overestimated his ability. -- Oscar Wilde
How about CUPS?
I haven't used it yet, but it looks like the thing one needs.
I have forgotten my password to log into my windows95 box. Can anyone help?
STOP CURSING already, you idiot! Mangling the names of the editors (besides of Jon Katz) is PASSE. And get me a girlfriend!!!
Password and Windows 95 in the same sentence?
BROUGHAH HAH
Well, I have an old 486 as printer server that gets uernames from the main NT file server and can't cancel the print jobs from the Win98 workstations, so I use Webmin for a user-frendly interface to cancel and manage the jobs... just for admins of course.
\m/