*nix Thread, Using old machine as Print Server in Technical; Problem.
Got a couple of new HP 1000 business inkjets - they only have USB port - tried USB printserver ...
-
21st September 2006, 10:16 AM #1 Using old machine as Print Server
Problem.
Got a couple of new HP 1000 business inkjets - they only have USB port - tried USB printserver - won't recognise printer - googled and talked to other people and seems some HP printers (this being one of them) won't talk to anything other than HP printserver (£300).
So, could connect to my Win98 "server" but Mr Gates has crippled printing to Win98 shared printers from XP (b$%^&*d). (slows right down)
Persuing two avenues - getting a machine setp up as W2k3 server and share printer that way (and give the school a proper server)
Also, I've set up an old machine to act as a print server (Ubuntu Breezy (Dapper won't ackle - machine too old)).
All working fine at home - I can share and print from home computers.
However, if the print queue pauses - then I seem to have to un-pause it from the Ubuntu box which I can see being a problem as I wanted it to run headless sitting underneath the printer and VNC into isn't really an option for my teachers when I'm not there.
Any suggestions to auto restart queue on power cycling? (or anything else)
Or a DFA would be welcome.
regards
Simon
-
-
IDG Tech News
-
21st September 2006, 10:20 AM #2 Re: Using old machine as Print Server
Dapper won't ackle - machine too old
Use the server install disk.
However, if the print queue pauses - then I seem to have to un-pause it from the Ubuntu box which I can see being a problem as I wanted it to run headless sitting underneath the printer and VNC into isn't really an option for my teachers when I'm not there.
Use a passthru driver rather than the native driver for Linux with the printer. Your windows machines will be able to control/query the printer normally that way.
Any suggestions to auto restart queue on power cycling? (or anything else)
cronjob that repeatedly unpauses the queue?
-
-
21st September 2006, 10:31 AM #3 Re: Using old machine as Print Server
Use the server install disk.
I don't do "No GUI" anymore - too old (I ride my bike all year round to prove that I'm no quiche eater :-) )
Use a passthru driver rather than the native driver for Linux with the printer.
Where do I buy one of them from?
cronjob that repeatedly unpauses the queue?
Ooh - I vaguely remember the lecturer telling me about cronjobs on my Unix course 23 years ago - I'll see if I can find my notes :-)
regards
Simon
-
-
21st September 2006, 10:59 AM #4 Re: Using old machine as Print Server
I don't do "No GUI" anymore - too old
The LiveCD install requires a machine with 256mb or more of ram. The text server/alternate install requires one with 32mb.
If you require an 'easy' way to manage the machine. Install webmin.
Where do I buy one of them from?
Set the printer driver to 'raw'. You might also need to uncomment the line starting with 'application/octet-stream' in mime.conv and mime.types.
Ooh - I vaguely remember the lecturer telling me about cronjobs on my Unix course 23 years ago - I'll see if I can find my notes
If you don't understand the format, have a look at the man page for crontab. There's an example right at the bottom of the page.
http://www.hmug.org/man/5/crontab.php
The actual cups command you need to unpause your printer will be something like:
Code:
accept -U username SomeQueue
Replace 'username' and 'SomeQueue' with the relevant values.
The other thing to check is that you've actually allowed samba to access cups. Check the /admin permissions in cups.conf. I have the following set.
Code:
<Location /admin>
Order deny,allow
Deny from all
Allow from localhost
AuthType Basic
AuthClass System
Satisfy any
</Location>
-
-
21st September 2006, 11:39 AM #5 Re: Using old machine as Print Server
And of course you can always use the web interface for cups, located on port 631 on your server.
i.e. http://printeserver:631/
-
-
21st September 2006, 04:08 PM #6 Re: Using old machine as Print Server
@geoff
Ta for all the info.
But why does samba need access to cups. I thought cups was independant from samba. AFAIK I've didn't even install samba to get the printserver to work :?
@budgester
Just get error messages (even if trying to access it on the Ubuntu machine itself using http://localhost:631/ - I get connection refused)
regards
Simon
-
-
21st September 2006, 04:33 PM #7 Re: Using old machine as Print Server
Samba gets info from the windows clients when they try and manipluate the print queues. It has to tell CUPS what the windows clients want.
If you've not setup Samba + CUPS then this isn't ever going to work like you want.
-
-
21st September 2006, 10:25 PM #8 Re: Using old machine as Print Server

Originally Posted by
SimpleSi Problem.
Got a couple of new HP 1000 business inkjets - they only have USB port - tried USB printserver - won't recognise printer - googled and talked to other people and seems some HP printers (this being one of them) won't talk to anything other than HP printserver (£300).
Are you sure about those printers? I have had sucess with them on a Netgear USB print server in a friends office. But you are right HP printers do prefer HP Print Servers, but you can use others, and TBH the cards to go in the BIJ rang are not quite £300, I thought they were more like £150, hence why I tend to get them with networking out of the box even if I don't use it. If the card is removable I remove it and keep it for a printer without etc....
-
-
22nd September 2006, 07:01 AM #9
-
-
22nd September 2006, 04:51 PM #10 Re: Using old machine as Print Server
Found out the command to run the cups web interface is
Code:
http://ServerIPAddress:631/printers/NameOfPrinter
However, as usual it doesn't quite work properly (something to do with the Ubuntu using sudo and not running as root according to a bit of googling)
I've not tried setting up samba/crontab yet - I'll see what happens with a week of testing with one class and a teacher printing to it.
regards
Simon
-
SHARE:
Similar Threads
-
By link470 in forum Windows
Replies: 10
Last Post: 8th December 2007, 02:03 PM
-
Replies: 7
Last Post: 30th May 2007, 03:52 PM
-
By drewinc in forum Windows
Replies: 8
Last Post: 22nd May 2007, 09:02 AM
-
By RoyG in forum ICT KS3 SATS Tests
Replies: 6
Last Post: 19th April 2007, 12:44 AM
-
By kiran in forum Thin Client and Virtual Machines
Replies: 5
Last Post: 26th February 2007, 07:51 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules