Re: [SLUG] How to get printing setup under Debian

2001-04-26 Thread Michael Lake

Andre Pang wrote:
> On Tue, Apr 24, 2001 at 11:59:51 +1000, Michael Lake wrote:
> > > oh, to make sure that you can actually view the test page okay,
> > > gv /usr/share/apsfilter/setup/test.ps.  if that doesn't work,
> > > then nothing will ...
> >
> > Good point. gv shows any ps or pdf file created by me with LaTeX fine
> > but barfs on the test.ps supplied by apsfilterconfig. If I try to cat my
> > own test.ps file to the printer via gs it crshes with a stack error. The
> > apsfilterconfig still gives the same error below when trying to do the
> > test page.
> 
> ah, well that'd be the problem.
> 
> when you run 'gv test.ps', gv invokes gs to format the test.ps
> page.  for whatever reason, your version of ghostscript can't
> read the test.ps file.  maybe you've got a dud version of
> ghostscript, or your test.ps file is corrupted.  mine looks like
> this:
> 
> 15:48 bozar:/usr/share/apsfilter/setup% ls -l test.ps
> -rw-r--r--1 root root   176784 May 25  2000 test.ps
> 15:48 bozar:/usr/share/apsfilter/setup% md5sum test.ps
> 0802862bd15977f946bd3fec4612d597  test.ps

$ ls -l /usr/share/apsfilter/setup/test.ps 
-rw-r--r--1 root root   176702 Jan  3  2000 test.ps

Slightly diff size for my test.ps and apt-cache show apsfilter shows...
Package: apsfilter
Binary: apsfilter
Version: 5.1.4-1

> you might want to check that you have the correct test.ps file.
> (i've got apsfilter 6.0.0-1 installed from woody.)

I'll upgrade to at least 6.0 and see how that goes.

> glad to see that you got the printer working outside of the
> apsfilter test page, though!

Yep, thanks for SLUG help. Needed it so an IRIX box could print to te
laserjet via my Linux box :-)

Mike
-- 

Michael Lake, University of Technology, Sydney
Email: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
URL: http://www.science.uts.edu.au/~michael-lake/
Linux enthusiast, active caver and interested in anything technical.


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] How to get printing setup under Debian

2001-04-26 Thread Andre Pang

On Tue, Apr 24, 2001 at 11:59:51 +1000, Michael Lake wrote:

> > oh, to make sure that you can actually view the test page okay,
> > gv /usr/share/apsfilter/setup/test.ps.  if that doesn't work,
> > then nothing will ...
> 
> Good point. gv shows any ps or pdf file created by me with LaTeX fine
> but barfs on the test.ps supplied by apsfilterconfig. If I try to cat my
> own test.ps file to the printer via gs it crshes with a stack error. The
> apsfilterconfig still gives the same error below when trying to do the
> test page.

ah, well that'd be the problem.

when you run 'gv test.ps', gv invokes gs to format the test.ps
page.  for whatever reason, your version of ghostscript can't
read the test.ps file.  maybe you've got a dud version of
ghostscript, or your test.ps file is corrupted.  mine looks like
this:

15:48 bozar:/usr/share/apsfilter/setup% ls -l test.ps
-rw-r--r--1 root root   176784 May 25  2000 test.ps
15:48 bozar:/usr/share/apsfilter/setup% md5sum test.ps 
0802862bd15977f946bd3fec4612d597  test.ps

you might want to check that you have the correct test.ps file.
(i've got apsfilter 6.0.0-1 installed from woody.)

glad to see that you got the printer working outside of the
apsfilter test page, though!


-- 
#ozone/algorithm <[EMAIL PROTECTED]>  - trust.in.love.to.save

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] How to get printing setup under Debian

2001-04-23 Thread Michael Lake

Thanks guys for the suggestions. I tried the lprng route first. Looks
like it's working now in that I can print emails and print ps files sent
to the printer. Some prob in the apsfilterconfig test.ps though. Info
below.

Andre Pang wrote:
> hmm, bugger.  try apt-get remove gs and apt-get install
> gs-aladdin instead.  (gs-aladdin is a newer version.)  if you're
> lucky, a newer gs will solve those problems :).

OK decided to try that. I apt-get removed gs and installed instead
gs-aladdin, then
re put on gv. 
 
> oh, to make sure that you can actually view the test page okay,
> gv /usr/share/apsfilter/setup/test.ps.  if that doesn't work,
> then nothing will ...

Good point. gv shows any ps or pdf file created by me with LaTeX fine
but barfs on the test.ps supplied by apsfilterconfig. If I try to cat my
own test.ps file to the printer via gs it crshes with a stack error. The
apsfilterconfig still gives the same error below when trying to do the
test page.

Anyhow ignoring the failed test I just did "lpr -Plp myTest.ps" and out
poppped those hellos' I had echoed to the printer followed by my own
test page quite fine so its working.
 Thanks for the help all :-) *

> (it's a nice test page when it works!)
Yeah I think thats the one one with the tiger on it?

> On Tue, Apr 24, 2001 at 05:58:03 +1000, Michael Lake wrote:
> > Yepo, HP laserJet 1100 takes a ljet4 driver for Ghostscript.
> > After going thru apsfilterconfig and setting it all up with correct
> > settings I get a chance to print a test page :-) goody
> > I get some postscript errors like
> >
> > "Dictionary stack:
> >--dict:780/809--   --dict:0/20--   --dict:89/200--   --dict:16/23--
> > --dict:780/809--"
> >
> > followed by...
> >
> > do {"Unrecoverable error: Unrecoverable error: execstackoverflow in
> > Unrecoverable error: Unrecoverable error: execstackoverflow in
> > Unrecoverable error: Unrecoverable error: execstackoverflow in
> > Unrecoverable error: Unrecoverable error: execstackoverflow"
> > while(1)
> >
> > U?

Mike
-- 

Michael Lake, University of Technology, Sydney
Email: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
URL: http://www.science.uts.edu.au/~michael-lake/
Linux enthusiast, active caver and interested in anything technical.


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] How to get printing setup under Debian

2001-04-23 Thread David Kempe

> Been there, done that. It's web-based frontend is sexy, but the way it
handles printers is brain dead, and if you don't have a HP, they want you to
pay for the drivers. I'm more than happy with lprng and apsfilter.
> And, when i used it, it refused to print graphics. At all.

http://cups.sourceforge.net/cups-drivers.html

we use it quite successfully on a number of printers

Dave


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] How to get printing setup under Debian

2001-04-23 Thread Steve Kowalik

On Mon, Apr 23, 2001 at 11:00:39PM +1000, David Kempe uttered:
> > Funnily enough: www.cups.org
> > apt-get install cupsys
> 
> cups is nice. get it. its works nicely and has way more sexy features than
> the others... dead easy to do useful things as well...
>
No. :-)
Been there, done that. It's web-based frontend is sexy, but the way it handles 
printers is brain dead, and if you don't have a HP, they want you to pay for the 
drivers. I'm more than happy with lprng and apsfilter.
And, when i used it, it refused to print graphics. At all.

> 
> Dave
> 
> 

-- 
Steve
  "I'm a sysadmin because I couldn't beat a blind monkey in a coding contest."
--Me

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] How to get printing setup under Debian

2001-04-23 Thread David Kempe

> Funnily enough: www.cups.org
> apt-get install cupsys

cups is nice. get it. its works nicely and has way more sexy features than
the others... dead easy to do useful things as well...


Dave


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] How to get printing setup under Debian

2001-04-23 Thread Steve Kowalik

On Mon, Apr 23, 2001 at 08:42:55PM +1000, Craige McWhirter uttered:
> I think this is what CUPS is trying to acheive. (sorry, no URL).
>
Funnily enough: www.cups.org
apt-get install cupsys


-- 
Steve
  "I'm a sysadmin because I couldn't beat a blind monkey in a coding contest."
--Me

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] How to get printing setup under Debian

2001-04-23 Thread Steve Kowalik

On Tue, Apr 24, 2001 at 05:58:03AM +1000, Michael Lake uttered:
> Andre Pang wrote:
> > On Mon, Apr 23, 2001 at 11:49:34 +1000, Michael Lake wrote:
> > personally, i did:
> > % apt-get install lprng
> > then
> > % apt-get install apsfilter
> 
> Done
> 
> > now, make sure lpr can communicate with your printer (echo
> > "hello" > /dev/lp0 or whatever your printer port is should do
> > the trick).  if your printer prints out garbage, that's okay.
> > just make sure the lights flash on it or something.
> 
> Yep das blinken lights work :-)
> 
> > after you've made sure that lpr can converse with your printer
> > (ignore the fact that the only thing you can print out at the
> > moment is plain text ...):
> > 
> > % apsfilterconfig
> > 
> > check the linux printing website (http://www.linuxprinting.org/)
> > to look up what driver your printer model needs.
> 
> Yepo, HP laserJet 1100 takes a ljet4 driver for Ghostscript.
>
Good.

> After going thru apsfilterconfig and setting it all up with correct
> settings I get a chance to print a test page :-) goody
> I get some postscript errors like
> 
> "Dictionary stack:
>--dict:780/809--   --dict:0/20--   --dict:89/200--   --dict:16/23--  
> --dict:780/809--" 
> 
> followed by...
> 
> do {"Unrecoverable error: Unrecoverable error: execstackoverflow in
> Unrecoverable error: Unrecoverable error: execstackoverflow in
> Unrecoverable error: Unrecoverable error: execstackoverflow in
> Unrecoverable error: Unrecoverable error: execstackoverflow"
> while(1) 
>
Ek.

I much prefer apsfilter over magicfilter, as apsfilter works, and magicfilter broke 
fatally, but one thing that magicfilter does is Depend or Recommend most of the 
filters you need to use. I've tried filing it as a bug against apsfilter, but the 
Debian Bug reporting system doesn't like me much.

But, other than that, I'm offically out of ideas.
-- 
Steve
  "I'm a sysadmin because I couldn't beat a blind monkey in a coding contest."
--Me

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] How to get printing setup under Debian

2001-04-23 Thread Andre Pang

On Tue, Apr 24, 2001 at 05:58:03 +1000, Michael Lake wrote:

> Yepo, HP laserJet 1100 takes a ljet4 driver for Ghostscript.
> 
> After going thru apsfilterconfig and setting it all up with correct
> settings I get a chance to print a test page :-) goody
> I get some postscript errors like
> 
> "Dictionary stack:
>--dict:780/809--   --dict:0/20--   --dict:89/200--   --dict:16/23--  
> --dict:780/809--" 
> 
> followed by...
> 
> do {"Unrecoverable error: Unrecoverable error: execstackoverflow in
> Unrecoverable error: Unrecoverable error: execstackoverflow in
> Unrecoverable error: Unrecoverable error: execstackoverflow in
> Unrecoverable error: Unrecoverable error: execstackoverflow"
> while(1) 
> 
> U?

hmm, bugger.  try apt-get remove gs and apt-get install
gs-aladdin instead.  (gs-aladdin is a newer version.)  if you're
lucky, a newer gs will solve those problems :).

oh, to make sure that you can actually view the test page okay,
gv /usr/share/apsfilter/setup/test.ps.  if that doesn't work,
then nothing will ...

(it's a nice test page when it works!)


-- 
#ozone/algorithm <[EMAIL PROTECTED]>  - trust.in.love.to.save

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] How to get printing setup under Debian

2001-04-23 Thread Michael F.

I use apsfilter under Debian, or atleast I did, until I dismantled my home
gw. It was easy to setup. Just apt-get install apsfilter, and answer the
questions. Had my HP Laserjet 6L working in no time, and then set it up to
share out via  samba.

Cheers



> > > This is quick. When I changed over to debian from RH my printing setup
> > > is gone. No printcap file at all. Have looked for combinatios of
> > > printcfg printconfig etc commands in bins, looked on debian doc site,
> > > and SLUG archives retured 55 matches but didnt actually show any text



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] How to get printing setup under Debian

2001-04-23 Thread Craige McWhirter

I think this is what CUPS is trying to acheive. (sorry, no URL).

Thus spake Subba Rao ([EMAIL PROTECTED]):

> On  0, Michael Lake <[EMAIL PROTECTED]> wrote:
> > Hi
> > 
> > This is quick. When I changed over to debian from RH my printing setup
> > is gone. No printcap file at all. Have looked for combinatios of
> > printcfg printconfig etc commands in bins, looked on debian doc site,
> > and SLUG archives retured 55 matches but didnt actually show any text
> > (must be doing something wrong there). 
> > 
> > What do I apropos or man for the clue?
> > 
> 
> I have problem in the printing area as well. One thing I noticed about printing
> in the Linux community, is that not too much importance is given to it, to make
> it simple. The reason M$ is liked by normal users is that they can easily print
> any document on their system. I know I did not answer your question, but this
> should be a concern for Linux promoters. If they want to gain serious ground
> on M$ then printing from Linux (distro independent) should be made transparent
> or obviously simple.

-- 

Cheers,
  Craige.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] How to get printing setup under Debian

2001-04-23 Thread Michael Lake

Andre Pang wrote:
> On Mon, Apr 23, 2001 at 11:49:34 +1000, Michael Lake wrote:
> > This is quick. When I changed over to debian from RH my printing setup
> > is gone. No printcap file at all. Have looked for combinatios of
> > printcfg printconfig etc commands in bins, looked on debian doc site,
> > and SLUG archives retured 55 matches but didnt actually show any text
> > (must be doing something wrong there).
> 
> personally, i did:
> % apt-get install lprng
> then
> % apt-get install apsfilter

Done

> now, make sure lpr can communicate with your printer (echo
> "hello" > /dev/lp0 or whatever your printer port is should do
> the trick).  if your printer prints out garbage, that's okay.
> just make sure the lights flash on it or something.

