LinuxQuestions.org
Visit Jeremy's Blog.
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 07-01-2005, 12:01 PM   #1
benyamin1
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
performance of IPP vs. SAMBA + CUPS


I have a Debian disribution 3.1 installed on PIII 400Mhz and a hp psc1110 printer connected to the USB port. I want to use my linux machine as a printer server so to print from XP machines.

I've set up CUPS and access my printer from XP through IPP protocole. It is very easy to install and reliable. Unfortunately it is very slow (2 min to print the windows test page).

The other solution is SAMBA + CUPS.

--------------------------------------------------------------------------
Did anybody compared the speed of IPP vs SAMBA + CUPS?
---------------------------------------------------------------------------

One could argue "why don't you try?". The problem is I never succeeded to make SAMBA + CUPS works. When I try to print the test page from Windows XP it the job stay eternally in the queue.

Here is my smb.conf file

[global]
workgroup = WORKGROUP
load printers = yes
printing = cups
printcap name = cups
encrypt passwords = yes

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
printer admin = root, @ntadmins

I modified in CUPS mimes.type and mimes.conv to allow raw printing.

I added the printer on windows XP (\\Hpvectra\psc1110) and its windows driver.
Then I tried to print a test page. The job appear on the printer monitor of windows XP but in practice nothing happen.

By checking the logs of samba I found the following:

/var/log/samba/log.smbd

[2005/07/02 00:34:18, 0] lib/util_sock.c:send_smb(647)
Error writing 4 bytes to client. -1. (Connection reset by peer)
[2005/07/02 00:37:30, 0] lib/util_sock.c:get_peer_addr(1150)
getpeername failed. Error was Transport endpoint is not connected
[2005/07/02 00:37:30, 0] lib/util_sock.c:read_socket_data(384)
read_socket_data: recv failure for 4. Error = Connection reset by peer
[2005/07/02 00:37:30, 0] lib/util_sock.c:get_peer_addr(1150)
getpeername failed. Error was Transport endpoint is not connected
[2005/07/02 00:37:30, 0] lib/util_sock.c:read_socket_data(384)
read_socket_data: recv failure for 4. Error = Connection reset by peer
[2005/07/02 00:38:44, 0] lib/util_sock.c:get_peer_addr(1150)
getpeername failed. Error was Transport endpoint is not connected
[2005/07/02 00:38:44, 0] lib/util_sock.c:read_socket_data(384)
read_socket_data: recv failure for 4. Error = Connection reset by peer

a file smbprn.00000010.uJReOf is created in the directory /var/spool/samba but its size is null.

/var/pool/samba is in 777+sticky bit.
drwsrwsrwx 2 root root 4096 2005-07-01 23:52 samba

This is strange because I have no problems sharing files.

--------------------------------------------------------------------------
Did anybody encountered similar issue? I'm running out of solutions.
---------------------------------------------------------------------------

Thx

Benjamin
 
Old 08-13-2006, 05:47 AM   #2
sdebo
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
same story but from the opposite end

I set up the same printer on XP and shared it on the network. Tried linking to it with Samba from Ubuntu 6.06 without much luck. The PSC1110 driver on linux simply queued the job on XP but printer just flashed led. With PSC1100 driver on linux, the printer also moved print head, but no paper traction or actual printing took place. In both cases, the print job disappeared from the Ubuntu print queue but never cleared from the XP print spooler queue.

Help please.
 
  


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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
CUPS is *really* starting to tick me off... (remote printing through IPP) killerbob Slackware 3 03-27-2005 09:51 AM
Strange Cups Performance jtshaw *BSD 1 02-03-2005 12:57 PM
suse 9.1 printing to cups ipp network printer sichen Linux - General 0 08-09-2004 06:30 PM
cups and ipp stuart39 Fedora 0 02-17-2004 06:16 AM


All times are GMT -5. The time now is 07:39 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 Google+: linuxquestions
Open Source Consulting | Domain Registration