LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-24-2006, 02:48 PM   #1
MORA
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Rep: Reputation: 0
Samba+Cups lexmark printing from windows


Hi,

I am trying to make my deban sarge act like a printserver for Lexmark Z705.

Sofar I have configured cups and samba, I have installed the right drivers on the server and cups drivers on the windows xp platform.

Printing from command line with "lp filename" works fine.
But when I try to print from the windows machine, cups looks like its about to print and then says the job is complete without printing anything.

The last few lines of the log.
I [24/Feb/2006:21:46:23 +0100] Started backend /usr/lib/cups/backend/z700 (PID 3004) for job 24.
D [24/Feb/2006:21:46:23 +0100] ProcessIPPRequest: 5 status_code=0
D [24/Feb/2006:21:46:23 +0100] CloseClient: 5
D [24/Feb/2006:21:46:24 +0100] UpdateJob: job 24, file 0 is complete.
D [24/Feb/2006:21:46:24 +0100] CancelJob: id = 24
D [24/Feb/2006:21:46:24 +0100] StopJob: id = 24, force = 0
D [24/Feb/2006:21:46:24 +0100] StopJob: printer state is 3

The printer is not inited and nothing is printed at it.


some smb.conf

print command = echo print %p %s;lp -d%p %s;rm %s
cups options = "raw"
use client driver = no
load printers = yes
printing = cups
printcap name = cups


[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
create mode = 0700



Any ideas ?
 
Old 02-25-2006, 11:20 AM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697

Rep: Reputation: 61
Read this article. It might be what you need.
http://www.tldp.org/HOWTO/Debian-and...h_windows.html

Brian1
 
Old 02-25-2006, 03:01 PM   #3
MORA
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Original Poster
Rep: Reputation: 0
No luck, only thing I did different was having guest account = guest, and not having guest only set on the printer section.

When I print now it shows smbprint as the owner, but still just runs it trough and says complete without printing it.
Aperently no errors, will try updateing the software listed.
 
Old 02-25-2006, 03:52 PM   #4
MORA
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Original Poster
Rep: Reputation: 0
didnt help, updated the mentioned software and ran a upgrade, restarted samba and cups, but stills ame results.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS+SAMBA: slow printing from windows hamish Linux - Networking 2 07-06-2005 11:27 AM
Help with printing to Windows printer with cups and samba. Royle Linux - Networking 3 01-23-2005 12:16 PM
Printing from Windows to CUPS using SAMBA 2.2.7 nothing prints SOLVED ja_nch Linux - Networking 1 09-19-2003 05:19 AM
Windows printing to CUPS via Samba JahToasted Linux - General 0 08-22-2003 02:28 PM
Printing to Windows with Samba and CUPS, error questions messenjah Linux - Software 1 07-22-2003 07:15 PM


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

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
Open Source Consulting | Domain Registration