Koozali.org: home of the SME Server

How to setup network printer...Please grade this...

SloopJohnB

How to setup network printer...Please grade this...
« on: October 23, 2003, 09:17:01 AM »
I typed up the steps I took to create a network print-server (Hawking Tcp-Ip print server)> The only problem is that I get an "Access denied, unable to connect" error message when opening the the printer status windows in WindowsXP. Here are steps, soes anyone know what I left out??

SloopJohnB

How to setup a Hawking network print-server on SME 6.03b Server

1)   login to https://mydomain/server-manager
2)   go to hostnames and addresses
3)   add a hostname (call it “print.mydomain.com)” select “local” for location.
4)   Click “next”
5)   Add ip address AND THE MAC ADDRESS (Ethernet address) (be sure to choose an address out of the DHCP range, ie 192.168.0.252)
6)   Click “add”
7)   Verify print server is setup for DHCP. Go to www.hawking-tech.com for print server software and manuals.
8)   Go to “prnters”
9)   Click “add printer”
10)   Enter printer name (ie hplaserj)
11)   Add a short description (where located…)
12)   Choose “network printer…” for location
13)   Click add
14)   For ip address or hostname enter hostname (ie, print.mydomain.com)
15)   Enter lp1 (or lp2, or lp3 for 3 port print server) for “network printer name”
16)   Wait a few seconds for server to update
17)   Go to Windows “Add printer” wizard and locate the printer in the tree and install drivers as needed.
18)   Print a test page and viola !

Tom Keiser

Re: How to setup network printer...Please grade this...
« Reply #1 on: October 23, 2003, 09:59:17 AM »
The "access denied" message probably won't keep you from printing. This has been discussed here before, and my fix is to move "50printers" from /etc/e-smith/templates/etc/smb.conf directory into etc/e-smith/templates-custom/etc/smb.conf/ and change guest to "yes" then do /sbin/e-smith/signal-event post-upgrade followed by /sbin/e-smith/signal-event reboot. The change will then be effective and the access denied msg will go away. I believe this works will all versions of SME that have the problem.

Your howto looks good, except that some print-servers will need different care and feeding to setup, or will use different port names, or will allow you to set up services for which you can then choose your own  names.

Regards,

Tom

Byte

Re: How to setup network printer...Please grade this...
« Reply #2 on: October 23, 2003, 02:06:42 PM »
why would you do /sbin/e-smith/signal-event post-upgrade then reboot?

Surely a /sbin/e-smith/expand-template /etc/smb.conf would work followed possible by service smb restart if I remember rightly :-/

Jens Kruuse

Re: How to setup network printer...Please grade this...
« Reply #3 on: October 24, 2003, 02:03:01 AM »
I just tested Byte's method and it seems to work on 5.6 and a Win2kPro ws.

/Jens

Paul Andersen

Re: How to setup network printer...Please grade this...
« Reply #4 on: October 24, 2003, 05:19:05 AM »
Thank you ... this resolved my problem that this newbie had been struggling with.

Byte's smb restart was used rather than the "reboot" option.

Graeme Fleming

Re: How to setup network printer...Please grade this...
« Reply #5 on: October 25, 2003, 02:31:40 PM »
btw - do NOT move the template, copy it.  The whole idea behind the template system is that the default template set is left intact to allow for a standard config if the customisation messes up.

David Bray

Re: How to setup network printer...Please grade this...
« Reply #6 on: November 24, 2003, 11:15:53 AM »
Welcome tip on access denied

if you do;
- smbstatus -b
- kill

smb.conf is re-read and changes are visible

liunam

Re: How to setup network printer...Please grade this...
« Reply #7 on: January 23, 2004, 02:14:01 AM »
Quote from: "Tom Keiser"
The "access denied" message probably won't keep you from printing. This has been discussed here before, and my fix is to move "50printers" from /etc/e-smith/templates/etc/smb.conf directory into etc/e-smith/templates-custom/etc/smb.conf/ and change guest to "yes"


I have not been able to get this to work.  I did some more search in Google this tip did the trick.  Add the following line in the 50printers file:    

   use client driver = yes

dwater

Re: How to setup network printer...Please grade this...
« Reply #8 on: March 19, 2005, 07:28:32 AM »
Quote from: "liunam"
Quote from: "Tom Keiser"
The "access denied" message probably won't keep you from printing. This has been discussed here before, and my fix is to move "50printers" from /etc/e-smith/templates/etc/smb.conf directory into etc/e-smith/templates-custom/etc/smb.conf/ and change guest to "yes"


I have not been able to get this to work.  I did some more search in Google this tip did the trick.  Add the following line in the 50printers file:    

   use client driver = yes


This worked for me too.

Note that, although it said 'access denied...' next to the printer icon, some apps would print anyway. One app that refused to print was Adobe Reader 7.0.

Offline smeghead

  • *
  • 563
  • +0/-0
How to setup network printer...Please grade this...
« Reply #9 on: March 19, 2005, 05:40:20 PM »
In case you don't know this can be done using James Prices Adv Worksgroup contrib; up to 6.0.1 only

HTH
..................

dwater

How to setup network printer...Please grade this...
« Reply #10 on: March 20, 2005, 02:37:36 AM »
Quote from: "smeghead"
In case you don't know this can be done using James Prices Adv Worksgroup contrib; up to 6.0.1 only

HTH


Sounds good. Do you have a link to this contrib - I can't find it?

Thanks.

Max.

Offline smeghead

  • *
  • 563
  • +0/-0
..................

mbachmann

How to setup network printer...Please grade this...
« Reply #12 on: March 21, 2005, 11:49:03 AM »
And please note also, that this adv-wkg-contrib is for samba version 2.8 and not for upgraded machines (like the upgrade script provides Samba 3.x).