Re: Use of Cups printing in a home network.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 01 July 2006 18:38, Anne Wilson wrote:
> On Saturday 01 July 2006 15:40, Timothy Murphy wrote:
> > Anne Wilson wrote:
> > > FWIW, I set this up before I read the conventional wisdom that one
> > > should not
> > > mix cups configuration and system-config-printer.  I used both tools,
> > > and have had no problems.  HTH
> >
> > You are very lucky.
> > CUPS is great when it is working.
> > When it is not working it is a nightmare.
> > The Fedora tools (like system-config-printer) don't work properly,
> > and the CUPS documentation was written by cyborgs.
>
> Perhaps I was :-) but it worked for me!
>
> > Incidentally, you didn't mention /etc/cups/printers.conf .
> > I have the line
> > DeviceURI ipp://alfred:631/printers/lj
> > in printers.conf on my laptop.
> > (My desktop, to which the printer is attached, is called "alfred".)
>
> Here's the whole of it from the server:
>
> /etc/cups/printers.conf
>
> # Printer configuration file for CUPS v1.1.23
> # Written by cupsd on Fri 23 Jun 2006 02:14:55 PM BST
> <DefaultPrinter Printer>
> DeviceURI usb:/dev/usb/lp0
> Location Default printer
> Info Default printer
> State Idle
> Accepting Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> </Printer>
> <Printer Draft>
> DeviceURI usb:/dev/usb/lp0
> Location Four pages on 1 sheet
> Info Four pages on 1 sheet
> State Idle
> Accepting Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> </Printer>
> <Printer Photo>
> DeviceURI usb:/dev/usb/lp0
> Location Gloss paper, hi-res, no duplex
> Info Gloss paper, hi-res, no duplex
> State Idle
> Accepting Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> </Printer>
> <Printer deskjet-990c--1>
> DeviceURI
> hal:///org/freedesktop/Hal/devices/usb_device_3f0_3304_ES1271D1TZLG_if0_pri
>nter_ES1271D1TZLG State Idle
> Accepting Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> </Printer>
>
> This allows me to use kprinter from any app, selecting the configuration I
> need, although they all refer to the same physical printer.
>
> /etc/cups/printer.conf on the client boxes is, of course, empty apart from
> comments.
>
> Anne

Hi Anne. I have now 5 distros, FC1,2,3, and 2 instances of FC5 on the machine 
that has the printer on it. All the distros are setup as printservers. I use 
static IP addresses on my LAN, so obviously all 5 are different. 

Both machines are connected via a layer 2 switch to a Smoothwall Express2 
firewall, and then through a serial modem to ther Internet.

Many of the distros on both machines also have, either Guarddog, or 
Firestarter (paranoia) as a bit of added security, so I'm having to allow 
port 631 on them.

I have never been able to print directly from a client machine through any of 
the distros running a printserver, without setting up the distros on the 
client machine with the Cups web interface (localhost:631) , and setting the 
clients up to use ipp to connect to the distros running a print server.

I have put the output of /etc/cups/printers.conf below. I have created 
separate printer entries for each of the distros running a print server, and 
realise from viewing various posts that I could have just used the network 
(192.168.0.0) address, which would have printed through whichever distro on 
the machine with the printer on it was booted up.

I'm a bit confused. All the distros on the machine setup as a print server 
have no problems printing, but printing from the other machine creates 
problems, unless I set the distros on the client machine to use ipp.

This is not a complaint, as it works ok as is.

# Printer configuration file for CUPS v1.1.20
# Written by cupsd on Fri 16 Jun 2006 22:42:59 CEST
<DefaultPrinter netprint>
Info 
Location ipp://192.168.0.230/printers/printer
DeviceURI ipp://192.168.0.230/printers/printer
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer netprint1>
Info EpsonC44UX
Location ipp://192.168.0.234/printers/printer
DeviceURI ipp://192.168.0.234/printers/printer
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>


Nigel.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux