Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-30-2003, 10:37 PM   #16
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57

hmmm...well I know this thread is old but I'm having a similar issue. I have a samba server set up and I can print to it just fine from my laptop which is running Windows. I can't seem to connect to the printer from any of my Linux machines however. I'm using cups through samba and I was under the impression that I could completly bypass samba all together and print directly to cups from other Linux clients. For some reason I can not connect to cups on the samba server. A port scan of the samba server does not show cups(ipp) as listening for connections. It seems that cups is running off the loopback interface which may be my problem.

Any idea how to print to this machine from my Linux boxes?
Old 01-06-2004, 02:08 PM   #17
LQ Newbie
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
I am getting a very similar problem as cezarn. I have Mandrake 9 on one machine, and WinXP on the other. My printer is an HP DeskJet 712C and is attached to the Linux machine. Local printing works fine.

Like cezarn said, I can see the printer in the "my network places" in WinXP; it's listed under my Linux machine. When I go to add the printer in WinXP, I get a message saying:

"The server for your printer does not have the correct printer drivers installed. If you want to search for the proper driver, click OK. Otherwise, click cancel and contact your network admin for the correct driver."

After clicking OK, I get a list of manufacturers and models. I choose the appropriate driver, and click ok. The printer is now added, and the status is listed as "ready".

I try printing from notepad, and I get an error message: "A StartDocPrinter call was not issued." and nothing prints. In MS Word, the printer status is listed as "idle". I try printing, and I get a different error message:

"Windows cannot print due to a problem with the current printer setup. Try one or more of the following:
Try printing a test page from windows.
Make sure the printer is turned on and is online.
Reinstall the printer driver."

Here is my /etc/samba/smb.conf file:

# Samba config file created using SWAT
# from localhost.localdomain (
# Date: 2003/12/23 23:27:24

# Global parameters
workgroup = SCHWARTZ
netbios name = MANDRAKE
server string = Linux Box
security = DOMAIN
encrypt passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
dns proxy = No
printing = cups

comment = Home Directories
read only = No
browseable = No

path = /var/lib/samba/profiles
guest ok = Yes
browseable = No

comment = All Printers
path = /home/smbprint
guest account = smbprint
create mask = 0700
guest only = Yes
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
use client driver = Yes
browseable = No

path = /var/lib/samba/printers
write list = @adm root

comment = PDF Generator (only valid users)
path = /var/tmp
printable = Yes
print command = /usr/share/samba/scripts/print-pdf %s ~%u \\\\\\\\%L\\\\%u %m %I &

comment = HP DeskJet 712C
path = /home/smbprint
guest account = smbprint
read only = No
create mask = 0700
guest only = Yes
guest ok = Yes
hosts allow = 192.168.0., 127.0.0.
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
printer name = DJ712C
use client driver = Yes
oplocks = No

Any help is greatly appreciated, as this is a very frustrating issue.



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
Printing from Linux to Windows Printer matrim Linux - Networking 9 10-11-2005 01:07 AM
Setting up printer on Linux and printing to it from Windows gljubuncic Linux - Software 3 06-06-2005 03:49 PM
Printing to a Linux printer via Windows jacquedp Linux - Networking 1 06-14-2004 08:53 PM
Printing from Linux to a Windows printer unswt101 Linux - Software 1 05-05-2004 12:55 PM
Printing to a windows printer from Linux 9 star2a Linux - Networking 2 10-09-2003 03:34 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:18 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration