Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-10-2003, 01:04 AM   #1
LQ Newbie
Registered: Dec 2003
Posts: 5

Rep: Reputation: 0
printing from win 98 client to samba printer on red hat linux with cups

I have one Red Hat Linux 8 machine and 4 windows 98 clients. I want to configure the Red Hat Linux 8 machine as a printer server with CUPS. The printer is a LaserJet with drivers only for WIN 98.
I want to install the Laserjet on Red Hat Linux 8 machine as a raw printer. The win 98 clients should be
able to print to the Linux machine using the vendor supplied driver for win98.

I installed Red Hat Linux 8, Samba 2.2 and the default printing system as cups.

My /etc/samba/smb.conf is as follows

workgroup = funwin
netbios name = AMAZON
server string = Amazon Samba Server
security = SHARE
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
printing = cups
printcap name = cups
# printer driver file = /usr/local/shashi/samba/print/printers.def
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No

comment = All Printers
path = /var/spool/samba
guest ok = Yes
printable = Yes
printing = cups
printcap name = cups
print command = lpr -P%p -o raw %s -r
browseable = yes
# min print space = 2000

comment = raw_q
path = /var/spool/samba
read only = No
guest ok = Yes
printable = Yes
print command = lpr -P%p -o raw %s -r
printer name = raw_q
use client driver = Yes

I have changed /etc/cups/mime.convs and /etc/cups/mime.types to allow raw printing

when a win 98 machine wants to prints the job appears in the /var/spool/samba/ directory. It stays in the spool for some time and disappears without any printing on the printer.

I want to know how to configure any printer on Linux with CUPS and Samba using the client ( specifically win 98) supplied drivers. The printer driver for win 98 are installed manually by the users.

Last edited by shashi_lq; 12-10-2003 at 01:18 AM.


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
Help with printing to Windows printer with cups and samba. Royle Linux - Networking 3 01-23-2005 12:16 PM
Struggling with Samba CUPS win printer issue VBAHole22 Linux - Newbie 13 06-18-2004 08:47 PM
Samba Printing to Win Client brokenflea Linux - Networking 0 02-23-2004 01:38 AM
Printing to Windows XP printer fromRed Hat 7.3 using CUPS lansman Linux - Networking 8 11-24-2003 02:29 PM
Samba printing to CUPS printer kris.kj.jacobs Linux - Networking 1 11-02-2001 03:42 PM > Forums > Linux Forums > Linux - Networking

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

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