LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-04-2006, 02:52 PM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Rep: Reputation: 46
Remote printing through SAMBA/CUPS


I have tried to follow this guide, but it hasn't worked:

http://www.tldp.org/HOWTO/Debian-and...h_windows.html

I'm using:
- Debian 3.1 unstable
- SAMBA 3.0.21b
- CUPS 1.1 (I guess, I'm not sure how to tell)
- HPLJ-6L via parallel connection

I am trying to get an XP box, and a Win2K box to connect, and use the HPJL-6L that is connected via parellel cable to my Debian box. I have had SAMBA up and working for some time. It works fine as far as sharing files goes. I also have CUPS up and working, I have no problem printing locally from the debian box. So far, the windows boxes can not even see the shared printer on Samba, in spite of my best efforts.

Here is what I have done:

- uncommented the following line from
/etc/cups/mime.convs:

application/octet-stream application/vnd.cups-raw 0 -

- uncommented the following line from
/etc/cups/mime.types:

application/octet-stream

- added these lines to
/etc/cups/cupsd.conf:

<Location /printers>
AuthType None
Order Deny,Allow
Deny From None
Allow From All
</Location>


- configured the following in
/etc/samba/smb.conf

[global]
printcap name = cups
printing = cups
security = share

# CUPS printing. See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
printing = cups
printcap name = cups

[printers]
comment = HPLJ6L
browseable = yes
printable = yes
public = yes
create mode = 0700
use client driver = yes
path = /home/smbprint

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no


I have tried restarting cups, samba, and windows, but it doesn't help, the printer just does not show up.

Note: this is a small home LAN, and security is not much of an issue. On the other hand, I really don't need any kind of "guest" access. I have SAMBA accounts set up. The way it works now is: the first time I try to access SAMBA from windows, I have to log in. I am okay with that system.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
printing using cups + samba weeb0_tikris Linux - Networking 3 03-09-2006 10:28 AM
printing to remote cups server m00t00 Linux - General 3 01-22-2006 10:34 PM
CUPS is *really* starting to tick me off... (remote printing through IPP) killerbob Slackware 3 03-27-2005 09:51 AM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
can't get samba+cups to work for remote printing blanny Linux - Networking 0 01-21-2004 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration