[CS-FSLUG] Printer and Samba

he7316575 he7316575 at yahoo.se
Thu Dec 21 13:08:38 CST 2006


Shall I do the same writing with both the computers?

Klient - that is the PC with the printer locally??

/Hilding in Sweden



Alan Trick skrev:
> Ahh, I'm retarded some days. I should have picked this up sooner.
>
> By default cups doesn't allow access from anywhere but localhost or
> 127.0.0.1 (for security reasons). You'll need to
> edit /etc/cups/cupsd.conf to allow remote access. The relevent sections
> are:
>
> Listen *:631
>
> and:
>
> <Location />
>   Order Deny,Allow
>   Deny From All
>   Allow From localhost
>   Allow From 192.168.1.*
>   Allow From 192.168.0.*
> </Location>
>
> That's what my config has. You can fine-tune the Location section for
> whatever your needs are.
>
> As for the hostname thing. I don't *think* that matters. But if
> http://192.168.0.2:631/printers/Brotherprinter doesn't work then try
> giving it a hostname (edit /etc/hosts on the client machine and add a
> line like:
>
> 192.168.0.2    printserver
>
> I hope that helps.
>
> Alan Trick
>
> On Tue, 2006-12-19 at 11:36 +0100, Hilding wrote:
>   
>> Sorry repeating everything, but this is not easy for me to grasp.
>> 1. Your url with the hostname uses the name of the pc not the IP-number, 
>> e.g. 192.168.0.2. May I ask, why so?
>> 2. Using Samba, is it possible to get in contact with the 
>> ubuntu/XPmachine part Ubuntu? I haven't made the installation with 
>> changes in Windows for Samba.
>> 3. When I do this http://localhost:631/printers I will get the name of 
>> the Brotherprinter, but even with the notation URL: 
>> http://192.168.0.2:631/ipp/    and it says at the same time "network 
>> host is busy 192.168.0.2
>> 4. I will try the smb://  and see how it turns out to be.
>>
>> Thanks so far
>>
>> Hilding
>>
>> Alan Trick wrote:
>>
>>     
>>> It took me a while to figure it out. But I found that it worked if I set
>>> it up with the device setting as 'Internet Printing Protocol (http)' and
>>> the url as http://oak:631/printers/PhotoSmart-C3100 (oak is my
>>> computer's hostname and PhotoSmart-C3100 is the name of my printer). Go
>>> to http://localhost:631/printers/ to see your printers and their status.
>>>
>>> Plain IPP didn't seem to work though. And also I haven't checked to see
>>> what the print quality is like, all I know is that it does print.
>>>
>>> Alan Trick
>>>
>>> On Mon, 2006-12-18 at 17:50 -0500, John Mark Clayton wrote:
>>>  
>>>
>>>       
>>>> I couldn't get mine setup working using IPP.  I finally got it to 
>>>> work with SMB with: smb://192.168.1.11/CanonS300_raw
>>>> The print quality still isn't correct from either machine.  I really
>>>> wish network printing was easier to set up with Linux.  I'm still 
>>>> thinking of dropping it and buying a wired print server:
>>>> http://www.netgear.com/Products/PrintServers/WiredPrintServers.aspx
>>>> Good luck & God Bless 
>>>> Mark
>>>> FWIW, my net is as simple as:   printer--usb--Xubuntu_A---Xubuntu_B
>>>>
>>>> On 12/18/06, he7316575 <he7316575 at yahoo.se> wrote:
>>>>        ..or SSH.
>>>>        
>>>>        Well, this is my third or fourth try to get a printer working
>>>>        from a 
>>>>        Ubuntu-PC (with XP too) to a Ubuntu (and Fedora3)PC. I have
>>>>        tried most
>>>>        things
>>>>        - download driver for Brother MPC210-C making an installation
>>>>        on both PC
>>>>        - trying to use Samba, which is not easy at all, for me
>>>>        - my printer is not networking-printer connected to the
>>>>        router. The
>>>>        printer is locally connected as a USB-printer. I have used the
>>>>        CUPS-drive in PCwithUbuntu and XP. It is working in that
>>>>        Ubuntu. but as
>>>>        You understand not on the second computer. 
>>>>        
>>>>        Any advice?!
>>>>        
>>>>        Regards once more from Sweden
>>>>        
>>>>        Hilding E
>>>>        
>>>>        __________________________________________________
>>>>        Använder du Yahoo!?
>>>>        Är du trött på spam?  Yahoo! E-post har det bästa spamskyddet
>>>>        som finns 
>>>>        http://se.mail.yahoo.com
>>>>        
>>>>        
>>>>        _______________________________________________
>>>>        ChristianSource FSLUG mailing list
>>>>        Christiansource at ofb.biz
>>>>        http://cs.uninetsolutions.com
>>>>
>>>>
>>>>
>>>> -- 
>>>> clayton256 at gmail.com 
>>>> _______________________________________________
>>>> ChristianSource FSLUG mailing list
>>>> Christiansource at ofb.biz
>>>> http://cs.uninetsolutions.com
>>>>    
>>>>
>>>>         
>>> _______________________________________________
>>> ChristianSource FSLUG mailing list
>>> Christiansource at ofb.biz
>>> http://cs.uninetsolutions.com
>>>
>>>       
>> __________________________________________________
>> Anvnder du Yahoo!?
>> r du trtt p spam?  Yahoo! E-post har det bsta spamskyddet som finns 
>> http://se.mail.yahoo.com 
>>
>>
>> _______________________________________________
>> ChristianSource FSLUG mailing list
>> Christiansource at ofb.biz
>> http://cs.uninetsolutions.com
>>     
>
>
> _______________________________________________
> ChristianSource FSLUG mailing list
> Christiansource at ofb.biz
> http://cs.uninetsolutions.com

__________________________________________________
Använder du Yahoo!?
Är du trött på spam?  Yahoo! E-post har det bästa spamskyddet som finns 
http://se.mail.yahoo.com 





More information about the Christiansource mailing list