LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
Search this Thread
Old 09-24-2009, 04:21 AM   #1
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Rep: Reputation: 32
Printing from Debian to printer connected to ubuntu 9.04 box. Samba and Cups.


I have a mixed network (Linux and win). Printer is connected to Ubuntu 9.04 box. My computer has Debian Lenny 64 and there are also win computers.

I've installed samba and cups. So, I can share folders from all the computers (linux and win) and win computers can also print to the printer connected to ubuntu.

How can I print from my Debian computer to the printer connected to the ubuntu box? I think this should be easy but I need your help my friends.

The computer with ubuntu has now a dynamic IP. Should I assign a fixed IP to it to make things easier.

Thanks in advance,
 
Old 09-24-2009, 04:33 AM   #2
nglbrkr
Member
 
Registered: May 2005
Location: hiroshima
Distribution: debian
Posts: 75
Blog Entries: 9

Rep: Reputation: 17
give info

Hi glore

you need to give some information. what have you tried? where is it failing?
cups should be enough - you don't need samba for printing between linux machines.
have you got cups-server installed on ubuntu?

<quote>The computer with ubuntu has now a dynamic IP. Should I assign a fixed IP to it to make things easier.</quote>
No need.
 
Old 09-24-2009, 08:37 AM   #3
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by nglbrkr View Post
Hi glore

you need to give some information. what have you tried? where is it failing?
cups should be enough - you don't need samba for printing between linux machines.
have you got cups-server installed on ubuntu?

<quote>The computer with ubuntu has now a dynamic IP. Should I assign a fixed IP to it to make things easier.</quote>
No need.
smb.conf
Quote:
[global]
workgroup = INICIOMS
server string = SLACKWARE5B
security = share
log file = /var/log/samba.%m
max log size = 50
printcap name = cups
show add printer wizard = no
disable spoolss = yes
wins support = yes

[printers]
comment = Printer in Linux
path = /var/spool/samba
printer name = xerox
guest ok = yes
printable = yes
use client driver = yes
create mask = 0700
This I the things I've added and uncommented.

/etc/cups/cupsd.conf
I've added this line:
Allow From 192.168.1.*

/etc/cups/mime.convs
application/octet-stream application/vnd.cups-raw 0 -

/etc/cups/mime.types
application/octet-stream

All was modified in the computer with ubuntu and the printer attached.

Thanks again for such a valuable help.
 
Old 09-24-2009, 07:14 PM   #4
nglbrkr
Member
 
Registered: May 2005
Location: hiroshima
Distribution: debian
Posts: 75
Blog Entries: 9

Rep: Reputation: 17
Does the printer show up on debian or not?
If you go to localhost:631 on debian, do you have "show printers from other systems" checked?
 
Old 09-24-2009, 07:26 PM   #5
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Original Poster
Rep: Reputation: 32
Thumbs up

Quote:
Originally Posted by nglbrkr View Post
Does the printer show up on debian or not?
If you go to localhost:631 on debian, do you have "show printers from other systems" checked?
Thanks for all your help! Now I could add the printer through System and printers - network printers.

Regarding to your question, yes, show printers was checked.
 
  


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
Printing from my Debian box to a printer on Windows XP Jinouchi Linux - Software 1 08-28-2009 03:16 PM
printing with CUPS to printer connected to router fatblueduck Linux - Networking 0 10-07-2005 06:18 PM
Windows Apps freeze when printing to network samba + cups printer urzumph Debian 1 02-17-2005 06:38 PM
Help with printing to Windows printer with cups and samba. Royle Linux - Networking 3 01-23-2005 12:16 PM
Samba printing to CUPS printer kris.kj.jacobs Linux - Networking 1 11-02-2001 03:42 PM


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