General discussion

Locked

Manage win print jobs to linux printer

By rouse ·
I have a printer smb-shared off a linix box to my win98 clients. Works fine most of the time until a family member blows off the windows logon and later decides to print something. The job gets paused in the queue after an win error msg. I cannot unpause the job after authenticating because: 'You do not have permission to modify...' message (I'm sure you've seen this). All subsequent jobs are held up. I can delete the job. This is frustrating since sometimes the info is a confirmation (print itnow or lose it forever), and it's easy to click print and move on.
So, I'm trying to find one of three things:
1 Is there a linux print queue manager which will allow me as root to requeue print jobs?
2 How does one requeue a print job from either linux server or win client which was sent from non-login user?
3 How do I force family members to always login from windows machines (they all have accounts on linux machine & linux runs 24x7)?
Thanks for your insights.
Keith

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Manage win print jobs to linux printer

by oxy In reply to Manage win print jobs to ...

Hi,
just for the 3rd point;
open regedit & modify key
HKEY_LOCAL_MACHINE\Network\Logon
DWORD "MustBeValidated"
value:0x00000001
only problem, you can't esc the authentication(win9.x).
so if out of the network. noway to login(except going back to safe mode and regedit back the keys).Think of it if you have laptops....

Collapse -

Manage win print jobs to linux printer

by rouse In reply to Manage win print jobs to ...

Ok & Thanks! You helped me figure out #3. My original postback must not have made it. The above hack presents me with a new login box - domain. I added a 'domain logons = yes' to my smb.conf to get the logon to work. This is cool, but now I get a bunch of cookie transfers each time I login and out. Try to delete the cookies that belong to other users out of their \\linux\user\cookie folder, but they keep comming back. The cookies seem to be the same for all users.
I'll come back and give you the points, but if you know what causes this...I'd appreciate it.
Keith

Collapse -

Manage win print jobs to linux printer

by bg4 In reply to Manage win print jobs to ...

My setup is as follows. I run Linux as a print server, the family uses w98. I run Samba on the linux PC with "security=share" and the printer settings as follows:
[hp930c]
path = /var/spool/lpd/hp930c
browseable = yes
printername = hp930c
writable = no
public = yes
printable = yes
print command = lpr -Php930c %s; rm %s

The "/etc/printcap" file contains the following:
# HP930C Colour Inkjet Printer
hp930c|hp930c:lp=/dev/lp0:sd=/var/spool/lpd/hp930c:sh:sf:mx#0:

The "lpd" daemon was started at boot time. (Currently over a year ago!!).

The w98 PC then loads the printer driver as normal with the printer being a network device. The path is \\192.168.0.1\hp930c.

Print jobs are spooled on the linuxmachine and can be deleted/paused from windows as required. I run two printers this way and have not lost any print jobs in that time. The HP even turns on automatically when a job is spooled.

The commands lpq, lpr, etc are available from linux to play with the queue but I have never had to in over three years.

Hope this helps.

Collapse -

Manage win print jobs to linux printer

by rouse In reply to Manage win print jobs to ...

Thanks bg4. My printer setup is similar to yours, and it prints ok. Oxy's suggestion solved the problem of print jobs stalling in the queue when someone escaped the windows logon. Now all the print jobs have a valid user behind it. But when the job completes printing, it changes to 'paused' status in the windows print queue. I can't delete someone else's job from win98 because I don't have permissions. So I have to manually hunt it down on my linux server and delete it there. Was hoping to finda linux print queue manager like 'pconsole' on netware to allow a cleaner way to kill these jobs.
Anyway, I did modify my smb.conf using some of your settings. So I'll give you the points. If you know anything about the 'paused' status, pls email me at: stewartkc1@comcast.net
Thanks all

Collapse -

Manage win print jobs to linux printer

by rouse In reply to Manage win print jobs to ...

This question was closed by the author

Back to Linux Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums