Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126465 - Request modification to Gentoo Printing Guide
Summary: Request modification to Gentoo Printing Guide
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/printing...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-16 15:36 UTC by Joe Horstmann
Modified: 2006-03-17 09:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Horstmann 2006-03-16 15:36:34 UTC
I recently attempted to setup my Windows XP laptop to connect to my Gentoo system's local HP LaserJet printer using IPP.  My first stop was to check the Gentoo Printing Guide, where I found chapter 6 "Printing From and To Microsoft Windows".  

I would like to add information to this section in the hopes of saving someone else the trouble I had getting my setup to work properly.  I found that I had to make several modifications to the /etc/cups/cupsd.conf file that were not clearly documented, or would be easily understood by someone new to Gentoo/Linux.  

I used the following steps:

How to share a CUPS printer using IPP for Windows XP

1.) Edit /etc/cups/cupsd.conf 
    Uncomment and configure the following line options:
    
    a.)ServerName <192.168.0.2>
    By defult CUPS uses the hostname, by supplying the IP address you can avoid editing the hosts file on each client Windows machine.  In this example my gentoo linux host IP is 192.168.0.2, as assigned by my router/firewall.

    b.)BrowseAddress <192.168.0.255>
    By default CUPS browsing is disabled.
    
    c.)Allow From 192.168.0.*
    After the "Allow From 127.0.0.1" comment add a line allowing an IP other that the local system to connect to CUPS.  In this example I have allowed any IP on my local subnet.
    
2.) Restart cupsd
    a.) /etc/init.d/cupsd restart
    
3.) Configure Windows
    a.) Add Printer Wizard
    b.) Select "Network Printer"
    c.) In the URL field input: http://192.168.0.2:631/printers/<queue>
    In the above example <queue> is the name CUPS uses to identify your printer.

I would be interested to know what you think about adding these steps.  
Thanks,
Joe
Comment 1 nm (RETIRED) gentoo-dev 2006-03-17 09:29:53 UTC
(In reply to comment #0)
> 1.) Edit /etc/cups/cupsd.conf 
>     Uncomment and configure the following line options:
> 
>     a.)ServerName <192.168.0.2>
>     By defult CUPS uses the hostname, by supplying the IP address you can avoid
> editing the hosts file on each client Windows machine.  In this example my
> gentoo linux host IP is 192.168.0.2, as assigned by my router/firewall.
> 
>     b.)BrowseAddress <192.168.0.255>
>     By default CUPS browsing is disabled.
> 
>     c.)Allow From 192.168.0.*
>     After the "Allow From 127.0.0.1" comment add a line allowing an IP other
> that the local system to connect to CUPS.  In this example I have allowed any
> IP on my local subnet.

You need to go back and read Chapter 3 of the guide; this is already in there:
http://www.gentoo.org/doc/en/printing-howto.xml#doc_chap3

> 2.) Restart cupsd
>     a.) /etc/init.d/cupsd restart

No need; there's already a cupsd restart at the end of Chapter 3.

> 3.) Configure Windows
>     a.) Add Printer Wizard
>     b.) Select "Network Printer"
>     c.) In the URL field input: http://192.168.0.2:631/printers/<queue>
>     In the above example <queue> is the name CUPS uses to identify your
> printer.

That's already in Chapter 6. Please read it more carefully! What you suggest is already implemented almost verbatim.
Comment 2 nm (RETIRED) gentoo-dev 2006-03-17 09:39:22 UTC
Closing for reasons listed; there's nothing that the doc doesn't already have in it. Thanks for reporting, though.