Yep das blinken lights work :-)

> after you've made sure that lpr can converse with your printer
> (ignore the fact that the only thing you can print out at the
> moment is plain text ...):
> 
> % apsfilterconfig
> 
> check the linux printing website (http://www.linuxprinting.org/)
> to look up what driver your printer model needs.

Yepo, HP laserJet 1100 takes a ljet4 driver for Ghostscript.

After going thru apsfilterconfig and setting it all up with correct
settings I get a chance to print a test page :-) goody
I get some postscript errors like

"Dictionary stack:
   --dict:780/809--   --dict:0/20--   --dict:89/200--   --dict:16/23--  
--dict:780/809--" 

followed by...

do {"Unrecoverable error: Unrecoverable error: execstackoverflow in
Unrecoverable error: Unrecoverable error: execstackoverflow in
Unrecoverable error: Unrecoverable error: execstackoverflow in
Unrecoverable error: Unrecoverable error: execstackoverflow"
while(1) 

U?

If I "lpr -Plp test.ps" it silently adds a job to the spool dir
/var/spool/lpd/lp with no complains but nilch comes out.

Can I "apt-get install jeanie" ?

Mike
-- 

Michael Lake, University of Technology, Sydney
Email: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
URL: http://www.science.uts.edu.au/~michael-lake/
Linux enthusiast, active caver and interested in anything technical.


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] How to get printing setup under Debian

2001-04-23 Thread Subba Rao

On  0, Michael Lake <[EMAIL PROTECTED]> wrote:
> Hi
> 
> This is quick. When I changed over to debian from RH my printing setup
> is gone. No printcap file at all. Have looked for combinatios of
> printcfg printconfig etc commands in bins, looked on debian doc site,
> and SLUG archives retured 55 matches but didnt actually show any text
> (must be doing something wrong there). 
> 
> What do I apropos or man for the clue?
> 

I have problem in the printing area as well. One thing I noticed about printing
in the Linux community, is that not too much importance is given to it, to make
it simple. The reason M$ is liked by normal users is that they can easily print
any document on their system. I know I did not answer your question, but this
should be a concern for Linux promoters. If they want to gain serious ground
on M$ then printing from Linux (distro independent) should be made transparent
or obviously simple.

My .02 cents

-- 

Subba Rao
[EMAIL PROTECTED]
http://members.home.net/subba9/

GPG public key ID 27FC9217

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] How to get printing setup under Debian

2001-04-23 Thread David Fisher

> Hi
> 
> This is quick. When I changed over to debian from RH my printing setup
> is gone. No printcap file at all. Have looked for combinatios of
> printcfg printconfig etc commands in bins, looked on debian doc site,
> and SLUG archives retured 55 matches but didnt actually show any text
> (must be doing something wrong there). 
> 
> What do I apropos or man for the clue?
> 
> Mike

apt-get install magicfilter

OR

apt-get install printtool

David


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] How to get printing setup under Debian

2001-04-23 Thread Andre Pang

On Mon, Apr 23, 2001 at 11:49:34 +1000, Michael Lake wrote:

> This is quick. When I changed over to debian from RH my printing setup
> is gone. No printcap file at all. Have looked for combinatios of
> printcfg printconfig etc commands in bins, looked on debian doc site,
> and SLUG archives retured 55 matches but didnt actually show any text
> (must be doing something wrong there). 

personally, i did:

% apt-get install lprng

then

% apt-get install apsfilter

now, make sure lpr can communicate with your printer (echo
"hello" > /dev/lp0 or whatever your printer port is should do
the trick).  if your printer prints out garbage, that's okay. 
just make sure the lights flash on it or something.

after you've made sure that lpr can converse with your printer
(ignore the fact that the only thing you can print out at the
moment is plain text ...):

% apsfilterconfig

check the linux printing website (http://www.linuxprinting.org/)
to look up what driver your printer model needs.


-- 
#ozone/algorithm <[EMAIL PROTECTED]>  - trust.in.love.to.save

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] How to get printing setup under Debian

2001-04-22 Thread Craige McWhirter

If you want a nice and simple GUI tool, printtool is available.
Printtool can be got as:

apt-get install printtool

As per usual, there's other ways ;)

Thus spake Michael Lake ([EMAIL PROTECTED]), on  0:

> Hi
> 
> This is quick. When I changed over to debian from RH my printing setup
> is gone. No printcap file at all. Have looked for combinatios of
> printcfg printconfig etc commands in bins, looked on debian doc site,
> and SLUG archives retured 55 matches but didnt actually show any text
> (must be doing something wrong there). 
> 
> What do I apropos or man for the clue?

-- 

Cheers,
  Craige.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug