Re: Printing from Windows to a CUPS printer

From: bigbob (bigbob_at_mauller.net)
Date: 02/12/05


Date: Sat, 12 Feb 2005 08:54:09 -0600

kalimojo@btinternet.com wrote:

> bigbob wrote:
>
>> kalimojo@btinternet.com wrote:
>>
>>> kalimojo@btinternet.com wrote:
>>>
>>>> Printing from Windows to a CUPS printer
>>>>
>>>> my printer is on my linux machine using CUPS.
>>>>
>>>> how do i print from my windows 2000 machine to it ?
>>>>
>>>> I would be keen to know the CUPS/IPP way rather than using samba.
>>>
>>> I got it working,
>>>
>>> I installed Print Services for Unix on the win2k machine (under
>>> networking services in add/remove windows programs)
>>>
>>> I edited the /etc/cups/cupsd.conf file and made these changes
>>>
>>> I commented this line out
>>> Listen 127.0.0.1:631
>>>
>>> and added this line instead
>>> Port 631
>>>
>>> changed the following
>>>
>>> ## Restrict access to local domain
>>> Order Deny,Allow
>>> Deny From All
>>> Allow From 127.0.0.1
>>>
>>> to
>>>
>>> ## Restrict access to local domain
>>> Order Deny,Allow
>>> Allow From All
>>> Allow From 127.0.0.1
>>>
>>> I then restarted the cups server
>>>
>>> /etc/init.d/cups restart
>>>
>>> ON the windows PC when I added the printer I chose to add a new port of
>>> type LPR. I then entered the linux PC's IP and the print queue name.
>>>
>>> and it worked.
>>
>> what was the exact url you entered on the windows machine? I'm confused
>> as to what to enter for the queue name.
>>
>> Bigbob
>
> hi Bigbob what I got working above was actually lpd printing not
> CUPS/IPP.
>
> For CUPS I basically used the following as the URL on the windows PC
>
> http://rita:631/printers/epson
>
> where rita is the server name and epson is the queue on that server and
> printers is part of the CUPS syntax and 631 is the default TCP port for
> CUPS (nmap localhost will confirm this)
>
> the queue has to be created using system-config-printer and then shared
> out using that tool also.
>
> dont use the web management tool (http://localhost:631) as it wont work
>
> any questions please ask as I feel like I have a good grasp of whats going
> on here.

OK. got it to connect to the printer, but I can't get past the security
options. No combination of user/pass will work. I changed the cupsd.conf
as described above, but it still won't let me have access to the printer.

Bigbob



Relevant Pages

  • SLES10 and BJC-4200
    ... Via the YaST interface, the queue name is bjc4200, the device is /dev/ ... printing, I get the message that the printing should start in a few ... recently as a week ago (the Windows machine HD died). ...
    (alt.os.linux.suse)
  • SLES10 and BJC-4200
    ... Via the YaST interface, the queue name is bjc4200, the device is /dev/ ... printing, I get the message that the printing should start in a few ... recently as a week ago (the Windows machine HD died). ...
    (alt.os.linux.suse)