+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
Windows Thread, Using a Windows XP Client as a Print Server in Technical; I use a script that looks at at the PC's name and compares it to an answer file to see ...
  1. #1
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    671
    Thank Post
    41
    Thanked 16 Times in 15 Posts
    Rep Power
    20

    Using a Windows XP Client as a Print Server

    I use a script that looks at at the PC's name and compares it to an answer file to see what printer should be the default printer. That works fine as long as the printer is shared on the server as a local printer or via a print server.

    Now we have Epson C84 printers in every classroom with even more consumables so they need to be used. If I share the printer locally on the client PC the script won't pick up the printer. I should say at this point all client PC's are DHCP. So I gave the client PC a static IP adress and then shared the printer from the server ie local printer, create new port, and enter the IP of the machine now this works the script then points the pc to the printer on log on but I am unable to actually print. I can see the printer, the prints waiting to be printed I can even delete them but just not print.

    This is possible without a physical print server isnt it?

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Using a Windows XP Client as a Print Server

    XP Pro is limited to 10 inbound connections. Your machines will be connecting to setup the printer on startup/login (depending on how your script works). This'll hang printouts until these connections have cleared and there are less than 10 connections. Conceivably this can be several hours.

    You have several ways round this:

    1) A Linux print server.
    2) An old Win9x machine as a print server.
    3) A dedicated hardware print server
    4) Get rid of your desktop based printers and get one or more decent network printer(s).

  3. #3

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,809
    Thank Post
    1,476
    Thanked 592 Times in 444 Posts
    Rep Power
    168

    Re: Using a Windows XP Client as a Print Server

    So I gave the client PC a static IP adress and then shared the printer from the server ie local printer, create new port, and enter the IP of the machine now this works the script then points the pc to the printer on log on but I am unable to actually print.
    Where does it say in the book that this would work at all


    regards

    Simon

  4. #4
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,958
    Thank Post
    248
    Thanked 49 Times in 45 Posts
    Blog Entries
    2
    Rep Power
    46

    Re: Using a Windows XP Client as a Print Server

    I use the printUI.dll method as a logon script on the local machine - in rooms with 10 or less machines (he doesn't say he connects to more Geoff) - we have some printers without print servers - we just think of this as a stop gap measure - scripting centrally is problematic as the script slows down if PCs are not turned on - scripting locally gets around this nicely.

  5. #5

    Join Date
    Apr 2006
    Location
    West Midlands
    Posts
    314
    Thank Post
    29
    Thanked 19 Times in 18 Posts
    Rep Power
    20

    Re: Using a Windows XP Client as a Print Server

    We have now invested in mini Netgear USB Print Server's which are quite good!!!

    I don't know what experiences other people have had of these, but they work fine although they need a power supply.

  6. #6
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Using a Windows XP Client as a Print Server

    You could route all your printing via a server as follows;

    1 - Share the printer on the PC (eg \\PC01\printer1)
    2 - Create a new port on the server (\\PC01\printer1)
    3 - Install a new 'local' printer on the server attached to port \\PC01\printer1
    4 - Share the new printer on the server \\server\printer1
    5 - Connect clients to the printer on the server

    Print jobs will all route via the queue on the server. This way it will only be the server sending jobs out to PC01 (gets around the max 10 connections limit).

  7. #7
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    671
    Thank Post
    41
    Thanked 16 Times in 15 Posts
    Rep Power
    20

    Re: Using a Windows XP Client as a Print Server

    ajbritton I am going to try this we only have a maximum of 6 pc's in the classrooms with these printers, so your solution looks really good I will post back tomorrow with the results.

    Thanks

  8. #8

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,809
    Thank Post
    1,476
    Thanked 592 Times in 444 Posts
    Rep Power
    168

    Re: Using a Windows XP Client as a Print Server

    @aj

    What a clever idea

    Have you used this setup under load conditions?

    regards

    Simon

  9. #9

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Using a Windows XP Client as a Print Server

    I'm not sure that works. When I tried it on my W2k3 server to get round exactly this issue, Windows 'shortcuts' the roundabout way the printer has been set up and just attempts to print directly to the other XP client. You can verify this by seeing where the port is configured to go to on the client PC.

  10. #10
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Using a Windows XP Client as a Print Server

    @Geoff: Don't believe your eyes. I know what you mean, that when you are logged on to a PC and look at the properties of a network connected printer, the ports shown are exactly the same as you would see if you were at the server. You will see the same thing though for printers which are directly connected to the server, or via any other remote print server. Windows certainly doesn't shortcut the connection to other remote print devices, so I see no reason why it should do so in this case. One way to prove this would be to firewall the PC hosting the printer and only allow incoming connections from the server hosting the print queue.

  11. #11
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    671
    Thank Post
    41
    Thanked 16 Times in 15 Posts
    Rep Power
    20

    Re: Using a Windows XP Client as a Print Server

    Well I have been playing with this a day now. The easy bit is setting up the Printer as AJ describes above. I can then send a test page from the server no problem, but on a PC I just get an error "unable to print" ths does not matter if I am logged in as admin or as a user.

    Very strange unless this is the Max 10 inbound connections that Geoff was on about causing the problem.

  12. #12
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Using a Windows XP Client as a Print Server

    Anything in the event logs?

  13. #13
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    671
    Thank Post
    41
    Thanked 16 Times in 15 Posts
    Rep Power
    20

    Re: Using a Windows XP Client as a Print Server

    Took a while to manage to get back to this one busy days

    Wel I had a look in the event logs and this is what I am getting
    PHP Code:
    Event Type:    Error
    Event Source
    :    Print
    Event Category:    None
    Event ID
    :    6161
    Date
    :        07/12/2006
    Time
    :        15:44:11
    User
    :        DOMAIN\user
    Computer
    :    SERVER
    Description
    :
    The document Microsoft Word example.doc owned by user failed to print on printer Science EPSON Stylus C84Data typeNT EMF 1.008Size of the spool file in bytes46360. Number of bytes printed0. Total number of pages in the document1. Number of pages printed0. Client machine: \\PC-01. Win32 error code returned by the print processor5. Access is denied.


    For 
    more informationsee Help and Support Center at [url]http://go.microsoft.com/fwlink/events.asp[/url]. 

    I have popped over to eventid.net and found many solutions including this one

    From a newsgroup post: "Please grant Full Control permissions to the C:\WINDOWS\System32\spool\ directory".
    Have you experienced this error? as I said before I am find when logged in with admin rights, so I am going to try the above and see that works in the morning unless you have any solution.

  14. #14
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Using a Windows XP Client as a Print Server

    Which machine was this error found on? Source of print job, server or printer host?

  15. #15
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    671
    Thank Post
    41
    Thanked 16 Times in 15 Posts
    Rep Power
    20

    Re: Using a Windows XP Client as a Print Server

    Sorry I should have said ops:

    The error was found on the server

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Print Spooler on Print Server
    By drewinc in forum Windows
    Replies: 8
    Last Post: 22nd May 2007, 09:02 AM
  2. SSH Client for Windows Mobile 5
    By Joedetic in forum Windows
    Replies: 5
    Last Post: 23rd June 2006, 01:16 PM
  3. Replies: 14
    Last Post: 12th May 2006, 09:48 AM
  4. Replies: 11
    Last Post: 22nd November 2005, 09:38 AM
  5. Replies: 8
    Last Post: 18th October 2005, 09:27 AM

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
  •