LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Printing from Debian to printer connected to ubuntu 9.04 box. Samba and Cups. (https://www.linuxquestions.org/questions/debian-26/printing-from-debian-to-printer-connected-to-ubuntu-9-04-box-samba-and-cups-757440/)

glore2002 09-24-2009 04:21 AM

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,

nglbrkr 09-24-2009 04:33 AM

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.

glore2002 09-24-2009 08:37 AM

Quote:

Originally Posted by nglbrkr (Post 3695284)
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.

nglbrkr 09-24-2009 07:14 PM

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?

glore2002 09-24-2009 07:26 PM

Quote:

Originally Posted by nglbrkr (Post 3696183)
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.


All times are GMT -5. The time now is 08:23 PM.