Re: Help with CUPS reconfiguration

2009-11-05 Thread Polytropon
On Thu, 5 Nov 2009 17:22:39 -0500, stan  wrote:
> It tells me how to configure cups, but as far as I can
> tell, it does not tell me how to get cups to regenerate /etc/printcap,
> which is what I need to do.

I have very few experience with CUPS (prefer apsfilter or PS),
but as far as I understood, the printcap file is altered
every time a printer is changed. So when you remove the
existing printer and create it again, all files should be
regenerated, both the /etc/printcap file as well as the
files in the /usr/local/etc/cups subtree.

Deleting and recreating still sounds like the "Windows"
way of doing things, but due to my impression that CUPS
is designed in a way that it appeals this special kind
of users' expectations, this may be the only way to achieve
your goal.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Help with CUPS reconfiguration

2009-11-05 Thread stan
On Thu, Nov 05, 2009 at 02:27:17PM -0600, Adam Vande More wrote:
> > Therein lies the issue. I cant connect remotely port 631 on this machine as
> > the certificate is no longer valid, as the domain has changed.
> 
> 
> Normally, a browser will let you proceed if you give it the correct
> instructions.

OK, but it doesn't.

> 
> 
> > When I
> > go to the machine an try to connect to localhost:631, it gets connected,
> > but no combination of username password works.
> >
> 
> root should work.

I agree, it _should_ but as I stated, it _does_ not.
> 
> 
> >
> > How can I force cups to reconfigure?
> >
> >
> man cupsd.conf

OK, I read that. It tells me how to configure cups, but as far as I can
tell, it does not tell me how to get cups to regenerate /etc/printcap,
which is what I need to do.


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Help with CUPS reconfiguration

2009-11-05 Thread Adam Vande More
> Therein lies the issue. I cant connect remotely port 631 on this machine as
> the certificate is no longer valid, as the domain has changed.


Normally, a browser will let you proceed if you give it the correct
instructions.


> When I
> go to the machine an try to connect to localhost:631, it gets connected,
> but no combination of username password works.
>

root should work.


>
> How can I force cups to reconfigure?
>
>
man cupsd.conf

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Help with CUPS reconfiguration

2009-11-05 Thread stan
I am trying to reconfigure a bunch of machine to acomodate new domain
names. One of these machines is a fairly old FreeBSD machine (6.3). We have
done a search through all the files of these machines looking for
references to the old domain name. One of these is in /etc/printcap/
/etc/printcap has a comment in it that says it is auto generated by cops.
It refers to /usr/local/etc/cups/printers.conf as the source file.
However, this file does not have a reference to the old domain. My guess is
that this is picked up automatically from the machine name, when it is
built.

Therein lies the issue. I cant connect remotely port 631 on this machine as
the certificate is no longer valid, as the domain has changed. When I
go to the machine an try to connect to localhost:631, it gets connected, 
but no combination of username password works.

How can I force cups to reconfigure?

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Help with CUPS and Samsung ML-1710

2004-09-22 Thread Justin
Hello,
I've been trying to get my Samsung ML-1710 running under FreeBSD with
CUPS.  Installation of everything seems to have gone o.k., but I can't
print a test page.  I looked in the log file and got:

D [22/Sep/2004:12:50:55 -0400] start_process("/usr/local/libexec/cups/backend/us
b", 0xbfbf0330, 0xbfbef6a0, 12, 13, 11)
I [22/Sep/2004:12:50:55 -0400] Started backend /usr/local/libexec/cups/backend/u
sb (PID 242) for job 5.
D [22/Sep/2004:12:50:55 -0400] ProcessIPPRequest: 5 status_code=0
E [22/Sep/2004:12:50:55 -0400] PID 241 stopped with status 2!

Running /usr/local/libexec/cups/backend/usb manually gives:
aleph# /usr/local/libexec/cups/backend/usb
direct usb:/dev/ulpt0 "Unknown" "USB Printer #1"
direct usb:/dev/unlpt0 "Unknown" "USB Printer #1 (no reset)"

Anyone know what this means/what I should do?

Here's everything from dmesg which may be relevant:

pcib0:  on motherboard
pci0:  on pcib0
agp0:  mem 0xe000-0xe3ff at device 0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at 0.0 irq 10
uhci0:  port 0xc400-0xc41f irq 11 at device 7.2 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ulpt0: Samsung Electronics Co., Ltd. Samsung ML-1710, rev 1.10/1.00, addr 2, iclass 7/1
uhci1:  port 0xc800-0xc81f irq 11 at device 7.3 on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0:  (vendor=0x1106, dev=0x3057) at 7.4
pcm0:  port 0xd400-0xd403,0xd000-0xd003,0xcc00-0xccff irq 11 at device 
7.5 on pci0
pcm0: 
pci0:  at 8.0 irq 10
pcm1:  port 0xdc00-0xdc3f irq 9 at device 9.0 on pci0
pcm1: 
rl0:  port 0xe000-0xe0ff mem 0xe902-0xe90200ff irq 11 
at device 11.0 on pci0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0




Printer page in the admin tool says:
Samsung ML-1710 Foomatic/gdi (recommended)  
Description: Samsung ML1710
Location: localhost
Printer State: idle, accepting jobs.
Device URI: usb:/dev/ulpt0


Hopefully that's enough info.

Thanks!
-Justin Brody
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help with CUPS

2004-01-21 Thread Jeff Elkins
On Wednesday 21 January 2004 03:30, Rob wrote:
> Jeff Elkins wrote:
> > Howdy List,
> >
> > I've just added a FreeBSD 5.2 partition to my debian sid print server and
> > I'm groping around trying to make it functional.
> >
> > /dev/lpt0 works with a cat something.txt > /dev/lpt0 and adding CUPS from
> > ports seemed to work as well. I can access the web interface or add
> > printers from the command-line...but they don't print anything.
> >
> > The web interface shows print jobs as aborted. /var/spool/cups shows a
> > corresponding file for each submitted job.
> >
> > Thanks in advance for any help. Googling has revealed nothing of any
> > assistance.
>
> Jeff,
>
> Does info of the cups-log files in /var/log/cups give a clue?
>
> Rob.

Duh.  Teach me to futz around after 11pm!

Yes, the log file pointed out the problem. Ghostscript wasn't installed as a 
dependency when I installed cups from ports. 

Thanks for the knock on the head, Rob.

Jeff



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help with CUPS

2004-01-21 Thread Rob
Jeff Elkins wrote:
Howdy List,

I've just added a FreeBSD 5.2 partition to my debian sid print server and I'm 
groping around trying to make it functional.

/dev/lpt0 works with a cat something.txt > /dev/lpt0 and adding CUPS from 
ports seemed to work as well. I can access the web interface or add printers 
from the command-line...but they don't print anything. 

The web interface shows print jobs as aborted. /var/spool/cups shows a 
corresponding file for each submitted job.

Thanks in advance for any help. Googling has revealed nothing of any 
assistance.
Jeff,

Does info of the cups-log files in /var/log/cups give a clue?

Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Help with CUPS

2004-01-21 Thread Jeff Elkins
Howdy List,

I've just added a FreeBSD 5.2 partition to my debian sid print server and I'm 
groping around trying to make it functional.

/dev/lpt0 works with a cat something.txt > /dev/lpt0 and adding CUPS from 
ports seemed to work as well. I can access the web interface or add printers 
from the command-line...but they don't print anything. 

The web interface shows print jobs as aborted. /var/spool/cups shows a 
corresponding file for each submitted job.

Thanks in advance for any help. Googling has revealed nothing of any 
assistance.

Jeff Elkins

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"