Unix Technical Forum

cups & windows printing

This is a discussion on cups & windows printing within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Robert wrote: > <snip, snip, snip, and snip-snip> > > Send that to the Samba team. I think you ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-19-2008, 03:17 PM
Les Orton
 
Posts: n/a
Default Re: cups & windows printing

Robert wrote:

> <snip, snip, snip, and snip-snip>
>
> Send that to the Samba team. I think you broke the record for the most
> errors.
>
> Agree with /dev/rob0.
>
> What are you using for an editor? And why are you having so much
> trouble?
>

Sorry Robert as I said I used your file (copy & paste)!!
The format is not the same as a "clean" file.
I have put back the old smb.conf & rerun testparm the results are below.
I have shared the /var/spool/samba directory & now don't get access
problems, but still no printing.
I think it must be cups, unless I have missed something obvious.

Thanks again.
Lez
ps I use Kedit & webmin to edit smb.conf, no M$ Windows.

Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[doc]"
Processing section "[tmp]"
Processing section "[all]"
Processing section "[hprint]"
Processing section "[var]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

# Global parameters
[global]
workgroup = MYGROUP
netbios name = SLACK
server string = Samba Server
null passwords = Yes
log file = /var/log/samba.%m
max log size = 50
dns proxy = No
path = /var/spool/samba
read only = No
guest ok = Yes
printer name = hp960c

[homes]
comment = Home Directories

[printers]
comment = All Printers
hosts allow = all
printable = Yes
use client driver = Yes
browseable = No

[doc]
path = /docs

[tmp]
path = /tmp

[all]
comment = Salck10
path = /
read only = Yes

[hprint]
path = /tmp
guest ok = No
printable = Yes
printer name = hprint

[var]

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-19-2008, 03:18 PM
Robert
 
Posts: n/a
Default Re: cups & windows printing

Les Orton wrote:

> Robert wrote:
>
>> <snip, snip, snip, and snip-snip>
>>
>> Send that to the Samba team. I think you broke the record for the
>> most errors.
>>
>> Agree with /dev/rob0.
>>
>> What are you using for an editor? And why are you having so much
>> trouble?
>>

> Sorry Robert as I said I used your file (copy & paste)!!
> The format is not the same as a "clean" file.
> I have put back the old smb.conf & rerun testparm the results are
> below. I have shared the /var/spool/samba directory & now don't get
> access problems, but still no printing.
> I think it must be cups, unless I have missed something obvious.
>
> Thanks again.
> Lez
> ps I use Kedit & webmin to edit smb.conf, no M$ Windows.
>
> Load smb config files from /etc/samba/smb.conf
> Processing section "[homes]"
> Processing section "[printers]"
> Processing section "[doc]"
> Processing section "[tmp]"
> Processing section "[all]"
> Processing section "[hprint]"
> Processing section "[var]"
> Loaded services file OK.
> Server role: ROLE_STANDALONE
> Press enter to see a dump of your service definitions
>
> # Global parameters
> [global]
> workgroup = MYGROUP
> netbios name = SLACK
> server string = Samba Server
> null passwords = Yes
> log file = /var/log/samba.%m
> max log size = 50
> dns proxy = No
> path = /var/spool/samba
> read only = No
> guest ok = Yes
> printer name = hp960c
>
> [homes]
> comment = Home Directories
>
> [printers]
> comment = All Printers
> hosts allow = all
> printable = Yes
> use client driver = Yes
> browseable = No
>
> [doc]
> path = /docs
>
> [tmp]
> path = /tmp
>
> [all]
> comment = Salck10
> path = /
> read only = Yes
>
> [hprint]
> path = /tmp
> guest ok = No
> printable = Yes
> printer name = hprint
>
> [var]



When you setup cups and show /etc/printcap in smb.conf, the samba will
pickup all your printers from the printcap file as shown here.

[global]
loadÂ*printersÂ*=Â*yes
printcapÂ*nameÂ*=Â*/etc/printcap
printingÂ*=Â*cups

[printers]
commentÂ*=Â*printers
pathÂ*=Â*/var/spool/samba
browseableÂ*=Â*yes
guestÂ*okÂ*=Â*yes
writableÂ*=Â*yes
printableÂ*=Â*yes
useÂ*clientÂ*driversÂ*=Â*yes

This is a clean simple setup that works on everything I setup. I kept
everything vanilla simple. Easy to maintain.

Which Windows OS are you using. I forgot. If it is XP, there has been
some reported issues with it. google: "samba xp print" you'll see a lot
of issues like this;
http://www.netsys.com/openbsd-misc/2.../msg00901.html
Seems XP gives samba some grief. Keep notes on the changes you make, so
you can un-change them if you need to, and it's a good method to fix
things.

If you continue to have problems and can't find anything in google, post
something to the linux.samba newsgroup giving them the samba version,
Windows OS. The samba team hang out there.

Please keep pass along your outcome to the group.


--
Robert - slackware

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 02-19-2008, 03:20 PM
Les Orton
 
Posts: n/a
Default Re: cups & windows printing

Robert wrote:


> When you setup cups and show /etc/printcap in smb.conf, the samba will
> pickup all your printers from the printcap file as shown here.
>
> [global]
> load*printers*=*yes
> printcap*name*=*/etc/printcap
> printing*=*cup
>
> [printers]
> comment*=*printers
> path*=*/var/spool/samba
> browseable*=*yes
> guest*ok*=*yes
> writable*=*yes
> printable*=*yes
> use*client*drivers*=*yes
>
> This is a clean simple setup that works on everything I setup. I kept
> everything vanilla simple. Easy to maintain.
>
> Which Windows OS are you using. I forgot. If it is XP, there has been
> some reported issues with it. google: "samba xp print" you'll see a lot
> of issues like this;
> http://www.netsys.com/openbsd-misc/2.../msg00901.html
> Seems XP gives samba some grief. Keep notes on the changes you make, so
> you can un-change them if you need to, and it's a good method to fix
> things.
>
> If you continue to have problems and can't find anything in google, post
> something to the linux.samba newsgroup giving them the samba version,
> Windows OS. The samba team hang out there.
>
> Please keep pass along your outcome to the group.


Robert What an idiot I am!!
I sat down & went through the printing again, I had cups set up to print to
HP960C & the Windows 2000 box set up with the HP drivers as well!!!
I overlooked it all this time.
I can now print something from the Windows box, I just need to work out the
drivers.

Thanks for all your help, at least I learned something from all this.

regards Lez
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 02-19-2008, 03:20 PM
Robert
 
Posts: n/a
Default Re: cups & windows printing

Les Orton wrote:

>
> Robert What an idiot I am!!
> I sat down & went through the printing again, I had cups set up to
> print to HP960C & the Windows 2000 box set up with the HP drivers as
> well!!! I overlooked it all this time.
> I can now print something from the Windows box, I just need to work
> out the drivers.
>
> Thanks for all your help, at least I learned something from all this.
>
> regards Lez


Well... sounds like some things I've done. Glad you made it simple.

When I setup the Windows drivers, I just used the plain Deskjet entry
from the selection, no particular printer. Works everytime.

Now you're ready to help the next soul that comes along.

--
Robert - slackware

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:33 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com