LinuxQuestions.org
Review your favorite Linux distribution.
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 11-21-2004, 09:52 PM   #1
outtacontrol
LQ Newbie
 
Registered: Nov 2004
Posts: 19

Rep: Reputation: 0
samba printing


Having a little samba printing problem. I am able to connect to my file shares, but unable to print from Win98. I have run smbclinet //server/printshare and it prints fine. Here's a copy of my smb.conf file:

# Global parameters
[global]
workgroup = PENGUIN1
netbios name = DMSMB1
server string = Samba Server
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = No
domain master = No
dns proxy = No
printing = cups

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
printer name = deskjet_940C
browseable = No

[data]
path = /home/samba/data
read only = No

[music]
path = /var/ftp/pub/music
read only = No

[deskjet_940C]
path = /var/spool/samba
read only = No
printable = Yes
printer name = deskjet_940C
oplocks = Yes

When I do a test print from Win98, it pops op the Printer test page Completed! message.

Any thoughts, ideas, direction on this would be greatly appreciated.

Thanks,
 
Old 11-22-2004, 12:01 PM   #2
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
When setting up a printer on a windows system set it up as an apple post script 600. Cups takes the postscript and turns it into something that you printer can understand. From the linux server you can print right?
 
Old 11-22-2004, 01:39 PM   #3
outtacontrol
LQ Newbie
 
Registered: Nov 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Correct. . .yes.
 
Old 11-22-2004, 02:10 PM   #4
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
Did you try to setup an apple postscript 600 on //servername/lpo

# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = /etc/printcap
load printers = yes

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
; printing = cups

# This option tells cups that the data has already been rasterized
cups options = raw

# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
printable = yes
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Samba Printing garr0323 Linux - Newbie 1 10-24-2003 06:38 AM
Samba printing leonardox Linux - Networking 1 08-30-2003 11:49 PM
samba printing haydn Linux - Networking 2 07-29-2003 09:18 AM
samba printing bmcneely0 Linux - Networking 14 07-20-2003 07:07 AM
printing + samba? aeshley Linux - Newbie 1 06-22-2002 10:52 PM


All times are GMT -5. The time now is 11:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration