Print sharing

User avatar
rgmhtt
Posts: 421
Joined: Sun Jan 11, 2009 9:26 am

Print sharing

Postby rgmhtt » Sun Sep 13, 2009 5:54 am

I want to put a printer on an AMAHI server and share it as usual for a Workgroup, as LTP1:

How do I set up a printer share?

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Print sharing

Postby moredruid » Mon Sep 14, 2009 1:08 am

in linux (& samba) or on windows?
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

User avatar
rgmhtt
Posts: 421
Joined: Sun Jan 11, 2009 9:26 am

Re: Print sharing

Postby rgmhtt » Mon Sep 14, 2009 3:01 am

Well I did not know that you could share a printer to a linux system as LTP1:

But I admit that is a little indirect to say for Windows so that a:

Net use ltp1: \\hda\print1

would work to gain access to the printer on the server.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Print sharing

Postby bigfoot65 » Mon Sep 14, 2009 4:41 am

See the guidance in the wiki http://wiki.amahi.org/index.php/Adding_ ... ed_printer. This will work for Windows machines.

If you have any problems, please let us know and someone will be glad to assist.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
rgmhtt
Posts: 421
Joined: Sun Jan 11, 2009 9:26 am

Re: Print sharing

Postby rgmhtt » Mon Sep 14, 2009 4:57 am

I will forward this URL to my son to try out.

Meanwhile I do have one question. It says:
Optional: The printer status message problem can be corrected by adding the following line to the /etc/samba/smb.conf file under the printers section:

[printers]
use client driver = yes
But the smb.conf file gets overwritten everytime you make a Shares change in the dashboard.

Where is the script that creates the smb.conf file so the change can be made there?

(I have a similar question in the developers forum about PDC logon scripts).

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Print sharing

Postby bigfoot65 » Mon Sep 14, 2009 2:08 pm

It should make a backup so you shouldn't lose anything. I have made shares since adding the line to my smb.conf file and it's still there.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
rgmhtt
Posts: 421
Joined: Sun Jan 11, 2009 9:26 am

Re: Print sharing

Postby rgmhtt » Mon Sep 14, 2009 3:42 pm

I found the source file for smb.conf at:

/usr/share/hdactl/samba/smb.conf

Make the change there and it will persist (until some hda update replaces that file!).

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Print sharing

Postby cpg » Mon Sep 14, 2009 4:45 pm

er ... nope. that file is a very generic initial setup.

smb.conf is dynamically generated.

by default it exports printers that are configured (with cups, which is the default).
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 13 guests