RE: Printer configuration on debian

2000-10-21 Thread Dwight Johnson
On 09-Oct-2000 Dwight Johnson wrote:
> What is the preferred way to configure a PostScript printer on debian 2.2?

Thanks to everyone who helped me with suggestions.

I used magicfilter with lpd and also took care to have the kernel modules
parport, parport_pc and lp installed.

Dwight
--
Dwight Johnson
[EMAIL PROTECTED]




RE: ODP: Printer configuration on debian

2000-10-10 Thread sworley

On 10-Oct-2000 [EMAIL PROTECTED] wrote:
> did you install an additional package cups-bsd ?
> 
>> -Original Message-
>> From: Andre Berger [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, October 10, 2000 10:01 AM
>> To: Dale Morris
>> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
>> [EMAIL PROTECTED]; debian-user@lists.debian.org
>> Subject: Re: ODP: Printer configuration on debian
>> 
>> 
>> Dale Morris <[EMAIL PROTECTED]> writes:
>> 
>> 
>> > How do I configure CUPS? I'm trying to set up my printer with
>> > magicfilter. I think there is a permission problem, but I'm 
>> not sure.
>> > Here's where I'm at..
>> > I can print using staroffice. I can't print using lp, I get the
>> > following output: lp: error - no default destination available.
>> > If I try to print using 'y' in mutt or slrn--doesn't work. 
>> Slrn returns
>> > 'error 1'.
>> 
>> Use lpr, not lp!
>> 
>> > Here's how my /etc/printcap looks:
>> > 
>> > # This file was generated by /usr/sbin/magicfilterconfig.
>> > #
>> > lp|lp|Epson StylusColor 600:\
>> >   :lp=/dev/lp0:sd=/var/spool/lpd/lp:\
>> >   :sh:pw#80:pl#66:px#1440:mx#0:\
>> >   :if=/etc/magicfilter/[EMAIL PROTECTED]:\
>> >   :af=/var/log/lp-acct:lf=/var/log/lp-errs
>> > 
>> > I also downloadd xpp and it installed the CUPS client and 
>> server. Yet
>> > when I run xpp it tells me it's unable to connect to CUPS 
>> server, check
>> > options. duh.. I'm confused
>> > please help
>> > 
>> > thanks
>> > 
>> > [EMAIL PROTECTED] 
>> ([EMAIL PROTECTED]) wrote:
>> > > Or use cups with a nice configuration tool.
>> > > 
>> > > Mariusz
>> > > 
>> > > > On 09-Oct-2000 Dwight Johnson wrote:
>> > > > > What is the preferred way to configure a PostScript printer 
>> > > > on debian 2.2?
>> > > > > 
>> > > > 
>> > > > MagicFilter did fine for mine.
>> > > > -
>> > > >  - Nick -
>> > > > [EMAIL PROTECTED]
>> > > > Your mode of life will be changed for the better because of 
>> > > > new developments.
>> > > > 
>> > > > 
>> > > > 
>> > > > -- 
>> > > > Unsubscribe?  mail -s unsubscribe 
>> > > > [EMAIL PROTECTED] < /dev/null
>> > > > 
>> > > 
>> > > 
>> > > -- 
>> > > Unsubscribe?  mail -s unsubscribe 
>> [EMAIL PROTECTED] < /dev/null
>> > > 
>> > > 
>> > > 
>> > 
>> > -- 
>> > 
>> > "The major advances in civilization are processes that all but wreck
>> > the societies in which they occur."
>> >--Albert North Whitehead
>> > 
>> > -- 
>> > Unsubscribe?  mail -s unsubscribe 
>> [EMAIL PROTECTED] < /dev/null
>> 
>> -- 
>> Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany
>> 
>> 
>> -- 
>> Unsubscribe?  mail -s unsubscribe 
>> [EMAIL PROTECTED] < /dev/null
>> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
> /dev/null

I just setup my HP deskjet with CUPS from woody.  Read
/usr/share/doc/cupsys/README.txt.gz

All I did was run the lpadmin cmd as root.  In your case try:

/usr/lib/lpadmin -p StColor -m stcolor.ppd -v parallel:/dev/lp0 -E

This sets up the printer on the first parallel port(lp0) uses the EPSON Stylus
Color driver which comes with CUPS and gives the printer the name StColor.
I also added my normal user account to the lpadmin group which might be a
security hole.  You can then administer the printer using a browser by:
http://localhost:631/

Now I have a question, a stupid one of course. When I use the CUPS web
interface the first page is displayed OK as http://localhost:631/.  If I click
on any of the links then the browser tries to load the page by substituting my
hostname(cumulus) for localhost.  This workstation is behind a firewall so it
doesn't have a true domain.

/etc/hosts is:
127.0.0.1 localhost
192.168.1.3 cumulus

/etc/hostname is:
cumulus

192.168.1.3 is the NIC's static IP.

Is the web browser pulling 'cumulus' from /etc/hostname?

How do I tell it that 192.168.1.3 and 127.0.0.1 are the same machine?  Am I
misunderstanding or are *nix hostname really hostnames per IP?

scott

--
E-Mail: [EMAIL PROTECTED]
Date: 10-Oct-2000
Time: 08:45:49

This message was sent by XFMail
--



RE: ODP: Printer configuration on debian

2000-10-10 Thread Mariusz . Przygodzki
cups-bsd has a wrapper for BSD printing functions like lp.
I hade to installed it to use "normal" BSD functions.
If I remember cups suggest cups-bsd with dselect method installation.

Mariusz


> -Original Message-
> From: Dale Morris [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 10, 2000 1:59 PM
> To: [EMAIL PROTECTED]
> Cc: debian-user@lists.debian.org
> Subject: Re: ODP: Printer configuration on debian
> 
> 
> no, installation of CUPS came with xpp and apt-get retrieved the extra
> packages related to CUPS/xpp.
> [EMAIL PROTECTED] 
> ([EMAIL PROTECTED]) wrote:
> > did you install an additional package cups-bsd ?
> > 
> > > 
> > > > How do I configure CUPS? I'm trying to set up my printer with
> > > > magicfilter. I think there is a permission problem, but I'm 
> > > not sure.
> 



Re: ODP: Printer configuration on debian

2000-10-10 Thread Dale Morris
When I use lpr... nothing happens.. printer is silent. That's why I'm so
confused.


Andre Berger ([EMAIL PROTECTED]) wrote:
> Dale Morris <[EMAIL PROTECTED]> writes:
> 
> 
> > How do I configure CUPS? I'm trying to set up my printer with
> > magicfilter. I think there is a permission problem, but I'm not sure.
> > Here's where I'm at..
> > I can print using staroffice. I can't print using lp, I get the
> > following output: lp: error - no default destination available.
> > If I try to print using 'y' in mutt or slrn--doesn't work. Slrn returns
> > 'error 1'.
> 
> Use lpr, not lp!
> 



Re: ODP: Printer configuration on debian

2000-10-10 Thread Dale Morris
no, installation of CUPS came with xpp and apt-get retrieved the extra
packages related to CUPS/xpp.
[EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> did you install an additional package cups-bsd ?
> 
> > 
> > > How do I configure CUPS? I'm trying to set up my printer with
> > > magicfilter. I think there is a permission problem, but I'm 
> > not sure.



RE: ODP: Printer configuration on debian

2000-10-10 Thread Mariusz . Przygodzki
did you install an additional package cups-bsd ?

> -Original Message-
> From: Andre Berger [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 10, 2000 10:01 AM
> To: Dale Morris
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]; debian-user@lists.debian.org
> Subject: Re: ODP: Printer configuration on debian
> 
> 
> Dale Morris <[EMAIL PROTECTED]> writes:
> 
> 
> > How do I configure CUPS? I'm trying to set up my printer with
> > magicfilter. I think there is a permission problem, but I'm 
> not sure.
> > Here's where I'm at..
> > I can print using staroffice. I can't print using lp, I get the
> > following output: lp: error - no default destination available.
> > If I try to print using 'y' in mutt or slrn--doesn't work. 
> Slrn returns
> > 'error 1'.
> 
> Use lpr, not lp!
> 
> > Here's how my /etc/printcap looks:
> > 
> > # This file was generated by /usr/sbin/magicfilterconfig.
> > #
> > lp|lp|Epson StylusColor 600:\
> >   :lp=/dev/lp0:sd=/var/spool/lpd/lp:\
> >   :sh:pw#80:pl#66:px#1440:mx#0:\
> >   :if=/etc/magicfilter/[EMAIL PROTECTED]:\
> >   :af=/var/log/lp-acct:lf=/var/log/lp-errs
> > 
> > I also downloadd xpp and it installed the CUPS client and 
> server. Yet
> > when I run xpp it tells me it's unable to connect to CUPS 
> server, check
> > options. duh.. I'm confused
> > please help
> > 
> > thanks
> > 
> > [EMAIL PROTECTED] 
> ([EMAIL PROTECTED]) wrote:
> > > Or use cups with a nice configuration tool.
> > > 
> > > Mariusz
> > > 
> > > > On 09-Oct-2000 Dwight Johnson wrote:
> > > > > What is the preferred way to configure a PostScript printer 
> > > > on debian 2.2?
> > > > > 
> > > > 
> > > > MagicFilter did fine for mine.
> > > > -
> > > >  - Nick -
> > > > [EMAIL PROTECTED]
> > > > Your mode of life will be changed for the better because of 
> > > > new developments.
> > > > 
> > > > 
> > > > 
> > > > -- 
> > > > Unsubscribe?  mail -s unsubscribe 
> > > > [EMAIL PROTECTED] < /dev/null
> > > > 
> > > 
> > > 
> > > -- 
> > > Unsubscribe?  mail -s unsubscribe 
> [EMAIL PROTECTED] < /dev/null
> > > 
> > > 
> > > 
> > 
> > -- 
> > 
> > "The major advances in civilization are processes that all but wreck
> > the societies in which they occur."
> > --Albert North Whitehead
> > 
> > -- 
> > Unsubscribe?  mail -s unsubscribe 
> [EMAIL PROTECTED] < /dev/null
> 
> -- 
> Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe 
> [EMAIL PROTECTED] < /dev/null
> 



Re: ODP: Printer configuration on debian

2000-10-10 Thread Andre Berger
Dale Morris <[EMAIL PROTECTED]> writes:


> How do I configure CUPS? I'm trying to set up my printer with
> magicfilter. I think there is a permission problem, but I'm not sure.
> Here's where I'm at..
> I can print using staroffice. I can't print using lp, I get the
> following output: lp: error - no default destination available.
> If I try to print using 'y' in mutt or slrn--doesn't work. Slrn returns
> 'error 1'.

Use lpr, not lp!

> Here's how my /etc/printcap looks:
> 
> # This file was generated by /usr/sbin/magicfilterconfig.
> #
> lp|lp|Epson StylusColor 600:\
>   :lp=/dev/lp0:sd=/var/spool/lpd/lp:\
>   :sh:pw#80:pl#66:px#1440:mx#0:\
>   :if=/etc/magicfilter/[EMAIL PROTECTED]:\
>   :af=/var/log/lp-acct:lf=/var/log/lp-errs
> 
> I also downloadd xpp and it installed the CUPS client and server. Yet
> when I run xpp it tells me it's unable to connect to CUPS server, check
> options. duh.. I'm confused
> please help
> 
> thanks
> 
> [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> > Or use cups with a nice configuration tool.
> > 
> > Mariusz
> > 
> > > On 09-Oct-2000 Dwight Johnson wrote:
> > > > What is the preferred way to configure a PostScript printer 
> > > on debian 2.2?
> > > > 
> > > 
> > > MagicFilter did fine for mine.
> > > -
> > >  - Nick -
> > > [EMAIL PROTECTED]
> > > Your mode of life will be changed for the better because of 
> > > new developments.
> > > 
> > > 
> > > 
> > > -- 
> > > Unsubscribe?  mail -s unsubscribe 
> > > [EMAIL PROTECTED] < /dev/null
> > > 
> > 
> > 
> > -- 
> > Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> > 
> > 
> > 
> 
> -- 
> 
> "The major advances in civilization are processes that all but wreck
> the societies in which they occur."
>   --Albert North Whitehead
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany



Re: ODP: Printer configuration on debian

2000-10-10 Thread Dale Morris
How do I configure CUPS? I'm trying to set up my printer with
magicfilter. I think there is a permission problem, but I'm not sure.
Here's where I'm at..
I can print using staroffice. I can't print using lp, I get the
following output: lp: error - no default destination available.
If I try to print using 'y' in mutt or slrn--doesn't work. Slrn returns
'error 1'.
Here's how my /etc/printcap looks:

# This file was generated by /usr/sbin/magicfilterconfig.
#
lp|lp|Epson StylusColor 600:\
  :lp=/dev/lp0:sd=/var/spool/lpd/lp:\
  :sh:pw#80:pl#66:px#1440:mx#0:\
  :if=/etc/magicfilter/[EMAIL PROTECTED]:\
  :af=/var/log/lp-acct:lf=/var/log/lp-errs

I also downloadd xpp and it installed the CUPS client and server. Yet
when I run xpp it tells me it's unable to connect to CUPS server, check
options. duh.. I'm confused
please help


thanks

[EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> Or use cups with a nice configuration tool.
> 
> Mariusz
> 
> > On 09-Oct-2000 Dwight Johnson wrote:
> > > What is the preferred way to configure a PostScript printer 
> > on debian 2.2?
> > > 
> > 
> > MagicFilter did fine for mine.
> > -
> >  - Nick -
> > [EMAIL PROTECTED]
> > Your mode of life will be changed for the better because of 
> > new developments.
> > 
> > 
> > 
> > -- 
> > Unsubscribe?  mail -s unsubscribe 
> > [EMAIL PROTECTED] < /dev/null
> > 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 
> 

-- 

"The major advances in civilization are processes that all but wreck
the societies in which they occur."
--Albert North Whitehead



Re: Printer configuration on debian - Another question

2000-10-09 Thread romeu

I think I used lp=parport0 parport=0x378,7, in my loadlin command line ...
My paralell port uses IRQ 7 under windows, so I though I should use the
same under debian.
I'll try it out(assuming that'll work with loadlin). Thanks.



In reply to:[EMAIL PROTECTED]

Quoting [EMAIL PROTECTED]([EMAIL PROTECTED]):
>
> So, I have my modem running under my debian installation. Thanks to the
> ones who helped me.
> Next step (no, it's not an OS): Setting up the printer.
> I have printtool installed, so I'm able to set my printer up.
> When I run printtool and click Add, it says:
> lp0: there's no printer (or something like that).
> lp1: there's no printer.
> ...
>
> The problem is:
> The device lp0 is not bound to parport. I recompiled the kernel,
installing
> parport issues (I think auto-detection). In the system initialization,
> debian gives me the message: parport0: HEWLLET-PACKARD DESKJET 690, or
> something like that.
> But when I type the command cat /proc/parport/0/devices, the only thing
it
> says is plip. I think it should be plip lp0, shouldn't it? Or should I
> remove (how?) plip and bound (how?) lp0?

Have you put into your lilo.config append statement a parport
statement?

append = "hdd=cdrom lp=parport0 parport=0x378,none"

The none tells my system _not_ to use an IRQ so it polls the printer
instead.

:-) HTH, YMMV, HAND :-)


--
Real Time, adj.:
  Here and now, as opposed to fake time, which only occurs there and then.
___


--
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
/dev/null







Re: Printer configuration on debian - Another question

2000-10-09 Thread Wayne Topa

Subject: Printer configuration on debian - Another question
Date: Mon, Oct 09, 2000 at 09:19:21AM -0300

In reply to:[EMAIL PROTECTED]

Quoting [EMAIL PROTECTED]([EMAIL PROTECTED]):
> 
> So, I have my modem running under my debian installation. Thanks to the
> ones who helped me.
> Next step (no, it's not an OS): Setting up the printer.
> I have printtool installed, so I'm able to set my printer up.
> When I run printtool and click Add, it says:
> lp0: there's no printer (or something like that).
> lp1: there's no printer.
> ...
> 
> The problem is:
> The device lp0 is not bound to parport. I recompiled the kernel, installing
> parport issues (I think auto-detection). In the system initialization,
> debian gives me the message: parport0: HEWLLET-PACKARD DESKJET 690, or
> something like that.
> But when I type the command cat /proc/parport/0/devices, the only thing it
> says is plip. I think it should be plip lp0, shouldn't it? Or should I
> remove (how?) plip and bound (how?) lp0?

Have you put into your lilo.config append statement a parport
statement?

append = "hdd=cdrom lp=parport0 parport=0x378,none"

The none tells my system _not_ to use an IRQ so it polls the printer
instead.

:-) HTH, YMMV, HAND :-)


-- 
Real Time, adj.:
  Here and now, as opposed to fake time, which only occurs there and then.
___



ODP: Printer configuration on debian

2000-10-09 Thread Mariusz . Przygodzki
Or use cups with a nice configuration tool.

Mariusz

> On 09-Oct-2000 Dwight Johnson wrote:
> > What is the preferred way to configure a PostScript printer 
> on debian 2.2?
> > 
> 
> MagicFilter did fine for mine.
> -
>  - Nick -
> [EMAIL PROTECTED]
> Your mode of life will be changed for the better because of 
> new developments.
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe 
> [EMAIL PROTECTED] < /dev/null
> 



RE: Printer configuration on debian

2000-10-09 Thread Nick Cook

On 09-Oct-2000 Dwight Johnson wrote:
> What is the preferred way to configure a PostScript printer on debian 2.2?
> 

MagicFilter did fine for mine.
-
 - Nick -
[EMAIL PROTECTED]
Your mode of life will be changed for the better because of new developments.




Printer configuration on debian - Another question

2000-10-09 Thread romeu

So, I have my modem running under my debian installation. Thanks to the
ones who helped me.
Next step (no, it's not an OS): Setting up the printer.
I have printtool installed, so I'm able to set my printer up.
When I run printtool and click Add, it says:
lp0: there's no printer (or something like that).
lp1: there's no printer.
...

The problem is:
The device lp0 is not bound to parport. I recompiled the kernel, installing
parport issues (I think auto-detection). In the system initialization,
debian gives me the message: parport0: HEWLLET-PACKARD DESKJET 690, or
something like that.
But when I type the command cat /proc/parport/0/devices, the only thing it
says is plip. I think it should be plip lp0, shouldn't it? Or should I
remove (how?) plip and bound (how?) lp0?

Thanks,

Gaucho



Printer configuration on debian

2000-10-09 Thread Dwight Johnson
What is the preferred way to configure a PostScript printer on debian 2.2?

This same printer was most recently configured under SuSE 6.1 using
apsfilter.

This is my first debian installation and I am bringing it up one resource
at a time. So far, I have networking and Internet working.

Thanks in advance,
Dwight
--
Dwight Johnson
[EMAIL PROTECTED]