LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-14-2001, 09:04 AM   #1
kalakamo
LQ Newbie
 
Registered: Aug 2001
Location: Strasbourg / France
Posts: 9

Rep: Reputation: 0
Unhappy Network Printer


Hi everybody,

Here is my problem. I am using the Mandrake 8 on my workstation, I
connected it to the NT domain of my company. I am trying to set it up to
be able to print my stuff... but I am going through some diffculties.

First I created a directory /var/spool/lpd/LexT610, including a file
config containing these lines:
server = PDC1
service = LexT610
password = mypass
user = SYSkappJ

I edited the following line in /usr/bin/smbprint in order to enable my
user account on the PDC1:
/usr/bin/smbclient "\\\\$server\\$service" $password -U $user -N 6P
>>$logfile

Then I edited the /etc/printcap:

LexT610:\
:cm=Lexmark Optra T610:\
:sd=/var/spool/lpd/LexT610:\
:af=/var/spool/lpd/LexT610/acct:\:mx#O:\
:lp=/dev/null:\
:if=/usr/bin/smbprint:\

Finally, here are is how my samba is set up:
printing = cups
print command = /usr/bin/smbprint %p %s
lpq command = /usr/bin/lpstat -o%p
lprm command = /usr/bin/cancel %p-%j
queuepause command = /usr/bin/disable %p
queueresume command = /usr/bin/enable %p

I cannot print at all... using Kword it says "no valid executable was
found" and Netscape crashed when I try to print (with the command lpr -P
LexT610).

Could anybody help me? thanks!
 
  


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
Xante Printer Network Printer, Slack 9.1 Conpen2000 Linux - Hardware 0 01-12-2004 10:08 PM
Network Printer Eros_ Linux - Networking 5 07-26-2003 12:46 PM
setup printer on client machine(slackware 8) to server (slackware7) network printer changwoo Slackware 9 05-02-2003 05:37 PM
Network Printer dadipu Linux - Networking 1 04-23-2003 07:14 AM
Network Printer Tinkster Linux From Scratch 3 11-15-2002 09:22 PM

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

All times are GMT -5. The time now is 11:33 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