Originally Posted by sang_froid
If you don't have answer which is to the point, why do you abuse others ?
The answer was to the point. It may not have been the answer you were looking for, but that's a whole other story. Apparently you were looking for a solution that was ready made. Well, that answer does not exist for your case. It's against the idea of our operating system.
Did you fight with your wife today ?? Don't pour your personal anger to other people here in forum...
You don't want to experience me when I am angry, believe me. Not even with 10.000 miles of internet between us.
By the way, who says I have a wife? I love a penguin...
Your problem was like this:
If there is no train in the station, how can I refuse potential passengers from entering the railway ticket office?
It's not the policy of railway companies to only allow passengers to enter the ticket office when there's a train at the platform, waiting for passengers. The railway company wants to make profit so it allows people to buy a ticket, thereby transforming them into passengers, all day long.
In your case, the station is your print server. The train is your printer. And the people are the print jobs. Just like the railway company is reluctant to refuse people from transforming into passengers when there is no train waiting idle, the print server is reluctant to refuse print jobs. It's not the policy of the print server to discriminate. It's the policy of the print server to accept print jobs and to deliver them when the printer is ready. It makes printing transparent. It will do the printing when the printer is ready.
If you have no printer attached, just kill the LPR deamon. Simple as that.