*{spam}* Re: [NTLUG:Discuss] cups question
Chris Cox
cjcox at acm.org
Fri Jul 2 10:02:41 CDT 2004
m m wrote:
>> From: Chris Cox <cjcox at acm.org>
...
>> I have
>> a C80 and both work. My Linux box attaches USB and my wife's Linux box
>> attaches via parallel.
>
> Do you mean you have one printer connect 2 computers with 2 cables
> physical connected?
> this is not what i want. Ideally, i want the printer connect to the
> network switch (or computer) , and as long as the server is on, any
> remote computers can print.
Ooops.. probably shouldn't have said that much... my point is that
Linux will work with the printer regardless of i/f.
>
> it bright me another question, how do i (physically, [switch or
> computer?] ) connect 3 printers and all computers can share these 3
> printers?
With one machine acting as the print server and if cups broadcasting
is enabled, the other machine's cups will just see the printers.
Of course, that's when all are using cups. You may have to create
a raw smb printer queue for your windows boxes. If you go that route,
I recommend creating 2 queues for each printer, a raw one for
Windows clients and a non-raw one for your Linux boxes. You'll
have to enable octet-stream printing in /etc/cups/mime.convs (it's
commented out by default) and /etc/cups/mime.types.
>
>>
>> So.. if this is a local printer, set it up attaching parallel.
>> Will end up with something like parallel:/dev/lp0 or somesuch.
>
>
> yes, when i set up with parallel port, it does say something like this,
> parallel:/dev/lp0.
> and I can print the file form text editor. but I can not print the test
> page from the cups browser's interface. I got the same error.
I'm sorry.. are you saying you get the error about not being
able to connect to hostname:631 when you print the test page??
...
>>
>> Set the printer up parallel via the CUPS browser interface
>> at http://localhost:631. And then you might want to
>> post us your printers.conf file from the /etc/cups
>> directory (just to make sure).
>>
> yes, I did. same problem. can not print the test page from the cups
> browser's interface but other text editor such as Kwrite.
>
> I notice I can not connection by typing http://hostname:631/ipp by i can
> get in by http://localhost:631/ipp or http://127.0.0.1:631/ipp
This is fine, cups by default doesn't enable remote administration... just
localhost. SUSE goes further by making you setup a admin user before
you can even do administration.
>
> here is the printer.conf
> #Written by cupsd on Fri 02 Jul 2004 04:52:10 AM GMT
> <DefaultOrinter printer>
> Info Created by redhat-config-printer 0.6.x
> Location A
> DeviceURI parallel:/dev/lp0
> State Idle
> Accepting Yes
> JobSheets none none
> OuotaPeriod 0
> PageLimit 0
> Klimit 0
> </Printer>
>
>
> if I set up as parallel:/dev/lp0, what is the URI for remote computers
> (either Windoz or Linux)
If the printing server box is "hostname" that when you would setup
to use ipp://hostname/printername... however, if the hosts are using
cups... and you broadcast the info, the queues will setup automatically.
You'll need seperate queues for smb (for your Windows clients)... or
you'll have to download the free MS software to enable ipp (this may
be included in XP now... not sure).
More information about the Discuss
mailing list