+ Post New Thread
Results 1 to 10 of 10
*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 ...
  1. #1

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,720
    Thank Post
    1,451
    Thanked 580 Times in 434 Posts
    Rep Power
    165

    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

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223

    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?

  3. #3

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,720
    Thank Post
    1,451
    Thanked 580 Times in 434 Posts
    Rep Power
    165

    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

  4. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223

    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
    Code:
    sudo crontab -e
    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>

  5. #5
    budgester's Avatar
    Join Date
    Jan 2006
    Location
    Enfield, Middlesex
    Posts
    480
    Thank Post
    4
    Thanked 37 Times in 30 Posts
    Rep Power
    23

    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/

  6. #6

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,720
    Thank Post
    1,451
    Thanked 580 Times in 434 Posts
    Rep Power
    165

    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

  7. #7

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223

    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.

  8. #8

    john's Avatar
    Join Date
    Sep 2005
    Location
    London
    Posts
    10,439
    Thank Post
    1,468
    Thanked 1,035 Times in 908 Posts
    Rep Power
    299

    Re: Using old machine as Print Server

    Quote 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....

  9. #9

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,720
    Thank Post
    1,451
    Thanked 580 Times in 434 Posts
    Rep Power
    165

    Re: Using old machine as Print Server

    @john
    Checked prices again and see that the HP USB printserver has come down - when I bought the printers (and a D-link server for £50) before the holidays they were £299 at Dabs

    Couldn't send the D-link back as too long as passed!!!

    I told the head at the time that I'd heard that USB printservers were a bit iffy and he decided to risk it (we'd just lost one of old 2300s RIP )

    The new Business Inkjet 1000 has no removeable panel for a netcard.

    I don't feel I can risk another attempt at purchasing a cheap one (Netgear) and can't justify £150 for the HP one without giving this Linux route a go first.

    Some you win - some you lose

    regards

    Simon

  10. #10

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,720
    Thank Post
    1,451
    Thanked 580 Times in 434 Posts
    Rep Power
    165

    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:
+ Post New Thread

Similar Threads

  1. Print Server on XP
    By link470 in forum Windows
    Replies: 10
    Last Post: 8th December 2007, 01:03 PM
  2. Samba/Cups print server
    By Geoff in forum *nix
    Replies: 7
    Last Post: 30th May 2007, 03:52 PM
  3. Print Spooler on Print Server
    By drewinc in forum Windows
    Replies: 8
    Last Post: 22nd May 2007, 09:02 AM
  4. Can you run the KS3 Test server stuff on an XP machine?
    By RoyG in forum ICT KS3 SATS Tests
    Replies: 6
    Last Post: 19th April 2007, 12:44 AM
  5. Virtual Machine.... Server 03
    By kiran in forum Thin Client and Virtual Machines
    Replies: 5
    Last Post: 26th February 2007, 06: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
  •