apsfilter - hpijs dependence

2010-08-13 Thread Chuck Bacon

In all FreeBSD-8.* so far, apsfilter can't be installed because of
a dependenct on hpijs, apparently through foomatic.  Is there a fix?
I have no HP printer, so... a workaround?  I find cups to be opaque,
at my level at least :-(
Thanks for previous help and present hope!
c...@cape.com
ABHOR SECRECY - DEFEND PRIVACY
___
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: apsfilter setup problem

2007-08-06 Thread David Banning
 You should let apsfilter SETUP program to add the entry in printcap (you
 wrote that you added it yourself). It should be marked with something
 like:
 
   # APS1_BEGIN:printer1
   # - don't delete start label for apsfilter printer1
   # - no other printer defines between BEGIN and END LABEL
   [...]
   # APS1_END - don't delete this

I didn't post the whole thing - but it actually does have the apsfilter
start and end entries.

 Apart from this, your printcap details seem good. However, the problem
 you described could be related to permissions. You run SETUP program as
 root, but you try to print as an ordinary user, I guess. Please check
 permissions/ownership of samba-client configuration file
 under /usr/local/etc/apsfilter/.

# cd /usr/local/etc/apsfilter
# ls -tl 
total 46
-rw-r-  1 root  daemon416 Aug  6 19:47 SETUP.cfg
-rw-r--r--  1 root  wheel   18750 Aug  6 19:45 perf.log
lrwxr-xr-x  1 root  wheel  26 Aug  6 19:42 basedir - /usr/local/share/apsfi
lter
drwxr-xr-x  2 root  wheel 512 Aug  3 17:22 aps1
drwxr-xr-x  2 root  wheel 512 Mar  7  2006 lp
drwxr-xr-x  2 root  wheel 512 Mar  7  2006 brother
drwxr-xr-x  2 root  wheel 512 Jan 24  2006 lp2
drwxr-xr-x  2 root  wheel 512 Jan 24  2006 aps2
drwxr-xr-x  2 root  wheel 512 Aug 22  2003 raw2
drwxr-xr-x  2 root  wheel 512 Aug 22  2003 raw
-r--r--r--  1 root  wheel8794 Aug 22  2003 apsfilterrc


I tried to print as root also, but so luck.


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


apsfilter setup problem

2007-08-05 Thread David Banning
I am setting up a new installation of apsfilter to a network printer.
There a re the install options I have set during apsfilter setup.


(D) Available Device Drivers in your gs binary
(R) Read Ghostscript driver documentation(devices.txt)

(1) Printer Driver Selection[ljet4]
(2) Interface Setup [samba]
(3) Paper Format[letter]
(4) Printing Quality[high]
(5) Color Mode  [gray]
(6) Print Resolution in dots per inch [600x600]
(7) Default Printing Method [auto]


I go to print a test page, and it's successful;

Printing Test page using:
gs -q -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER -r600x600 
-sDEVICE=ljet4 -sPAPERSIZE=letter   
-sOutputFile='/tmp/apsfilter88754/test_page.aps' setup/test.ps

Ok to print testpage? [y/n] y


I creates and entry in /etc/printcap;

lp|ljet4;r=600x600;q=high;c=gray;p=letter;m=auto:\
:lp=/dev/null:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:

But it will not print with the command

ls | lp

or   

ls | lpr

or 

lp -dlp


I installed samba without CUPS printing support.

# lpc stat all
lp:
queuing is enabled
printing is enabled
no entries in spool area
printer idle



Any ideas how I can bridge from a working test to a non-working 
print setup?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Lexmark E120 (with CUPS or apsfilter)

2007-05-17 Thread Marcelo Souza
Hi Roland,

I'll take a look there.

Thank you.
On Wed, 16 May 2007, Roland Smith wrote:

|On Wed, May 16, 2007 at 03:40:04PM -0300, [EMAIL PROTECTED] wrote:
|  Hi All,
| 
|  Has Anyone successfully installed this printer on a FBSD machine?
| 
|  I tried it using CUPS, it works but some times it sends some garbage to 
|  printer (basically when printing from a Windows machine).
|  Using apsfilter, no driver seems to work. When printing, even from FBSD 
|  host machine, the printer does not pull the paper.
|
|According to the openprinting database it should work perfectly;
|http://openprinting.org/show_printer.cgi?recnum=Lexmark-E120
|
|One of the things that CUPS can do is transform different kinds of of
|files to something that the printer can digest.
|
|What I think you should do is create a raw printer that doesn't use
|any of those filters. Print to that printer from your windows box.
|
|Or you could use a generic postscript printer driver on your windows
|box, and CUPS will convert it to the correct format.
|
|Roland
|-- 
|R.F.Smith   http://www.xs4all.nl/~rsmith/
|[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
|pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
|


- Marcelo

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


Lexmark E120 (with CUPS or apsfilter)

2007-05-16 Thread scuba

Hi All,

Has Anyone successfully installed this printer on a FBSD machine?

	I tried it using CUPS, it works but some times it sends some 
garbage to printer (basically when printing from a Windows machine).
	Using apsfilter, no driver seems to work. When printing, even from 
FBSD host machine, the printer does not pull the paper.



I'm looking for some successful story.

- Marcelo

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


Re: Lexmark E120 (with CUPS or apsfilter)

2007-05-16 Thread Roland Smith
On Wed, May 16, 2007 at 03:40:04PM -0300, [EMAIL PROTECTED] wrote:
  Hi All,
 
   Has Anyone successfully installed this printer on a FBSD machine?
 
   I tried it using CUPS, it works but some times it sends some garbage to 
  printer (basically when printing from a Windows machine).
   Using apsfilter, no driver seems to work. When printing, even from FBSD 
  host machine, the printer does not pull the paper.

According to the openprinting database it should work perfectly;
http://openprinting.org/show_printer.cgi?recnum=Lexmark-E120

One of the things that CUPS can do is transform different kinds of of
files to something that the printer can digest.

What I think you should do is create a raw printer that doesn't use
any of those filters. Print to that printer from your windows box.

Or you could use a generic postscript printer driver on your windows
box, and CUPS will convert it to the correct format.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpduwR2JN1S7.pgp
Description: PGP signature


CUPS borked, but apsfilter just works.

2006-09-09 Thread Henry Lenzi

Hi --

We has some CUPS questions this week (doesn't every Unix list? ;-)
Anyways, CUPS keeps borking. Buggy, bugyy, buggy on FreeBSD 6.0 with
a HP Deskjet 840C. And this in 2006.
Apsfilter, OTOH, just works. I just had to install the
ghostscript-afpl (there are also ghoscript-gnu and ghostscrip-gpl).

Just wanted to share my experience with other newbies.

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


Re: Installing Apsfilter

2006-06-03 Thread Andreas Klemm
On Sat, May 27, 2006 at 06:28:39PM -0400, Gerard Seibert wrote:
 Trying to install Apsfilter, I encountered a problem. It seems that it
 requires print/acroread7 which is an interactive port. Reading the
 Makefile on acroread7, it seems I have to go to
 http://www.adobe.com/products/acrobat/distribute.html and fill out a
 form, wait a few days to see if I am approved, and then what?
 
 Is this really necessary? Is there some way around this? If I follow
 through with this scenario, what happens? Do I get a special code or
 file to install that will allow me to install the port just so I can get
 apsfilter installed?

Normally you should be able to deselect pdf if you don't want it.

I experience myself, that the configure script will be executed and
terminated immediately.

Don't know what is broken there.

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 6
Need a magic printfilter today ? - http://www.apsfilter.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing Apsfilter

2006-05-29 Thread P.U.Kruppa

On Sat, 27 May 2006, Gerard Seibert wrote:


Trying to install Apsfilter, I encountered a problem. It seems that it
requires print/acroread7 which is an interactive port. Reading the
Makefile on acroread7, it seems I have to go to
http://www.adobe.com/products/acrobat/distribute.html and fill out a
form, wait a few days to see if I am approved, and then what?

Do you really want to redistribute acroread?
# make install
just works as usual around here.

Uli.



Is this really necessary? Is there some way around this? If I follow
through with this scenario, what happens? Do I get a special code or
file to install that will allow me to install the port just so I can get
apsfilter installed?

Thanks!
--
Gerard Seibert
[EMAIL PROTECTED]

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





*
* Peter Ulrich Kruppa - Wuppertal - Germany *
*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing Apsfilter

2006-05-29 Thread Gerard Seibert
P.U.Kruppa wrote:

 On Sat, 27 May 2006, Gerard Seibert wrote:
 
  Trying to install Apsfilter, I encountered a problem. It seems that it
  requires print/acroread7 which is an interactive port. Reading the
  Makefile on acroread7, it seems I have to go to
  http://www.adobe.com/products/acrobat/distribute.html and fill out a
  form, wait a few days to see if I am approved, and then what?
 Do you really want to redistribute acroread?
 # make install
 just works as usual around here.
 
 Uli.
 
 
  Is this really necessary? Is there some way around this? If I follow
  through with this scenario, what happens? Do I get a special code or
  file to install that will allow me to install the port just so I can get
  apsfilter installed?
 
  Thanks!

I found the problem. I had 'BATCH= yes' sans quotes set in the
/etc/make.conf file. However, I do not believe that the program should
just fail if that flag is set. Rather, it should print some sort of
warning regarding the use of 'BATCH' either in the make.conf file or
on the command line.

-- 
Gerard Seibert
[EMAIL PROTECTED]

The very powerful and the very stupid have one thing in common.
Instead of altering their views to fit the facts, they alter the
facts to fit their views ... which can be very uncomfortable if you
happen to be one of the facts that needs altering.

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


Installing Apsfilter

2006-05-27 Thread Gerard Seibert
Trying to install Apsfilter, I encountered a problem. It seems that it
requires print/acroread7 which is an interactive port. Reading the
Makefile on acroread7, it seems I have to go to
http://www.adobe.com/products/acrobat/distribute.html and fill out a
form, wait a few days to see if I am approved, and then what?

Is this really necessary? Is there some way around this? If I follow
through with this scenario, what happens? Do I get a special code or
file to install that will allow me to install the port just so I can get
apsfilter installed?

Thanks!
-- 
Gerard Seibert
[EMAIL PROTECTED]

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


Re: apsfilter question/problem SOLVED PARTIALLY

2006-03-02 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Feb 27 Denny White spake forth boldly:


On Feb 17 Mike Jeays spake forth boldly:

On Fri, 2006-02-17 at 11:09 +, Denny White wrote:


I read the article at Onlamp about printing for the impatient.
Installed apsfilter and samba on my old hp netserver so I'd
be able to print to an hp 722c deskjet printer connected to
an xp box. Gimp-print was also installed. Ghostscript was
already installed. I ran /usr/local/share/apsfilter/./SETUP
 thought I had it whipped. That's where the fun started.
Apparently I've missed something along the way, since the
print job never gets sent to the xp box. I also found out
at linuxprinting.org that the recommended hp 722c driver
is pnm2ppa. There was only one section in the install script
that mentioned that driver, 10) PPA printer, so I chose that.
It plugs it into the setup, but when I try to print a test
page, I get ERROR: additional filter 'pnm2ppa' not found.
I found the driver at linuxprinting.org  downloaded it.
How do I go about using it? Is there a way to compile it
into ghostscript? I have ghostscript-gnu-nox11-7.07_14 
the apsfilter setup script found it  didn't complain.
Do I need to install another more complete version? I know
if I install ghostscript-afpl, I'll also have to recompile
 reinstall apsfilter with the proper make options. When
I choose the more generic just plain deskjet printer driver,
the script accepts it, and when I try to print a test page,
there's no complaining about the driver like when I try the
ppa driver. Test page is created, supposedly sent to the
xp printer with even a speed, average around 950 kb/s, but
I see where it only goes to stdin. I'm definitely not a
programmer, but another filter, ghostscript, something, has
to relay it to stdout, is that correct?
So, I could use some pointers on this. If anyone interested
in answering needs more info, I'll be glad to plug it in to
a reply. Like smb.conf, apsfilterrc,  so forth. Thanks.
Denny White



This combination worked fine for me.

-
# Printcap file: Added 2005-04-25 based on pnm2ppa suggestions.

lp|ascii|unix:\
   :lp=/dev/lpt0:\
   :sd=/var/spool/lpd:\
   :if=/home/mike/bin/pnm2ppa-filter:\
   :mx#0:\
   :sh:
-
#!/bin/sh
# printcap-filter
TMP=/tmp/pnm2ppa.tmp
cat $TMP
ch1=`head -1 $TMP | cut -c 1`
if [ $ch1 = '%' ]
then
cat $TMP | /usr/local/bin/gs -sDEVICE=ppmraw -q -dNOPAUSE -r600 \
-sOutputFile=- - | \
/usr/local/bin/pnm2ppa -i - -o -
else
 cat $TMP | /usr/local/bin/enscript -B -q -p - | \
 /usr/local/bin/gs -sDEVICE=ppmraw -q -dNOPAUSE -r600 \
 -sOutputFile=- - | \
 /usr/local/bin/pnm2ppa -i - -o -
fi
rm $TMP



I've fought this for some time now. I've got samba installed,
along with creating lpr on the xp box where I want to print
to the deskjet 722c. Since I added the remote printer section
below in /etc/printcap, users can no longer print locally,
only root. I checked the ownerships on /var/spool/output/lpd
files and nothing's changed from before the printcap addition.
Also, the file shows up on the xp box in the printspool, but
never prints.

#
lp|local line printer:\
:sh:\
:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
#
remote|sample remote printer:\
:rp=HPDeskJet2:\
:rm=dancer:\
:sd=/var/spool/samba/remote:\
:if=/root/hold/printcap-filter:\
:lf=/var/spool/samba/remote/log:\
   :af=/var/spool/samba/remote/acct:\
   :mx#0:\
:sh
#

Also have apsfilter installed but am not using it in printcap or
in the script that filters lpr's output. The system reports the
filtering script above successfully filters the file I want to
print too.
Another thing, only way I can browse shares from the xp box to
the fbsd box is to usr security = share in smb.conf. I've tried
user with  without encrypt passwords in smb.conf  tried the
xp box with  without enableplaintextpassword  can't get it to
let me browse. I mention these things too, because I thought it
might shed some light on what I'm doing wrong. Below are the
pertinent settings from smb.conf without all the extra comments
and commented outstuff.

[global]
  workgroup = WHEEL
  server string = Samba %v, running on %h
  security = user
  encrypt passwords = no
  smb passwd file = /usr/local/private/smbpasswd
  obey pam restrictions = no
  hosts allow = dancer, badboybox, mobile1

  load printers = yes

  printing = bsd# tried without uncommenting out
# and with bsd  cups

  passdb backend = smbpasswd

  socket options = TCP_NODELAY

  add user script = /usr/sbin/useradd %u
  add group script = /usr/sbin/groupadd %g
  add machine script = /usr/sbin/adduser -n -g machines -c Machine -d 
/dev/null -s /bin/false %u

  delete user script = /usr/sbin/userdel %u
  delete user from group script

Re: apsfilter question/problem

2006-02-27 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Feb 17 Mike Jeays spake forth boldly:

On Fri, 2006-02-17 at 11:09 +, Denny White wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I read the article at Onlamp about printing for the impatient.
Installed apsfilter and samba on my old hp netserver so I'd
be able to print to an hp 722c deskjet printer connected to
an xp box. Gimp-print was also installed. Ghostscript was
already installed. I ran /usr/local/share/apsfilter/./SETUP
 thought I had it whipped. That's where the fun started.
Apparently I've missed something along the way, since the
print job never gets sent to the xp box. I also found out
at linuxprinting.org that the recommended hp 722c driver
is pnm2ppa. There was only one section in the install script
that mentioned that driver, 10) PPA printer, so I chose that.
It plugs it into the setup, but when I try to print a test
page, I get ERROR: additional filter 'pnm2ppa' not found.
I found the driver at linuxprinting.org  downloaded it.
How do I go about using it? Is there a way to compile it
into ghostscript? I have ghostscript-gnu-nox11-7.07_14 
the apsfilter setup script found it  didn't complain.
Do I need to install another more complete version? I know
if I install ghostscript-afpl, I'll also have to recompile
 reinstall apsfilter with the proper make options. When
I choose the more generic just plain deskjet printer driver,
the script accepts it, and when I try to print a test page,
there's no complaining about the driver like when I try the
ppa driver. Test page is created, supposedly sent to the
xp printer with even a speed, average around 950 kb/s, but
I see where it only goes to stdin. I'm definitely not a
programmer, but another filter, ghostscript, something, has
to relay it to stdout, is that correct?
So, I could use some pointers on this. If anyone interested
in answering needs more info, I'll be glad to plug it in to
a reply. Like smb.conf, apsfilterrc,  so forth. Thanks.
Denny White



This combination worked fine for me.

-
# Printcap file: Added 2005-04-25 based on pnm2ppa suggestions.

lp|ascii|unix:\
   :lp=/dev/lpt0:\
   :sd=/var/spool/lpd:\
   :if=/home/mike/bin/pnm2ppa-filter:\
   :mx#0:\
   :sh:
-
#!/bin/sh
# printcap-filter
TMP=/tmp/pnm2ppa.tmp
cat $TMP
ch1=`head -1 $TMP | cut -c 1`
if [ $ch1 = '%' ]
then
cat $TMP | /usr/local/bin/gs -sDEVICE=ppmraw -q -dNOPAUSE -r600 \
-sOutputFile=- - | \
/usr/local/bin/pnm2ppa -i - -o -
else
 cat $TMP | /usr/local/bin/enscript -B -q -p - | \
 /usr/local/bin/gs -sDEVICE=ppmraw -q -dNOPAUSE -r600 \
 -sOutputFile=- - | \
 /usr/local/bin/pnm2ppa -i - -o -
fi
rm $TMP



I've fought this for some time now. I've got samba installed,
along with creating lpr on the xp box where I want to print
to the deskjet 722c. Since I added the remote printer section
below in /etc/printcap, users can no longer print locally,
only root. I checked the ownerships on /var/spool/output/lpd
files and nothing's changed from before the printcap addition.
Also, the file shows up on the xp box in the printspool, but
never prints.

#
lp|local line printer:\
:sh:\
:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
#
remote|sample remote printer:\
:rp=HPDeskJet2:\
:rm=dancer:\
:sd=/var/spool/samba/remote:\
:if=/root/hold/printcap-filter:\
:lf=/var/spool/samba/remote/log:\
:af=/var/spool/samba/remote/acct:\
:mx#0:\
:sh
#

Also have apsfilter installed but am not using it in printcap or
in the script that filters lpr's output. The system reports the
filtering script above successfully filters the file I want to
print too.
Another thing, only way I can browse shares from the xp box to
the fbsd box is to usr security = share in smb.conf. I've tried
user with  without encrypt passwords in smb.conf  tried the
xp box with  without enableplaintextpassword  can't get it to
let me browse. I mention these things too, because I thought it
might shed some light on what I'm doing wrong. Below are the
pertinent settings from smb.conf without all the extra comments
and commented outstuff.

[global]
   workgroup = WHEEL
   server string = Samba %v, running on %h
   security = user
   encrypt passwords = no
   smb passwd file = /usr/local/private/smbpasswd
   obey pam restrictions = no
   hosts allow = dancer, badboybox, mobile1

   load printers = yes

   printing = bsd   # tried without uncommenting out
# and with bsd  cups

   passdb backend = smbpasswd

   socket options = TCP_NODELAY

   add user script = /usr/sbin/useradd %u
   add group script = /usr/sbin/groupadd %g
   add machine script = /usr/sbin/adduser -n -g machines -c Machine -d 
/dev/null -s /bin/false %u
   delete user script = /usr/sbin/userdel %u
   delete user

Re: apsfilter question/problem

2006-02-20 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Feb 18 Eric Schuele spake forth boldly:


I read the article at Onlamp about printing for the impatient.
Installed apsfilter and samba on my old hp netserver so I'd
be able to print to an hp 722c deskjet printer connected to
an xp box. 


I don't have a fix to your apsfilter issue, but if you you are interested in 
another possible printing solution... try:


http://www.lanside.net/article.php?story=20031007161002250

It works well for me.  And is simple to setup.


Gimp-print was also installed. Ghostscript was
already installed. I ran /usr/local/share/apsfilter/./SETUP
 thought I had it whipped. That's where the fun started.
Apparently I've missed something along the way, since the
print job never gets sent to the xp box. I also found out
at linuxprinting.org that the recommended hp 722c driver
is pnm2ppa. There was only one section in the install script
that mentioned that driver, 10) PPA printer, so I chose that.
It plugs it into the setup, but when I try to print a test
page, I get ERROR: additional filter 'pnm2ppa' not found.
I found the driver at linuxprinting.org  downloaded it.
How do I go about using it? Is there a way to compile it
into ghostscript? I have ghostscript-gnu-nox11-7.07_14 
the apsfilter setup script found it  didn't complain.
Do I need to install another more complete version? I know
if I install ghostscript-afpl, I'll also have to recompile
 reinstall apsfilter with the proper make options. When
I choose the more generic just plain deskjet printer driver,
the script accepts it, and when I try to print a test page,
there's no complaining about the driver like when I try the
ppa driver. Test page is created, supposedly sent to the
xp printer with even a speed, average around 950 kb/s, but
I see where it only goes to stdin. I'm definitely not a
programmer, but another filter, ghostscript, something, has
to relay it to stdout, is that correct?
So, I could use some pointers on this. If anyone interested
in answering needs more info, I'll be glad to plug it in to
a reply. Like smb.conf, apsfilterrc,  so forth. Thanks.
Denny White


--
Regards,
Eric


Thanks. Got it installed but couldn't get it to work. Ran into
some real problems with what it did regarding my old Star 2410
dot-matrix printer. I shouldn't have fooled with that to begin
with. I had tried to set the old Star up with CUPS, but there
was no mention of a driver for it, or even the brand of printer.
I know some of the Epson drivers may work with it, but in the
meantime, I kept getting something sent to that printer, even
after I'd removed it from printcap  even rebooted. I fooled around
with the files I could find in /var/spool  downward, moved some
into a backup directory until I could get the old printer to
behave,  then started putting the files back. Afterward, cups
could no longer communicate with anything. I tried doing a
deinstall  reinstall, but the problem persisted. So, it's all
gone now, uninstalled. Will try again later with the other
solution I received in another post. Thanks for trying to help.
I think I've been eaten up by the dumbass in this issue. :)
I know others have trouble too, sometimes, setting up printing,
but I almost screwed my system up, just to print to a damned
winblows puter! :)

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFD+bUAy0Ty5RZE55oRAtVDAJ9w+r5DA5t2usGFMl7gWyazuLMJmQCfQhQa
5BO7cQZd4FHMUpV6eHyBycI=
=ql/x
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apsfilter question/problem

2006-02-18 Thread Eric Schuele

Denny White wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I read the article at Onlamp about printing for the impatient.
Installed apsfilter and samba on my old hp netserver so I'd
be able to print to an hp 722c deskjet printer connected to
an xp box. 


I don't have a fix to your apsfilter issue, but if you you are 
interested in another possible printing solution... try:


http://www.lanside.net/article.php?story=20031007161002250

It works well for me.  And is simple to setup.


Gimp-print was also installed. Ghostscript was
already installed. I ran /usr/local/share/apsfilter/./SETUP
 thought I had it whipped. That's where the fun started.
Apparently I've missed something along the way, since the
print job never gets sent to the xp box. I also found out
at linuxprinting.org that the recommended hp 722c driver
is pnm2ppa. There was only one section in the install script
that mentioned that driver, 10) PPA printer, so I chose that.
It plugs it into the setup, but when I try to print a test
page, I get ERROR: additional filter 'pnm2ppa' not found.
I found the driver at linuxprinting.org  downloaded it.
How do I go about using it? Is there a way to compile it
into ghostscript? I have ghostscript-gnu-nox11-7.07_14 
the apsfilter setup script found it  didn't complain.
Do I need to install another more complete version? I know
if I install ghostscript-afpl, I'll also have to recompile
 reinstall apsfilter with the proper make options. When
I choose the more generic just plain deskjet printer driver,
the script accepts it, and when I try to print a test page,
there's no complaining about the driver like when I try the
ppa driver. Test page is created, supposedly sent to the
xp printer with even a speed, average around 950 kb/s, but
I see where it only goes to stdin. I'm definitely not a
programmer, but another filter, ghostscript, something, has
to relay it to stdout, is that correct?
So, I could use some pointers on this. If anyone interested
in answering needs more info, I'll be glad to plug it in to
a reply. Like smb.conf, apsfilterrc,  so forth. Thanks.
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFD9a7dy0Ty5RZE55oRAg/8AKCaidZVu40OrIvmGeLm/Zw40RDAqgCaAggH
YmKpizvD6o7ihgZM8MmQKn0=
=wm8n
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





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


apsfilter question/problem

2006-02-17 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I read the article at Onlamp about printing for the impatient.
Installed apsfilter and samba on my old hp netserver so I'd
be able to print to an hp 722c deskjet printer connected to
an xp box. Gimp-print was also installed. Ghostscript was
already installed. I ran /usr/local/share/apsfilter/./SETUP
 thought I had it whipped. That's where the fun started.
Apparently I've missed something along the way, since the
print job never gets sent to the xp box. I also found out
at linuxprinting.org that the recommended hp 722c driver
is pnm2ppa. There was only one section in the install script
that mentioned that driver, 10) PPA printer, so I chose that.
It plugs it into the setup, but when I try to print a test
page, I get ERROR: additional filter 'pnm2ppa' not found.
I found the driver at linuxprinting.org  downloaded it.
How do I go about using it? Is there a way to compile it
into ghostscript? I have ghostscript-gnu-nox11-7.07_14 
the apsfilter setup script found it  didn't complain.
Do I need to install another more complete version? I know
if I install ghostscript-afpl, I'll also have to recompile
 reinstall apsfilter with the proper make options. When
I choose the more generic just plain deskjet printer driver,
the script accepts it, and when I try to print a test page,
there's no complaining about the driver like when I try the
ppa driver. Test page is created, supposedly sent to the
xp printer with even a speed, average around 950 kb/s, but
I see where it only goes to stdin. I'm definitely not a
programmer, but another filter, ghostscript, something, has
to relay it to stdout, is that correct?
So, I could use some pointers on this. If anyone interested
in answering needs more info, I'll be glad to plug it in to
a reply. Like smb.conf, apsfilterrc,  so forth. Thanks.
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFD9a7dy0Ty5RZE55oRAg/8AKCaidZVu40OrIvmGeLm/Zw40RDAqgCaAggH
YmKpizvD6o7ihgZM8MmQKn0=
=wm8n
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apsfilter question/problem

2006-02-17 Thread Mike Jeays
On Fri, 2006-02-17 at 11:09 +, Denny White wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 I read the article at Onlamp about printing for the impatient.
 Installed apsfilter and samba on my old hp netserver so I'd
 be able to print to an hp 722c deskjet printer connected to
 an xp box. Gimp-print was also installed. Ghostscript was
 already installed. I ran /usr/local/share/apsfilter/./SETUP
  thought I had it whipped. That's where the fun started.
 Apparently I've missed something along the way, since the
 print job never gets sent to the xp box. I also found out
 at linuxprinting.org that the recommended hp 722c driver
 is pnm2ppa. There was only one section in the install script
 that mentioned that driver, 10) PPA printer, so I chose that.
 It plugs it into the setup, but when I try to print a test
 page, I get ERROR: additional filter 'pnm2ppa' not found.
 I found the driver at linuxprinting.org  downloaded it.
 How do I go about using it? Is there a way to compile it
 into ghostscript? I have ghostscript-gnu-nox11-7.07_14 
 the apsfilter setup script found it  didn't complain.
 Do I need to install another more complete version? I know
 if I install ghostscript-afpl, I'll also have to recompile
  reinstall apsfilter with the proper make options. When
 I choose the more generic just plain deskjet printer driver,
 the script accepts it, and when I try to print a test page,
 there's no complaining about the driver like when I try the
 ppa driver. Test page is created, supposedly sent to the
 xp printer with even a speed, average around 950 kb/s, but
 I see where it only goes to stdin. I'm definitely not a
 programmer, but another filter, ghostscript, something, has
 to relay it to stdout, is that correct?
 So, I could use some pointers on this. If anyone interested
 in answering needs more info, I'll be glad to plug it in to
 a reply. Like smb.conf, apsfilterrc,  so forth. Thanks.
 Denny White
 
 GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
 Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (OpenBSD)
 
 iD8DBQFD9a7dy0Ty5RZE55oRAg/8AKCaidZVu40OrIvmGeLm/Zw40RDAqgCaAggH
 YmKpizvD6o7ihgZM8MmQKn0=
 =wm8n
 -END PGP SIGNATURE-
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

This combination worked fine for me.

-
# Printcap file: Added 2005-04-25 based on pnm2ppa suggestions.
  
lp|ascii|unix:\
:lp=/dev/lpt0:\
:sd=/var/spool/lpd:\
:if=/home/mike/bin/pnm2ppa-filter:\
:mx#0:\
:sh:
-
#!/bin/sh
# printcap-filter
TMP=/tmp/pnm2ppa.tmp
cat $TMP
ch1=`head -1 $TMP | cut -c 1`
if [ $ch1 = '%' ]
then
 cat $TMP | /usr/local/bin/gs -sDEVICE=ppmraw -q -dNOPAUSE -r600 \
-sOutputFile=- - | \
 /usr/local/bin/pnm2ppa -i - -o -  
else  
  cat $TMP | /usr/local/bin/enscript -B -q -p - | \
  /usr/local/bin/gs -sDEVICE=ppmraw -q -dNOPAUSE -r600 \
  -sOutputFile=- - | \
  /usr/local/bin/pnm2ppa -i - -o -
fi
rm $TMP


-- 
Mike Jeays
http://ca.geocities.com/[EMAIL PROTECTED]

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


Re: apsfilter question/problem

2006-02-17 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Today Mike Jeays spake forth boldly:


On Fri, 2006-02-17 at 11:09 +, Denny White wrote:


I read the article at Onlamp about printing for the impatient.
Installed apsfilter and samba on my old hp netserver so I'd
be able to print to an hp 722c deskjet printer connected to
an xp box. Gimp-print was also installed. Ghostscript was
already installed. I ran /usr/local/share/apsfilter/./SETUP
 thought I had it whipped. That's where the fun started.
Apparently I've missed something along the way, since the
print job never gets sent to the xp box. I also found out
at linuxprinting.org that the recommended hp 722c driver
is pnm2ppa. There was only one section in the install script
that mentioned that driver, 10) PPA printer, so I chose that.
It plugs it into the setup, but when I try to print a test
page, I get ERROR: additional filter 'pnm2ppa' not found.
I found the driver at linuxprinting.org  downloaded it.
How do I go about using it? Is there a way to compile it
into ghostscript? I have ghostscript-gnu-nox11-7.07_14 
the apsfilter setup script found it  didn't complain.
Do I need to install another more complete version? I know
if I install ghostscript-afpl, I'll also have to recompile
 reinstall apsfilter with the proper make options. When
I choose the more generic just plain deskjet printer driver,
the script accepts it, and when I try to print a test page,
there's no complaining about the driver like when I try the
ppa driver. Test page is created, supposedly sent to the
xp printer with even a speed, average around 950 kb/s, but
I see where it only goes to stdin. I'm definitely not a
programmer, but another filter, ghostscript, something, has
to relay it to stdout, is that correct?
So, I could use some pointers on this. If anyone interested
in answering needs more info, I'll be glad to plug it in to
a reply. Like smb.conf, apsfilterrc,  so forth. Thanks.
Denny White


-
# Printcap file: Added 2005-04-25 based on pnm2ppa suggestions.

lp|ascii|unix:\
   :lp=/dev/lpt0:\
   :sd=/var/spool/lpd:\
   :if=/home/mike/bin/pnm2ppa-filter:\
   :mx#0:\
   :sh:
-
#!/bin/sh
# printcap-filter
TMP=/tmp/pnm2ppa.tmp
cat $TMP
ch1=`head -1 $TMP | cut -c 1`
if [ $ch1 = '%' ]
then
cat $TMP | /usr/local/bin/gs -sDEVICE=ppmraw -q -dNOPAUSE -r600 \
-sOutputFile=- - | \
/usr/local/bin/pnm2ppa -i - -o -
else
 cat $TMP | /usr/local/bin/enscript -B -q -p - | \
 /usr/local/bin/gs -sDEVICE=ppmraw -q -dNOPAUSE -r600 \
 -sOutputFile=- - | \
 /usr/local/bin/pnm2ppa -i - -o -
fi
rm $TMP



--
Mike Jeays
http://ca.geocities.com/[EMAIL PROTECTED]



Thanks for the answer, Mike. Will have to try working with
this when I get off work in the a.m. Have no idea how to
incorporate it with the smb stuff. I know that there's a
basic apsfilterrc in /usr/local/etc/apsfilter  then separate
apsfilterrc's for each individual printer in separate subdirs,
along with smbclient.conf. I've tried reading samba logs, 
/var/log/messages to try  figure out what I'm doing wrong.
This whole thing started because of me not wanting to have to
scp files to the xp box  then having to go there to physically
enter printer commands. Laziness prevailed. If I ever get this
working, it'll be worth it. In the meantime, I think it took
less energy walking. :)
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFD9eKty0Ty5RZE55oRAnlFAKCrLWKTU/rz9BWQm1jzOwmDh64hZwCgp2yD
nMPdRVZ23gkvU4IQAHzaoQg=
=eYru
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help with Apsfilter and HP 842c

2005-10-29 Thread E. J. Cerejo
I'm running FreeBSD 5.4 and my printer used to print
perfectly until I did a fresh install because had to
change hard drives, now I can't get my printer to
print using apsfilter.  Everytime I print the printer
starts feeding the paper and to print and then it just
hangs and sometimes it turns off.  I've checked the
error logs and all it tells me is this:

Oct 29 11:41:58 ecerejo hpijs: unable to write to
output, fd=6, count=4096: m

Your help would be appreciated.  Thank you.








___ 
Promoção Yahoo! Acesso Grátis: a cada hora navegada você
acumula cupons e concorre a mais de 500 prêmios! Participe!
http://yahoo.fbiz.com.br/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Apsfilter problem

2005-10-10 Thread E. J. Cerejo
Since my FBSD5.4 reinstallation I can't get my HP
Deskjet 842c to print.  I didn't have any problems
with it before  I configured it exactly the way it was
before and now I start printing it starts feeding the
first sheet and when it starts printing the first line
it just shuts down my printer.  Does anyone know how
to fix this?

I'm running the latest version of apsfilter.

EJC
www.only7bucks.com








___ 
Promoção Yahoo! Acesso Grátis: a cada hora navegada você acumula cupons e 
concorre a mais de 500 prêmios! Participe! http://yahoo.fbiz.com.br/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apsfilter FBSD 5.4

2005-10-06 Thread Kiffin Gish

E. J. Cerejo wrote:


I could print perfectly using apsfilter before I did a
clean FreeBSD instalation and now something is not
right, when I go through the setup program and I
finally test a page the sheet of paper gets fed and
looks like it starts printing and then everything
freezes on my printer or it completely shuts down and
it only turn on if I pull the plug.  I'm using
FBSD5.4.  Has anyone ever had this problem?



EJC
www.only7bucks.com








___ 
Novo Yahoo! Messenger com voz: ligações, Yahoo! Avatars, novos emoticons e muito mais. Instale agora! 
www.yahoo.com.br/messenger/

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

 

Yes I have similar problems with an hp720c where after installation the 
test page just hangs, lpd-errs logfile showing some driver error...


--
Kiffin Gish
Gouda, The Netherlands

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


Apsfilter FBSD 5.4

2005-10-05 Thread E. J. Cerejo
I could print perfectly using apsfilter before I did a
clean FreeBSD instalation and now something is not
right, when I go through the setup program and I
finally test a page the sheet of paper gets fed and
looks like it starts printing and then everything
freezes on my printer or it completely shuts down and
it only turn on if I pull the plug.  I'm using
FBSD5.4.  Has anyone ever had this problem?



EJC
www.only7bucks.com








___ 
Novo Yahoo! Messenger com voz: ligações, Yahoo! Avatars, novos emoticons e 
muito mais. Instale agora! 
www.yahoo.com.br/messenger/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apsfilter and HP Deskjet 842c

2005-10-04 Thread E. J. Cerejo
I could print perfectly using apsfilter before I did a
clean FreeBSD instalation and now something is not
right, when I go through the setup program and I
finally test a page the sheet of paper gets fed and
looks like it starts printing and then everything
freezes on my printer or it completely shuts down and
it only turn on if I pull the plug.  I'm using
FBSD5.4.  Has anyone ever had this problem?

EJC
www.only7bucks.com








___ 
Novo Yahoo! Messenger com voz: ligações, Yahoo! Avatars, novos emoticons e 
muito mais. Instale agora! 
www.yahoo.com.br/messenger/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apsfilter setup test page does nothing ...

2005-10-02 Thread Kiffin Gish
On Sun, 2005-10-02 at 00:06 +0100, dgmm wrote:
 On Saturday 01 October 2005 17:02, Kiffin Gish wrote:
  I am trying to get my HP Deskjet 720C working via the parallel port lpt0.
 
  After running through the apsfilter setup program and configuring all
  the required stuff, I choose T) Print a test page, but nothing happens,
  namely:
 
  Ok to print testpage? [y/n] y
 
  Creating test page...
 
  real0m5.208s
  user0m1.358s
  sys 0m0.336s
 
  Printing test page...
  -rw-r--r--  1 root  wheel  104370928 Oct  1 17:44
  /tmp/apsfilter1140/test_page.aps
 
  ...and then nothing.
 
  the tmp-file is created but what now?
 
  lpd is running:
 
  [EMAIL PROTECTED] ps -aux | grep lpd
  root 396  0.0  0.2  1364   940  ??  Is5:13PM   0:00.01
  /usr/sbin/lpd
 
  Any ideas?
 
 Is there a driver for the 720C now?  last time I looked it wasn't supported 
 (quite some time ago now) mainly due to being a winprinter ie no inbuilt 
 inteligence.
 

Yes there is and it is called ppa/720 according to the install script.

-- 
Kiffin Gish
Gouda, The Netherlands

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


Re: Apsfilter setup test page does nothing ...

2005-10-02 Thread dgmm
On Sunday 02 October 2005 12:47, Kiffin Gish wrote:
 On Sun, 2005-10-02 at 00:06 +0100, dgmm wrote:

  Is there a driver for the 720C now?  last time I looked it wasn't
  supported (quite some time ago now) mainly due to being a winprinter ie
  no inbuilt inteligence.

 Yes there is and it is called ppa/720 according to the install script.

Thanks.  I've got one here and it's been a good workhorse on the Windows box.  
It'll be nice to have it accessable from FreeBSD too :-)

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


Apsfilter setup test page does nothing ...

2005-10-01 Thread Kiffin Gish

I am trying to get my HP Deskjet 720C working via the parallel port lpt0.

After running through the apsfilter setup program and configuring all 
the required stuff, I choose T) Print a test page, but nothing happens, 
namely:


Ok to print testpage? [y/n] y

Creating test page...

real0m5.208s
user0m1.358s
sys 0m0.336s

Printing test page...
-rw-r--r--  1 root  wheel  104370928 Oct  1 17:44 
/tmp/apsfilter1140/test_page.aps


...and then nothing.

the tmp-file is created but what now?

lpd is running:

[EMAIL PROTECTED] ps -aux | grep lpd
root 396  0.0  0.2  1364   940  ??  Is5:13PM   0:00.01 /usr/sbin/lpd

Any ideas?

--
Kiffin Gish
Gouda, The Netherlands

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


Re: Apsfilter setup test page does nothing ...

2005-10-01 Thread Chris
Kiffin Gish wrote:
 I am trying to get my HP Deskjet 720C working via the parallel port lpt0.
 
 After running through the apsfilter setup program and configuring all
 the required stuff, I choose T) Print a test page, but nothing happens,
 namely:
 
 Ok to print testpage? [y/n] y
 
 Creating test page...
 
 real0m5.208s
 user0m1.358s
 sys 0m0.336s
 
 Printing test page...
 -rw-r--r--  1 root  wheel  104370928 Oct  1 17:44
 /tmp/apsfilter1140/test_page.aps
 
 ...and then nothing.
 
 the tmp-file is created but what now?
 
 lpd is running:
 
 [EMAIL PROTECTED] ps -aux | grep lpd
 root 396  0.0  0.2  1364   940  ??  Is5:13PM   0:00.01
 /usr/sbin/lpd
 
 Any ideas?
 

You may be having interupt storm issues.
Try adding this to /boot/device.hints:

hint.ppc.0.flags=0x20


-- 
Best regards,
Chris

Never eat prunes when you are famished.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apsfilter setup test page does nothing ...

2005-10-01 Thread Kiffin Gish

Chris wrote:


Kiffin Gish wrote:
 


I am trying to get my HP Deskjet 720C working via the parallel port lpt0.

After running through the apsfilter setup program and configuring all
the required stuff, I choose T) Print a test page, but nothing happens,
namely:

Ok to print testpage? [y/n] y

Creating test page...

real0m5.208s
user0m1.358s
sys 0m0.336s

Printing test page...
-rw-r--r--  1 root  wheel  104370928 Oct  1 17:44
/tmp/apsfilter1140/test_page.aps

...and then nothing.

the tmp-file is created but what now?

lpd is running:

[EMAIL PROTECTED] ps -aux | grep lpd
root 396  0.0  0.2  1364   940  ??  Is5:13PM   0:00.01
/usr/sbin/lpd

Any ideas?

   



You may be having interupt storm issues.
Try adding this to /boot/device.hints:

hint.ppc.0.flags=0x20


 


Tried your suggestion but still nothing.

Just out of curiosity I checked the /var/log/lpd-errs file and found this:

Oct  1 21:34:11 laptop pnm2ppa[931]: main():  Could not open PNM input file

Could that mean something?

--
Kiffin Gish
Gouda, The Netherlands

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


Re: Apsfilter setup test page does nothing ...

2005-10-01 Thread dgmm
On Saturday 01 October 2005 17:02, Kiffin Gish wrote:
 I am trying to get my HP Deskjet 720C working via the parallel port lpt0.

 After running through the apsfilter setup program and configuring all
 the required stuff, I choose T) Print a test page, but nothing happens,
 namely:

 Ok to print testpage? [y/n] y

 Creating test page...

 real0m5.208s
 user0m1.358s
 sys 0m0.336s

 Printing test page...
 -rw-r--r--  1 root  wheel  104370928 Oct  1 17:44
 /tmp/apsfilter1140/test_page.aps

 ...and then nothing.

 the tmp-file is created but what now?

 lpd is running:

 [EMAIL PROTECTED] ps -aux | grep lpd
 root 396  0.0  0.2  1364   940  ??  Is5:13PM   0:00.01
 /usr/sbin/lpd

 Any ideas?

Is there a driver for the 720C now?  last time I looked it wasn't supported 
(quite some time ago now) mainly due to being a winprinter ie no inbuilt 
inteligence.

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


Security level problem with Samba Apsfilter print server

2005-08-29 Thread Graham North
Recently I tried using Samba to print from the WinXP box to a FreeBSD 
webserver which has been using Samba 2.2.12 successfully to share 
folders to WinXP.


It works - sort of.  Problem is Samba keeps applying user level security 
to printer access.   I thought that I could change security to share 
in the [printers} definition but that does not seem to work.  Probably a 
doddle to fix for you pros..!


I was able to connect printer to FBSD box, and install it as a printer 
in WinXP, however if I shutdown WinXP then the next time I boot WinXP my 
printer is inaccessible until I login to my FBSD file shares using a 
user id.  There are lots of settings which I have tried which are 
currently commented out as they did not seem to be effective.  Help with 
this would be greatly appreciated as I do not want to have to login to 
my webserver every time I need to print from Windows.


Here is my smb.conf: (sorry the [printers] is at bottom)
#=== Global Settings 
=

[global]
   printing = BSD
   workgroup = DELNORTE
   encrypt passwords = yes
   server string = soleado server
   hosts allow = 127.0.0.1 192.168.0.100 192.168.0.101 192.168.0.102 
192.168.0.103

   printcap = /etc/printcap
   load printers = yes
   log file = /var/log/log.%m

   max log size = 50
   security = user
   socket options = TCP_NODELAY
  
   wins support = no


# Share Definitions 
==

[gn]
   comment = Soleado WebServer
   path = /home/gn
   browseable = yes
   writeable = yes
   read only = no

[configs]
   comment = Soleado Configs
   path = /home/soleado_configs
   browseable = yes
   writeable = yes
   read only = no

[wqs]
   comment = WQS  WebServer
   path = /home/wqs
   browseable = yes
   writeable = yes
   read only = no
  
# NOTE: If you have a BSD-style print system there is no need to

#20060826  Opened up printer section again.
[printers]
  comment = All Printers
  path = /var/spool/lpd
#   print command = /usr/bin/lpr -P%p -r %s
  public = yes
  browseable = no
#  security = share
# set client driver use to no  
 use client driver = yes

# Set public = yes to allow user 'guest account' to print
  guest ok = yes
#   guest account = nobody
#  writeable = yes
  printable = yes
  printer = lp


--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca


No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 8/29/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Security level problem with Samba Apsfilter print server

2005-08-29 Thread K Anderson

- Original Message - 
From: Graham North [EMAIL PROTECTED]
To: questions freebsd freebsd-questions@freebsd.org
Sent: Monday, August 29, 2005 3:56 PM
Subject: Security level problem with Samba Apsfilter print server


 Recently I tried using Samba to print from the WinXP box to a FreeBSD
 webserver which has been using Samba 2.2.12 successfully to share
 folders to WinXP.

 It works - sort of.  Problem is Samba keeps applying user level security
 to printer access.   I thought that I could change security to share
 in the [printers} definition but that does not seem to work.  Probably a
 doddle to fix for you pros..!

 I was able to connect printer to FBSD box, and install it as a printer
 in WinXP, however if I shutdown WinXP then the next time I boot WinXP my
 printer is inaccessible until I login to my FBSD file shares using a
 user id.  There are lots of settings which I have tried which are
 currently commented out as they did not seem to be effective.  Help with
 this would be greatly appreciated as I do not want to have to login to
 my webserver every time I need to print from Windows.
My guess is that your XP user name and password are different from your 
FreeBSD user name and password. You can try a couple of things: On your XP 
computer create a user account that matchs your FreeBSD account and login 
information and see if it pesters for the password and name; the other is 
create an account on  your FreeBSD computer to match your XP user name and 
password and see what happens.

 Here is my smb.conf: (sorry the [printers] is at bottom)
 #=== Global Settings
 =
 [global]
printing = BSD
workgroup = DELNORTE
encrypt passwords = yes
server string = soleado server
hosts allow = 127.0.0.1 192.168.0.100 192.168.0.101 192.168.0.102
 192.168.0.103
printcap = /etc/printcap
load printers = yes
log file = /var/log/log.%m

max log size = 50
security = user
socket options = TCP_NODELAY

wins support = no

 # Share Definitions
 ==
 [gn]
comment = Soleado WebServer
path = /home/gn
browseable = yes
writeable = yes
read only = no

 [configs]
comment = Soleado Configs
path = /home/soleado_configs
browseable = yes
writeable = yes
read only = no

 [wqs]
comment = WQS  WebServer
path = /home/wqs
browseable = yes
writeable = yes
read only = no

 # NOTE: If you have a BSD-style print system there is no need to
 #20060826  Opened up printer section again.
 [printers]
   comment = All Printers
   path = /var/spool/lpd
 #   print command = /usr/bin/lpr -P%p -r %s
   public = yes
   browseable = no
 #  security = share
 # set client driver use to no
  use client driver = yes
 # Set public = yes to allow user 'guest account' to print
   guest ok = yes
 #   guest account = nobody
 #  writeable = yes
   printable = yes
   printer = lp


 -- 
 Kindness can be infectious - try it.

 Graham North
 Vancouver, BC
 www.soleado.ca








No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 8/29/2005






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


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


Re: Security level problem with Samba Apsfilter print server

2005-08-29 Thread Graham North
Thank you for these suggestions - I may try them but to be honest think 
that the problem lies elsewhere.


I did have this working fine more than a year ago but then changed 
computers, removed the printserver function and am only now coming back 
to re-install as a printserver (old smb.conf lost of course!)


Does not FreeBSD allow a guest logon for printers and put into 
nobody user group, or something of that ilk.   It seems to me that was 
what it did before.


On another note, this was working perfectly with CUPS about 2 weeks ago 
- well almost, it actually didn't print localhost ascii files very well, 
they needed switches for manually shifting the margins.   My solution 
was to create an alias for the lpr command which blew everything apart 
so that the lpd refused to load - finally I blew it all away and loaded 
apsfilter again.(that took a couple of tries too, because CUPS 
leaves behind a few boogeymen gotchas).


Print server guest accounts anyoneone?
Graham/




K Anderson wrote:

- Original Message - 
From: Graham North [EMAIL PROTECTED]

To: questions freebsd freebsd-questions@freebsd.org
Sent: Monday, August 29, 2005 3:56 PM
Subject: Security level problem with Samba Apsfilter print server


 


Recently I tried using Samba to print from the WinXP box to a FreeBSD
webserver which has been using Samba 2.2.12 successfully to share
folders to WinXP.

It works - sort of.  Problem is Samba keeps applying user level security
to printer access.   I thought that I could change security to share
in the [printers} definition but that does not seem to work.  Probably a
doddle to fix for you pros..!

I was able to connect printer to FBSD box, and install it as a printer
in WinXP, however if I shutdown WinXP then the next time I boot WinXP my
printer is inaccessible until I login to my FBSD file shares using a
user id.  There are lots of settings which I have tried which are
currently commented out as they did not seem to be effective.  Help with
this would be greatly appreciated as I do not want to have to login to
my webserver every time I need to print from Windows.
   

My guess is that your XP user name and password are different from your 
FreeBSD user name and password. You can try a couple of things: On your XP 
computer create a user account that matchs your FreeBSD account and login 
information and see if it pesters for the password and name; the other is 
create an account on  your FreeBSD computer to match your XP user name and 
password and see what happens.


 


Here is my smb.conf: (sorry the [printers] is at bottom)
#=== Global Settings
=
[global]
  printing = BSD
  workgroup = DELNORTE
  encrypt passwords = yes
  server string = soleado server
  hosts allow = 127.0.0.1 192.168.0.100 192.168.0.101 192.168.0.102
192.168.0.103
  printcap = /etc/printcap
  load printers = yes
  log file = /var/log/log.%m

  max log size = 50
  security = user
  socket options = TCP_NODELAY

  wins support = no

# Share Definitions
==
[gn]
  comment = Soleado WebServer
  path = /home/gn
  browseable = yes
  writeable = yes
  read only = no

[configs]
  comment = Soleado Configs
  path = /home/soleado_configs
  browseable = yes
  writeable = yes
  read only = no

[wqs]
  comment = WQS  WebServer
  path = /home/wqs
  browseable = yes
  writeable = yes
  read only = no

# NOTE: If you have a BSD-style print system there is no need to
#20060826  Opened up printer section again.
[printers]
 comment = All Printers
 path = /var/spool/lpd
#   print command = /usr/bin/lpr -P%p -r %s
 public = yes
 browseable = no
#  security = share
# set client driver use to no
use client driver = yes
# Set public = yes to allow user 'guest account' to print
 guest ok = yes
#   guest account = nobody
#  writeable = yes
 printable = yes
 printer = lp


--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca



   







No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 8/29/2005






 


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






 



--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca


No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 8/29/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Security level problem with Samba Apsfilter print server

2005-08-29 Thread [EMAIL PROTECTED]
On Mon, 29 Aug 2005 17:04:39 -0700
Graham North [EMAIL PROTECTED] wrote:

 I did have this working fine more than a year ago but then changed 
 computers, removed the printserver function and am only now coming back 
 to re-install as a printserver (old smb.conf lost of course!)
 
 Does not FreeBSD allow a guest logon for printers and put into 
 nobody user group, or something of that ilk.   It seems to me that was 
 what it did before.

[global]
guest account = nobody

[printers]
guest ok = yes

have you tried the webmin-module for samba ? very nice imo

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


RE: Epson Stylus C86 and apsfilter

2005-08-08 Thread Ted Mittelstaedt
I have an Epson C84.  If you don't get anything usable from
the mailing list, e-mail me separately and I'll send you a
writeup of how I got mine working using lpr+ghostscript+gimp print.

Be aware that gimp-print really sucks the CPU when it's
translating from Postscript into Epson-speak.  A 1.5Ghz or
preferably better CPU is really a requirement unless you have
all day to print a page.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kep Woof
Sent: Sunday, August 07, 2005 12:51 PM
To: [EMAIL PROTECTED]
Subject: Epson Stylus C86 and apsfilter


Hi,

i needed a printer so i checked linuxprinting.org and thought an epson
c86 would be a good idea.  i'm trying to set it up using usb.

now i've googled off and on for a few days now, and seen that people
have strong opinions as to whether they use CUPS or not.  i tried a
few printcap recipies that i wasn't sure how to use, and after more
reading saw that the recommended driver for my printer was gimp-print.
 ideally i'd like something simple, that i can later use with samba,
so i was thinking along the lines of lpr or lprng.

so more fiddling, and i've got apsfilter and ghostscript-gnu-nox11
installed, and choose the closest driver from the nice apsfilter menu
- epson stylus c80.  i fill in the other details, and it seems fine -
/dev/ulpt0  a4 - but when i try the test page i get lines of text on
the paper as follows:

??

?
??
?

???

for pages and pages.  i've not let it finish, just turned off the
printer, to save ink.  there didn't seem much point in letting it go
on.  i've tried with other drivers from the same section, but with no
joy.

here's the last thing apsfilter says before it starts printing 
the ?'s:

Printing Test page using:
gs -q -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER
-r360x360 -sDEVICE=ijs -sPAPERSIZE=a4   
-sProcessColorModel=DeviceRGB
-sIjsParams='Quality=360sw,ImageType=1,MediaType=Plain'
-sDeviceManufacturer=EPSON -sDeviceModel='escp2-c80'
-sIjsServer=ijsgimpprint -dIjsUseOutputFD 
-sOutputFile='/tmp/apsfilter1514/test_page.aps' setup/test.ps

from dmesg:

ulpt0: EPSON USB Printer, rev 1.10/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode

i've tried running escputil.  it moves the print head and displays the
following..

#escputil -i -u -r /dev/ulpt0

Escputil version 4.2.7, Copyright (C) 2000-2001 Robert Krawitz
Escputil comes with ABSOLUTELY NO WARRANTY; for details type 
'escputil -l'
This is free software, and you are welcome to redistribute it
under certain conditions; type 'escputil -l' for details.

Read from printer timed out

Read from printer timed out
Cannot parse output from printer

when i ran it a second time it just repeated the second message:

Cannot parse output from printer

i've tried with both gnu and afpl ghostscript, for x11 and nox11 on 2
different machines.  the printer does work ok from windows, so i guess
that rules out cable problems.  i've read loads about printers this
weekend, and am completely confused.  does anyone have any ideas as to
how i can go about properly diagnosing and fixing this problem?

thanks in advance for any help or suggestions.


kep

ps.  please cc on any replies as i'm not on the list.  thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

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


Epson Stylus C86 and apsfilter

2005-08-07 Thread Kep Woof
Hi,

i needed a printer so i checked linuxprinting.org and thought an epson
c86 would be a good idea.  i'm trying to set it up using usb.

now i've googled off and on for a few days now, and seen that people
have strong opinions as to whether they use CUPS or not.  i tried a
few printcap recipies that i wasn't sure how to use, and after more
reading saw that the recommended driver for my printer was gimp-print.
 ideally i'd like something simple, that i can later use with samba,
so i was thinking along the lines of lpr or lprng.

so more fiddling, and i've got apsfilter and ghostscript-gnu-nox11
installed, and choose the closest driver from the nice apsfilter menu
- epson stylus c80.  i fill in the other details, and it seems fine -
/dev/ulpt0  a4 - but when i try the test page i get lines of text on
the paper as follows:

??

?
??
?

???

for pages and pages.  i've not let it finish, just turned off the
printer, to save ink.  there didn't seem much point in letting it go
on.  i've tried with other drivers from the same section, but with no
joy.

here's the last thing apsfilter says before it starts printing the ?'s:

Printing Test page using:
gs -q -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER
-r360x360 -sDEVICE=ijs -sPAPERSIZE=a4   
-sProcessColorModel=DeviceRGB
-sIjsParams='Quality=360sw,ImageType=1,MediaType=Plain'
-sDeviceManufacturer=EPSON -sDeviceModel='escp2-c80'
-sIjsServer=ijsgimpprint -dIjsUseOutputFD 
-sOutputFile='/tmp/apsfilter1514/test_page.aps' setup/test.ps

from dmesg:

ulpt0: EPSON USB Printer, rev 1.10/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode

i've tried running escputil.  it moves the print head and displays the
following..

#escputil -i -u -r /dev/ulpt0

Escputil version 4.2.7, Copyright (C) 2000-2001 Robert Krawitz
Escputil comes with ABSOLUTELY NO WARRANTY; for details type 'escputil -l'
This is free software, and you are welcome to redistribute it
under certain conditions; type 'escputil -l' for details.

Read from printer timed out

Read from printer timed out
Cannot parse output from printer

when i ran it a second time it just repeated the second message:

Cannot parse output from printer

i've tried with both gnu and afpl ghostscript, for x11 and nox11 on 2
different machines.  the printer does work ok from windows, so i guess
that rules out cable problems.  i've read loads about printers this
weekend, and am completely confused.  does anyone have any ideas as to
how i can go about properly diagnosing and fixing this problem?

thanks in advance for any help or suggestions.


kep

ps.  please cc on any replies as i'm not on the list.  thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apsfilter problems

2005-06-21 Thread Sean Murphy
I have my printer printing postscript (it is a jetdirect with
postscript) and text files;  however I was trying to print jpeg and png
files from the command line which came out as garbage.

It was suggested that I use apsfilter which I then installed as a package.

I ran the setup and it modified my /etc/printcap file

lp|PS;r=1200x1200;q=photo;c=full;p=letter;m=auto:\
:lp=:\
:rm=172.18.1.13:\
:rp=raw:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this

however I can still print text but when trying to print jpeg or png it
does nothing but give me an error

apsfilter fatal error: missing pnmdepth; can't convert file type 'jpeg
image data'

and

apsfilter fatal error: missing pngtopnm; can't convert file type 'png
image data'

I looked it the packages and ports collection for these items with no luck

I then downloaded one from source and It failed to install

is there something I'm missing?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apsfilter problems

2005-06-21 Thread Roland Smith
On Tue, Jun 21, 2005 at 11:46:10AM -0700, Sean Murphy wrote:
 apsfilter fatal error: missing pnmdepth; can't convert file type 'jpeg
 image data'

 and
 
 apsfilter fatal error: missing pngtopnm; can't convert file type 'png
 image data'

You can find these in the 'netpbm' port.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpjFjXAD0gml.pgp
Description: PGP signature


APSFilter/LPD printing slow

2005-04-29 Thread Ray Seals
I'm running 5.3 on a Dell Precision 470 Pentium Xeon with a Gig of
memory and SATA hard drives.  I'm printing to a networked LaserJet 5
printer.  It takes about 40 seconds between pages when printing a
multi-page document.  Does anyone know how to speed this up?  I doubt
it's an APSFilter issue since the drive stops churning once the printer
starts (I think it's finished formatting the file).

The printer is in the next cube from me and we are all in the same vlan
on a Cisco 6500 series switch.

Thanks,
Ray

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


Re: APSFilter/LPD printing slow

2005-04-29 Thread Warren Block
On Fri, 29 Apr 2005, Ray Seals wrote:
I'm running 5.3 on a Dell Precision 470 Pentium Xeon with a Gig of
memory and SATA hard drives.  I'm printing to a networked LaserJet 5
printer.  It takes about 40 seconds between pages when printing a
multi-page document.  Does anyone know how to speed this up?  I doubt
it's an APSFilter issue since the drive stops churning once the printer
starts (I think it's finished formatting the file).
It may be that you are just seeing the time it takes the LJ5 to render 
the PostScript.  The LJ5 PostScript interpreter is not very fast. 
Depending on your print contents, sending PCL may be quicker.

'lpc status all' or lpq can show you when the job is finished sending to 
the printer.  The disk light is probably not a good indicator, since 
FreeBSD will have the spool file cached in RAM.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apsfilter and Epson Stylus C63 on Current

2004-08-25 Thread edwinculp


- Mensaje original -
De: Chip [EMAIL PROTECTED]
Fecha: Martes, Agosto 24, 2004 7:26 pm
Asunto: Re: apsfilter and Epson Stylus C63 on Current

 edwinculp wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Just to check, you have removed the base install's lp* utilities 
 right?
 
 No, I must have read over, under, around and/or through that in 
 the 
 cups howto's I been using.
 
 Let me be sure that I am understanding.  I should remove lpd, 
 lpq, 
 lpc, lpr, lprm and family to use cups?
 
 That could definitely be the problem because I have't done it.
 
 Thanks, I'll give it a try in a few.
 
  
  
  Nope, didn't work or even change anything.  I can still print the 
 cups test page and anything form gimp but nothing through the cups 
 configuration nor can I configure the C63 with apsfilter because it 
 isn't in gs although ijs is compiled in and there must be a way to 
 use the gimp-print driver through gs or update apsfilter to use the 
 new gimp-print drivers but I haven't found either.
  
  Thanks again, Anish, for the suggestion.
  
  ed
 
 I'm interested in this also. I used Apsfilter to set up an Epson 
 C62 
 that works fine except for printing email - it prints the ps code. 

First as much as it hurts to admit it, the C62 and the C63/64 are very different 
beasts.  If I had known it at the time I wouldn't have bought it but ...

Our problems are different but yours doesn't sound too difficult because you can print 
web pages.  What program are you using to print your email?

It sounds like you just need a -P printerConfigThatPrintsWebPages added to the lpr.
ed
 I 
 print web pages, .pdf files and .txt files fine. I haven't tested 
 anything else, I mainly need the ability to print emails more than 
 anything else. I have the same problem with a Lexmark E312 
 LazerJet. I 
 haven't tried Cups, don't know the first thing about it.
 --
 Chip
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]

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


Re: apsfilter and Epson Stylus C63 on Current

2004-08-25 Thread Steven Friedrich
On Tuesday 24 August 2004 08:21 am, edwinculp wrote:
 - Mensaje original -
 De: Anish Mistry [EMAIL PROTECTED]
 Fecha: Lunes, Agosto 23, 2004 11:59 pm
 Asunto: Re: apsfilter and Epson Stylus C63 on Current

  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Just to check, you have removed the base install's lp* utilities
  right?

 No, I must have read over, under, around and/or through that in the cups
 howto's I been using.

 Let me be sure that I am understanding.  I should remove lpd, lpq, lpc,
 lpr, lprm and family to use cups?

 That could definitely be the problem because I have't done it.

 Thanks, I'll give it a try in a few.

 ed

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

Actually, all you need do is follow the instructions at the bottom of the 
Makefile in /usr/ports/print/cups-lpr

It says to add two lines to /etc/make.conf

And if you've done a installworld since you've installed cups-lpr, just 
deinstall, reinstall cups-lpr.

Before you begin, try which lpr.

which will report which lpr command is found first via the path variable. I 
suspect it will say /usr/bin/lpr.  After you perform the above steps, it'll 
say /usr/local/bin/lpr.

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


Re: apsfilter and Epson Stylus C63 on Current

2004-08-25 Thread edwinculp
Steven, that was it, THANK YOU !  It works great! 
That is one of the disadvantages to portinstall and portupgrade.  I missed the 
make.conf message.  Someone else tried to tell me that but I wasn't listening.  Your 
message was precise and it was working in minutes.

Thanks again,

ed

Now off to try to print on the network.

- Mensaje original -
De: Steven Friedrich [EMAIL PROTECTED]
Fecha: Miércoles, Agosto 25, 2004 12:35 pm
Asunto: Re: apsfilter and Epson Stylus C63 on Current

 On Tuesday 24 August 2004 08:21 am, edwinculp wrote:
  - Mensaje original -
  De: Anish Mistry [EMAIL PROTECTED]
  Fecha: Lunes, Agosto 23, 2004 11:59 pm
  Asunto: Re: apsfilter and Epson Stylus C63 on Current
 
   -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA1
  
   Just to check, you have removed the base install's lp* utilities
   right?
 
  No, I must have read over, under, around and/or through that in 
 the cups
  howto's I been using.
 
  Let me be sure that I am understanding.  I should remove lpd, 
 lpq, lpc,
  lpr, lprm and family to use cups?
 
  That could definitely be the problem because I have't done it.
 
  Thanks, I'll give it a try in a few.
 
  ed
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 Actually, all you need do is follow the instructions at the bottom 
 of the 
 Makefile in /usr/ports/print/cups-lpr
 
 It says to add two lines to /etc/make.conf
 
 And if you've done a installworld since you've installed cups-lpr, 
 just 
 deinstall, reinstall cups-lpr.
 
 Before you begin, try which lpr.
 
 which will report which lpr command is found first via the path 
 variable. I 
 suspect it will say /usr/bin/lpr.  After you perform the above 
 steps, it'll 
 say /usr/local/bin/lpr.
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]

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


Re: apsfilter and Epson Stylus C63 on Current

2004-08-25 Thread Steven Friedrich
Great.

The reason I knew the answer is because I had the same problem for the last 
two weeks and I got what I knew to be bad advice from a few people. So I kept 
trying (I've been in the profession for 27 years but it hardly helps...).

I finally went purusing thru the ports directory for CUPS.



On Wednesday 25 August 2004 02:16 pm, edwinculp wrote:
 Steven, that was it, THANK YOU !  It works great!
 That is one of the disadvantages to portinstall and portupgrade.  I missed
 the make.conf message.  Someone else tried to tell me that but I wasn't
 listening.  Your message was precise and it was working in minutes.

 Thanks again,

 ed

 Now off to try to print on the network.

 - Mensaje original -
 De: Steven Friedrich [EMAIL PROTECTED]
 Fecha: Miércoles, Agosto 25, 2004 12:35 pm
 Asunto: Re: apsfilter and Epson Stylus C63 on Current

  On Tuesday 24 August 2004 08:21 am, edwinculp wrote:
   - Mensaje original -
   De: Anish Mistry [EMAIL PROTECTED]
   Fecha: Lunes, Agosto 23, 2004 11:59 pm
   Asunto: Re: apsfilter and Epson Stylus C63 on Current
  
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
   
Just to check, you have removed the base install's lp* utilities
right?
  
   No, I must have read over, under, around and/or through that in
 
  the cups
 
   howto's I been using.
  
   Let me be sure that I am understanding.  I should remove lpd,
 
  lpq, lpc,
 
   lpr, lprm and family to use cups?
  
   That could definitely be the problem because I have't done it.
  
   Thanks, I'll give it a try in a few.
  
   ed
  
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
 
  Actually, all you need do is follow the instructions at the bottom
  of the
  Makefile in /usr/ports/print/cups-lpr
 
  It says to add two lines to /etc/make.conf
 
  And if you've done a installworld since you've installed cups-lpr,
  just
  deinstall, reinstall cups-lpr.
 
  Before you begin, try which lpr.
 
  which will report which lpr command is found first via the path
  variable. I
  suspect it will say /usr/bin/lpr.  After you perform the above
  steps, it'll
  say /usr/local/bin/lpr.
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-
  [EMAIL PROTECTED]

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


Re: apsfilter and Epson Stylus C63 on Current

2004-08-25 Thread Chip
edwinculp wrote:
Nope, didn't work or even change anything.  I can still print the 
cups test page and anything form gimp but nothing through the cups 
configuration nor can I configure the C63 with apsfilter because it 
isn't in gs although ijs is compiled in and there must be a way to 
use the gimp-print driver through gs or update apsfilter to use the 
new gimp-print drivers but I haven't found either.

Thanks again, Anish, for the suggestion.
ed
I'm interested in this also. I used Apsfilter to set up an Epson 
C62 
that works fine except for printing email - it prints the ps code. 

First as much as it hurts to admit it, the C62 and the C63/64 are very different 
beasts.  If I had known it at the time I wouldn't have bought it but ...
Our problems are different but yours doesn't sound too difficult because you can print web pages.  What program are you using to print your email?
I'm using Mozilla Thunderbird for email. I've used other email clients 
in the past and used apsfilter to set up printing and never had a 
problem with printing email. I'm sure it's a filter problem, not set up 
or some such.
--
chip

It sounds like you just need a -P printerConfigThatPrintsWebPages added to the lpr.
ed
I 
print web pages, .pdf files and .txt files fine. I haven't tested 
anything else, I mainly need the ability to print emails more than 
anything else. I have the same problem with a Lexmark E312 
LazerJet. I 
haven't tried Cups, don't know the first thing about it.
--
Chip

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

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

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


Epson C62 WAS: Re: apsfilter and Epson Stylus C63 on Current

2004-08-25 Thread Chip
Thanks for the reply. I just discovered that if I save a email to a .ps 
file, then open it in GhostView, it will print perfectly. It's only when 
printed from within Mozilla Thunderbird that it prints the .ps code. In 
GhostView it prints to lp, in thunderbird it prints to 
Postscript/default which the properties show as lpr -Plp. In GhostView 
it shows properties for lp as local printer and Generic UNIX LPD Print 
System.
I guess I can save every email I want to print to a file, but I 
shouldn't have to, and really don't want to.
Regards,
Chip

Malcolm Kay wrote:
There is really no absolute way of detecting postscript. Most of these 
filters assume that if the first two characters passed are %! then it
is postscript code but this character pair does not have to be at the
start of PS code or even anywhere in the code -- it's just a convention
that it should start with these characters; a convention that is mostly
followed.

So it would appear likely your e-mail application is not following 
the convention. Maybe a blank line precedes the traditional opening
PS line. Or maybe that line is not there at all.

You could perhaps print the e-mail to a file and examine in detail
how it begins. With this information it should be possible to adapt 
the print filter script to detect the alternative PS introduction.
Or even write a prefilter script that recognises the alternate 
PS start and converts it to a more conventional start. It might
for example only need to drop a leading new line character.
  
Malcolm


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


Re: apsfilter and Epson Stylus C63 on Current

2004-08-24 Thread edwinculp


- Mensaje original -
De: Anish Mistry [EMAIL PROTECTED]
Fecha: Lunes, Agosto 23, 2004 11:59 pm
Asunto: Re: apsfilter and Epson Stylus C63 on Current

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Just to check, you have removed the base install's lp* utilities 
 right?

No, I must have read over, under, around and/or through that in the cups howto's I 
been using.

Let me be sure that I am understanding.  I should remove lpd, lpq, lpc, lpr, lprm and 
family to use cups?

That could definitely be the problem because I have't done it.

Thanks, I'll give it a try in a few.

ed

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


Re: apsfilter and Epson Stylus C63 on Current

2004-08-24 Thread edwinculp


- Mensaje original -
De: edwinculp [EMAIL PROTECTED]
Fecha: Martes, Agosto 24, 2004 7:21 am
Asunto: Re: apsfilter and Epson Stylus C63 on Current

 
 
 - Mensaje original -
 De: Anish Mistry [EMAIL PROTECTED]
 Fecha: Lunes, Agosto 23, 2004 11:59 pm
 Asunto: Re: apsfilter and Epson Stylus C63 on Current
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  Just to check, you have removed the base install's lp* utilities 
  right?
 
 No, I must have read over, under, around and/or through that in the 
 cups howto's I been using.
 
 Let me be sure that I am understanding.  I should remove lpd, lpq, 
 lpc, lpr, lprm and family to use cups?
 
 That could definitely be the problem because I have't done it.
 
 Thanks, I'll give it a try in a few.
 

Nope, didn't work or even change anything.  I can still print the cups test page and 
anything form gimp but nothing through the cups configuration nor can I configure the 
C63 with apsfilter because it isn't in gs although ijs is compiled in and there must 
be a way to use the gimp-print driver through gs or update apsfilter to use the new 
gimp-print drivers but I haven't found either.

Thanks again, Anish, for the suggestion.

ed

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


Re: apsfilter and Epson Stylus C63 on Current

2004-08-24 Thread Chip
edwinculp wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Just to check, you have removed the base install's lp* utilities 
right?
No, I must have read over, under, around and/or through that in the 
cups howto's I been using.

Let me be sure that I am understanding.  I should remove lpd, lpq, 
lpc, lpr, lprm and family to use cups?

That could definitely be the problem because I have't done it.
Thanks, I'll give it a try in a few.

Nope, didn't work or even change anything.  I can still print the cups test page and 
anything form gimp but nothing through the cups configuration nor can I configure the 
C63 with apsfilter because it isn't in gs although ijs is compiled in and there must 
be a way to use the gimp-print driver through gs or update apsfilter to use the new 
gimp-print drivers but I haven't found either.
Thanks again, Anish, for the suggestion.
ed
I'm interested in this also. I used Apsfilter to set up an Epson C62 
that works fine except for printing email - it prints the ps code. I 
print web pages, .pdf files and .txt files fine. I haven't tested 
anything else, I mainly need the ability to print emails more than 
anything else. I have the same problem with a Lexmark E312 LazerJet. I 
haven't tried Cups, don't know the first thing about it.
--
Chip

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


Re: apsfilter and Epson Stylus C63 on Current

2004-08-23 Thread edwinculp
I'm still fighting with the Epson Stylus C63.  I can print images with gimp through 
gimp-print and after configuring cups I can print the test page and it looks great but 
I can't print anything else.  Other programs see the printer configured by cups and 
can send jobs to, what I assume to be the queue although they don't show up in 
kjobViewer and I can only verify their existence with lpc status all and it shows:
# lpc status all
c63:
queuing is enabled
printing is enabled
1 entry in spool area
c63 is ready and printing

The light on the printer blinks but it's never printed and just goes away.   I suppose 
that since I know nothing about cups, I'm mixing it with lpd with no knowledge of 
interoperability, assuming that it exists.

I would love to be able to just update apsfilter with the new gimp-print drivers and 
use lpd but I haven't been able to make it happen.  

I've recompiled ghostscript, gimp-print and apsfilter multiple times from ports.

Any additional suggestions would be appreciated.

ed



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


Re: apsfilter and Epson Stylus C63 on Current

2004-08-23 Thread Anish Mistry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 23 August 2004 08:49 pm, edwinculp wrote:
 I'm still fighting with the Epson Stylus C63.  I can print images with gimp
 through gimp-print and after configuring cups I can print the test page and
 it looks great but I can't print anything else.  Other programs see the
 printer configured by cups and can send jobs to, what I assume to be the
 queue although they don't show up in kjobViewer and I can only verify their
 existence with lpc status all and it shows: # lpc status all
 c63:
 queuing is enabled
 printing is enabled
 1 entry in spool area
 c63 is ready and printing

 The light on the printer blinks but it's never printed and just goes away. 
  I suppose that since I know nothing about cups, I'm mixing it with lpd
 with no knowledge of interoperability, assuming that it exists.

 I would love to be able to just update apsfilter with the new gimp-print
 drivers and use lpd but I haven't been able to make it happen.

 I've recompiled ghostscript, gimp-print and apsfilter multiple times from
 ports.

 Any additional suggestions would be appreciated.

 ed

Just to check, you have removed the base install's lp* utilities right?

- -- 
Anish Mistry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBKstMxqA5ziudZT0RAqk2AJ4gq9oTgtmfk95JFTR+a318PbtghACgv4b7
ELydFXHy2Wq80dEXW66ETvg=
=h5FC
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apsfilter and Epson Stylus C63 on Current

2004-08-21 Thread edwinculp


- Mensaje original -
De: Andrew L. Gould [EMAIL PROTECTED]
Fecha: Viernes, Agosto 20, 2004 4:19 pm
Asunto: Re: apsfilter and Epson Stylus C63 on Current

CUT
 
  I've always used apsfilter and it has just worked with a minimum of
  muss and fuss.  I sure hope Andres is going to keep it updated
  because if not I for one am really going to miss it.
 
  Thanks again for your help,
 
  ed
 
 
 Have you tried installing them from the ports?
 
   cd /usr/ports/print/gimp-print
   make install
 
 Once they're installed, run the setup script for apsfilter again.
 
Thanks, Andrew, you have been a great help.  I always use ports and more even 
port[install|upgrade]. Yesterday, I pkg_delete[d] gimp-print and apsfilter and rebuilt 
them.  I even downloaded the latest gimp-print (5.something) and was going to build it 
but it prints so well from gimp I decided it probably wasn't worth it and I could have 
problems with some paths.

I must be doing something wrong using the apsfilter SETUP because after recompiling 
the above and then ghostscript to be sure that it wasn't the problem, I got the same 
printer options in in the gimp-print (ijs driver; version 4.2.1 and later) as before.  
That makes me think that I have done something wrong with the compiling of ghostscript 
or I don't understand apsfilter (which is a pretty much a given ;) because it works 
with gimp and not with apsfilter.

Thanks again for your patience.  I think I may just have to go buy an older printer 
that is idiot proof for the time being :)

Have a great weekend,

ed

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


Re: apsfilter and Epson Stylus C63 on Current

2004-08-20 Thread edwinculp
Malcolm, I want to thank both you and  Andrew L. 
Gould [EMAIL PROTECTED] for the link to 
linuxprint.  I can now print very well with gimp 
but still haven't been able to get it working with 
lpd.  I can configure it in cups but it does 
nothing.  Apsfilter doesn't know it exists even 
though I just recompiled the latest ghostscript 
with the 4.1.7 version of gimp-print.  Thanks to 
you I'm getting closer :) 
 
ed 
 
- Mensaje original - 
De: Malcolm Kay [EMAIL PROTECTED] 
Fecha: Viernes, Agosto 20, 2004 0:21 am 
Asunto: Re: apsfilter and Epson Stylus C63 on 
Current 
 
 On Friday 20 August 2004 01:57, edwinculp wrote: 
  I've been trying on and off to get an epson 
stylus c63 to print  
 on current. 
   I've always used apsprint which has always 
worked perfectly.  In  
 this case 
  I am afraid that Epson has changed something 
and this model isn't  
 supported by ghostscript.  I've always been 
able to usr  
 practically any of the basic 
  Epson stylus entries with new epson printers 
and they've worked.   
 In this 
  case I get a lot of form feeds and garbage.  
I've tried the gimp  
 drivers and I get a lot of | and other garbage.  
Ascii prints  
 fine.  I've tried the 
  script in the handbook to see if I could get 
anything  
 understandable from 
  different gs drivers with no luck. 
  
  If anyone has any suggestions, I would 
appreciat them of if  
 someone has a 
  Epson Stylus C63 or C6? printing successfully, 
would you be kind  
 enough to 
  share the secret with me? :) 
  
  
 Most printers can be found at 
  http://www.linuxprinting.org/ 
 and is generally usefull for most flavours of 
unix as well as linux. 
  
 Together with other information for the C63 it 
states: 
  Needs Gimp-Print 4.3.21 or 4.2.6pre2 (or newer 
versions), this  
 printer  
  does not work with the drivers for the C82 or 
C83. 
  
  
 Malcolm Kay 
  
  
  

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


Re: apsfilter and Epson Stylus C63 on Current

2004-08-20 Thread Andrew L. Gould
On Friday 20 August 2004 12:47 pm, edwinculp wrote:
 Malcolm, I want to thank both you and  Andrew L.
 Gould [EMAIL PROTECTED] for the link to
 linuxprint.  I can now print very well with gimp
 but still haven't been able to get it working with
 lpd.  I can configure it in cups but it does
 nothing.  Apsfilter doesn't know it exists even
 though I just recompiled the latest ghostscript
 with the 4.1.7 version of gimp-print.  Thanks to
 you I'm getting closer :)

 ed

Were you able to print a test page when you configured apsfilter with 
the gimp-print driver?

Are you sure lpd is running?

Exactly how are you trying to print with lpd that is not working?

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


Re: apsfilter and Epson Stylus C63 on Current

2004-08-20 Thread edwinculp


- Mensaje original -
De: Andrew L. Gould [EMAIL PROTECTED]
Fecha: Viernes, Agosto 20, 2004 1:03 pm
Asunto: Re: apsfilter and Epson Stylus C63 on Current

 On Friday 20 August 2004 12:47 pm, edwinculp wrote:
  Malcolm, I want to thank both you and  Andrew L.
  Gould [EMAIL PROTECTED] for the link to
  linuxprint.  I can now print very well with gimp
  but still haven't been able to get it working with
  lpd.  I can configure it in cups but it does
  nothing.  Apsfilter doesn't know it exists even
  though I just recompiled the latest ghostscript
  with the 4.1.7 version of gimp-print.  Thanks to
  you I'm getting closer :)
 
  ed
 
 Were you able to print a test page when you configured apsfilter 
 with 
 the gimp-print driver?

I don't know how to install the latest (4.1.7) gimp-print drivers with the current 
apsfilter so I haven't used it for printing.

 
 Are you sure lpd is running?

I can set up a local printer an print text perfectly and print from gimp with the 
correct driver configuration but that doesn't help me with postscript (web pages etc.)


 
 Exactly how are you trying to print with lpd that is not working?

Cups.  Cups allows me to configure the printer but the  printcap looks something like:

gimp|Epson EPSON Stylus C63:rm=local2.local.net:rp=gimp:

I have no idea how it actually works.  The cups configuration shows /dev/lpt0 as the 
device but nothing gets to the spooler or the printer.

I've always used apsfilter and it has just worked with a minimum of muss and fuss.  I 
sure hope Andres is going to keep it updated because if not I for one am really going 
to miss it.

Thanks again for your help,

ed
 
 Andrew Gould
 

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


Re: apsfilter and Epson Stylus C63 on Current

2004-08-20 Thread Andrew L. Gould
On Friday 20 August 2004 03:54 pm, edwinculp wrote:
 - Mensaje original -
 De: Andrew L. Gould [EMAIL PROTECTED]
 Fecha: Viernes, Agosto 20, 2004 1:03 pm
 Asunto: Re: apsfilter and Epson Stylus C63 on Current

  On Friday 20 August 2004 12:47 pm, edwinculp wrote:
   Malcolm, I want to thank both you and  Andrew L.
   Gould [EMAIL PROTECTED] for the link to
   linuxprint.  I can now print very well with gimp
   but still haven't been able to get it working with
   lpd.  I can configure it in cups but it does
   nothing.  Apsfilter doesn't know it exists even
   though I just recompiled the latest ghostscript
   with the 4.1.7 version of gimp-print.  Thanks to
   you I'm getting closer :)
  
   ed
 
  Were you able to print a test page when you configured apsfilter
  with
  the gimp-print driver?

 I don't know how to install the latest (4.1.7) gimp-print drivers
 with the current apsfilter so I haven't used it for printing.

  Are you sure lpd is running?

 I can set up a local printer an print text perfectly and print from
 gimp with the correct driver configuration but that doesn't help me
 with postscript (web pages etc.)

  Exactly how are you trying to print with lpd that is not working?

 Cups.  Cups allows me to configure the printer but the  printcap
 looks something like:

 gimp|Epson EPSON Stylus C63:rm=local2.local.net:rp=gimp:

 I have no idea how it actually works.  The cups configuration shows
 /dev/lpt0 as the device but nothing gets to the spooler or the
 printer.

 I've always used apsfilter and it has just worked with a minimum of
 muss and fuss.  I sure hope Andres is going to keep it updated
 because if not I for one am really going to miss it.

 Thanks again for your help,

 ed


Have you tried installing them from the ports?

cd /usr/ports/print/gimp-print
make install

Once they're installed, run the setup script for apsfilter again.

Best of luck,

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


apsfilter and Epson Stylus C63 on Current

2004-08-19 Thread edwinculp
I've been trying on and off to get an epson stylus c63 to print on current.  I've 
always used apsprint which has always worked perfectly.  In this case I am afraid that 
Epson has changed something and this model isn't supported by ghostscript.  I've 
always been able to usr practically any of the basic Epson stylus entries with new 
epson printers and they've worked.  In this case I get a lot of form feeds and 
garbage.  I've tried the gimp drivers and I get a lot of | and other garbage.  Ascii 
prints fine.  I've tried the script in the handbook to see if I could get anything 
understandable from different gs drivers with no luck.  

If anyone has any suggestions, I would appreciat them of if someone has a Epson Stylus 
C63 or C6? printing successfully, would you be kind enough to share the secret with 
me? :)

Thanks,

ed

I saw that there are some linux drivers for Epson printers in general and the C6?.
Has anyone used them?  Can they be used directly as input filters in printcap?

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


Re: apsfilter and Epson Stylus C63 on Current

2004-08-19 Thread Andrew L. Gould
On Thursday 19 August 2004 11:27 am, edwinculp wrote:
 I've been trying on and off to get an epson stylus c63 to print on
 current.  I've always used apsprint which has always worked
 perfectly.  In this case I am afraid that Epson has changed something
 and this model isn't supported by ghostscript.  I've always been able
 to usr practically any of the basic Epson stylus entries with new
 epson printers and they've worked.  In this case I get a lot of form
 feeds and garbage.  I've tried the gimp drivers and I get a lot of |
 and other garbage.  Ascii prints fine.  I've tried the script in the
 handbook to see if I could get anything understandable from different
 gs drivers with no luck.

 If anyone has any suggestions, I would appreciat them of if someone
 has a Epson Stylus C63 or C6? printing successfully, would you be
 kind enough to share the secret with me? :)

 Thanks,

 ed

 I saw that there are some linux drivers for Epson printers in general
 and the C6?. Has anyone used them?  Can they be used directly as
 input filters in printcap?

Hi Ed,

I use apsfilter with gimp-print drivers for my Epson Stylus C82.  The 
C63 is supported (mostly) by gimp-print.  See the following link for 
more information:

http://www.linuxprinting.org/show_printer.cgi?recnum=Epson-Stylus_C63

Best of luck,

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


Re: apsfilter and Epson Stylus C63 on Current

2004-08-19 Thread Malcolm Kay
On Friday 20 August 2004 01:57, edwinculp wrote:
 I've been trying on and off to get an epson stylus c63 to print on current.
  I've always used apsprint which has always worked perfectly.  In this case
 I am afraid that Epson has changed something and this model isn't supported
 by ghostscript.  I've always been able to usr practically any of the basic
 Epson stylus entries with new epson printers and they've worked.  In this
 case I get a lot of form feeds and garbage.  I've tried the gimp drivers
 and I get a lot of | and other garbage.  Ascii prints fine.  I've tried the
 script in the handbook to see if I could get anything understandable from
 different gs drivers with no luck.

 If anyone has any suggestions, I would appreciat them of if someone has a
 Epson Stylus C63 or C6? printing successfully, would you be kind enough to
 share the secret with me? :)


Most printers can be found at
  http://www.linuxprinting.org/
and is generally usefull for most flavours of unix as well as linux.

Together with other information for the C63 it states:
  Needs Gimp-Print 4.3.21 or 4.2.6pre2 (or newer versions), this printer 
  does not work with the drivers for the C82 or C83.


Malcolm Kay


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


Re: lpd and apsfilter

2004-08-02 Thread Matthew Seaman
On Sun, Aug 01, 2004 at 05:30:36PM -0300, Paulo Fonseca Jr. wrote:
 I was installed apsfilter with lpd here with printcap setting as:
 
 lp|deskjet;r=300x300;q=draft;c=full;p=letter;m=auto:\
 :lp=/dev/ulpt0:\
 :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
 :sd=/var/spool/lpd/lp:\
 :lf=/var/spool/lpd/lp/log:\
 :af=/var/spool/lpd/lp/acct:\
 :mx#0:\
 :sh:
 
 /dev/ulpt0 is recognized by usbdevs and jobs are being queued but printer not 
 works, not even sign, but job are being unqueued after about few seconds.
 
 (dmesg)
 ulpt0: hp deskjet 3420, rev 2.00/1.00, addr 2, iclass 7/1
 ulpt0: using bi-directional mode

What's the output of:

% lpc status lp

and are there any messages from lpd in the system log file,
/var/log/messages or the lpd error log /var/log/lpd-errs or the
printer's own log file /var/spool/lpd/lp/log ?

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp4vRChmyF0B.pgp
Description: PGP signature


lpd and apsfilter

2004-08-01 Thread Paulo Fonseca Jr.
I was installed apsfilter with lpd here with printcap setting as:

lp|deskjet;r=300x300;q=draft;c=full;p=letter;m=auto:\
:lp=/dev/ulpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:

/dev/ulpt0 is recognized by usbdevs and jobs are being queued but printer not 
works, not even sign, but job are being unqueued after about few seconds.

(dmesg)
ulpt0: hp deskjet 3420, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode

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


print/apsfilter dependencies not recognizing aclocal automake

2004-05-27 Thread Bryan Bursey
Folks -
In attempting to build the port print/apsfilter, each of the gnome 
related dependencies are failing as follows:

===  Configuring for linc-1.0.3_2
checking for a BSD-compatible install... /usr/bin/install -c -o root -g 
wheel
checking whether build environment is sane... yes
checking whether gmake sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing

Note that aclocal and automake are noted as missing, but do exist on 
this 4.10-PRERELEASE system.

[EMAIL PROTECTED] bsb]$ locate automake
/usr/local/bin/automake14
/usr/local/libexec/automake14
[EMAIL PROTECTED] bsb]$ locate aclocal
/usr/local/bin/aclocal14
/usr/local/libexec/automake14/aclocal
The print/apsfilter dependency ports build and install as expected when 
'make install' is run for the individual dependency port.

Could anyone suggest how I might go about having the configure scripts 
find automake and aclocal when the print/apsfilter port tries to build 
its dependencies.  I have reverted to the /etc/defaults/make.conf to 
ensure none of my tweaks are causing this problem.

Any comments / suggestions would be quite welcome.
Regards,
Bryan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Solved: FreeBSD as print server w/CUPS + samba + apsfilter

2004-05-25 Thread Bart Silverstrim
On May 24, 2004, at 9:56 PM, Mike wrote:
Greetings:
This post is a result of 2 days of thrashing trying to get FreeBSD 
(4.9) to act as a print server to Win2K/XP clients.  I have included 
links to a how-to that I wrote that includes a full install and 
configuration of CUPS and Samba so that local (connected to server) 
printers print locally, and so that that local printer(s) can then be 
shared (served) as network printer amongst Windows 2k/XP clients.
Is it possible to have the writeup put on something like bsddiary so 
others could easily refer to it down the road?

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


Re: Solved: FreeBSD as print server w/CUPS + samba + apsfilter

2004-05-25 Thread Mike
Bart Silverstrim wrote:
On May 24, 2004, at 9:56 PM, Mike wrote:
Greetings:
This post is a result of 2 days of thrashing trying to get FreeBSD 
(4.9) to act as a print server to Win2K/XP clients.  I have included 
links to a how-to that I wrote that includes a full install and 
configuration of CUPS and Samba so that local (connected to server) 
printers print locally, and so that that local printer(s) can then be 
shared (served) as network printer amongst Windows 2k/XP clients.

Is it possible to have the writeup put on something like bsddiary so 
others could easily refer to it down the road?

Bart,
Good idea!  I'll look into it today.
Mike

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

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


Re: Solved: FreeBSD as print server w/CUPS + samba + apsfilter

2004-05-25 Thread Andreas Ntaflos
Alas, too late I see this thread :)

I have written (some months ago) a guide covering the installation and
configuration of CUPS+Samba with printing from Windows (2k, NT, XP)
clients via the Samba/Windows Network-Interface (the one where you can
download printer drivers from the print server). I've sent it to
Daemonnews months ago, but they didn't reply.

I'll post the links here, and although it doesn't cover apsfilter, I am 
sure there are a few useful hints and points in there. It's a little
outdated, though (not much).

HTML version: http://daffit.meownz.info/html/cups-samba/
PDF: http://daffit.meownz.info/cups-samba.pdf

All that is based on a writeup of mine in the Gentoo forums, this
thread: http://forums.gentoo.org/viewtopic.php?t=110931

A good guy named Joshua Preston put it all---plus a lot more (CLAM-AV)---
together here: http://sungentoo.homeunix.com/test/quicksamba-howto.html

The latter two links contain more up-to-date information and
troubleshooting tips, and although they are written for the Gentoo Linux
system, it should be no problem adapting the important points to any
other Unix/Linux platform, especially FreeBSD.

Hopefully this helps! 
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apsfilter - build problems wrt ORBit2

2004-05-24 Thread Bryan Bursey
Folks -
uname -a:
FreeBSD nipplehead.eastlink.ca 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE 
#0: Sun May 23 21:23:47 ADT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/NIPKERN  i386

I've made a couple of attempts to install print/apsfilter from ports.  
Before cvsupping both ports and src and make world-ing on -STABLE last 
night, I was getting an error relating to libgthread and undefined 
symbols in pthread while trying to build the ORBit2 dependency.

Now, I'm getting an infinite loop in the ORBit2 build, with the 
following lines being repeated:

gmake[3]: Entering directory 
`/usr/ports/devel/ORBit2/work/ORBit2-2.10.2/linc2/src'
cd ../..  /bin/sh ./config.status linc2/src/Makefile depfiles
config.status: creating linc2/src/Makefile
config.status: executing depfiles commands
gmake[3]: Leaving directory 
`/usr/ports/devel/ORBit2/work/ORBit2-2.10.2/linc2/src'

Does anyone know of problems with the ORBit build under 4-STABLE and how 
they might be corrected?

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


Solved: FreeBSD as print server w/CUPS + samba + apsfilter

2004-05-24 Thread Mike
Greetings:
This post is a result of 2 days of thrashing trying to get FreeBSD (4.9) 
to act as a print server to Win2K/XP clients.  I have included links to 
a how-to that I wrote that includes a full install and configuration of 
CUPS and Samba so that local (connected to server) printers print 
locally, and so that that local printer(s) can then be shared (served) 
as network printer amongst Windows 2k/XP clients.

My original post on 5/21/2004 Network printing question: apsfilter + 
samba over Win2k network contained what I had accomplished, so far.

So... To make a long story short
I have apsfilter and CUPS and Samba installed and working.
The server prints to it's local (via parallel port) printer using either 
apsfilter or cups.

Serving that locally connected printer over a Windows network (to 
Win2k/XP clients) is accomplished with CUPS and Samba.

Here is the long version of the how-to:
http://www.ajl-tech.com/index.php?option=com_frontpageItemid=1
or 
http://www.ajl-tech.com/index.php?option=contenttask=viewid=16Itemid=31

Here is the short version, illustrated as general procedure (with in 
between steps removed).  This how-to assumes that the printer in 
question has a good driver available at www.linuxprinting.org.

Step 1. Install CUPS via ports and other apps + drivers
/usr/ports/print/cups
/usr/ports/print/gimp-print
/usr/ports/print/hpijs
/usr/ports/print/ghostscript-gnu
/usr/ports/lang/perl5
For each of the above: make install clean
Step 2. Get the proper driver (.ppd file) from www.linuxprinting.org and 
 copy it to the /usr/local/share/cups/model directory. For example:

chown root:wheel HP-LaserJet_4M-postscript.ppd
chmod 644  HP-LaserJet_4M-postscript.ppd
mv HP-LaserJet_4M-postscript.ppd  /usr/local/share/cups/model
Step 3. Get Foomatic.  You'll need the following 2 files:
http://www.linuxprinting.org/foomatic-rip
http://www.linuxprinting.org/foomatic-gswrapper
These files need to be moved to the right location with the right modes 
applied:

mv foomatic-rip /usr/local/bin
mv foomatic-gswrapper /usr/local/bin
cd /usr/local/bin
chmod 755 foomatic-rip foomatic-gswrapper
Step 4. Make sure Foomatic can be reached by CUPS:
Place a link in CUPS's filter directory at 
/usr/local/libexec/cups/filter: (note: the following is 1 line)

ln -s /usr/local/bin/foomatic-rip 
/usr/local/libexec/cups/filter/foomatic-rip

Important!!
CUPS will have installed its own versions of the commands LP lpr 
lpq lprm in the [/usr/local/bin] directory.  While BSD installs its 
own (original) versions of these commands in [/usr/bin].  For sharing 
this a printer to others across a network via Samba, we'll need to make 
sure to reference the CUPS version of lp lpr lpq and lprm (in 
/usr/local/bin).

Step 5. Configure the printer
Start CUPS: /usr/local/etc/rc.d/cups.sh start
Bring up CUPS via browser: http://localhost:631;
Supply Name Location and Description.  Then supply the printer 
model (the downloaded .ppd driver should be there as a choice).

Print a test page.  Congrats you should have local printing.
Step 6. Configure CUPS for network print service
Edit the cupsd.conf file.  Make the following configs:
Set your broadcast option for the LAN by  setting:
BrowseAddress @LOCAL
Set local access privileges, find the Location / section and:
Location /
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1.*
/Location
This would allow anyone within the 192.168.1.* network to have access to 
CUPS.

Step 7. Install Samba via ports  Configure Samba
cd /usr/ports/net/samba
su
Password: 
make install clean
Start Samba: /usr/local/etc/rc.d/samba.sh start
Note: make sure these ports are open on the server's firewall (for 
samba): port 139 (tcp), port 138 (udp), and port 137 (udp)

Modify the smb.conf file: Here is my working smb.conf file.
global]
workgroup = workgroup
printcap name = cups
log file = /var/log/log.%m
max log size = 50
socket options = TCP_NODELAY
netbios name = mango
dns proxy = no
load printers = yes
security = share
os level = 20
printing = cups
encrypt passwords = yes
server string = Samba Server
[hp4m]
printable = yes
comment = hp4m for local network
printer = hp4m
use client driver = yes
lprm command = /usr/local/bin/lprm P%p %j
print command = /usr/local/bin/lp -d %p -o raw %s; rm -f %s
lpq command = /usr/local/bin/lpq -P%p
path = /var/spool/samba
writeable = yes
public = yes
Make sure that the guest user (nobody) is given access to the 
/var/spool/samba directory.

Also notice that the lp, lprm, and the print command reference the 
path to the CUPS versions of those commands.  I found this to be 
important. Referencing the FreeBSD (default) print commands will not get 
the job done!

Another important entry is the use client driver = yes.  If you don't 
include this setting, Windows 2000/XP

Re: Solved: FreeBSD as print server w/CUPS + samba + apsfilter

2004-05-24 Thread Rob
Mike wrote:
Greetings:
This post is a result of 2 days of thrashing trying to get FreeBSD (4.9) 
to act as a print server to Win2K/XP clients.  I have included links to 
a how-to that I wrote that includes a full install and configuration of 
CUPS and Samba so that local (connected to server) printers print 
locally, and so that that local printer(s) can then be shared (served) 
as network printer amongst Windows 2k/XP clients.
Why using for Samba for this?
Win2K/XP can print over the ipp port, which is the native way of
operation for CUPS.
I have an HP LaserJet 4V attached to my FreeBSD 4-Stable PC.
This printer is configured with the ipp protocol (I did
configuration with the CUPS web interface; very easy to use!).
The only file that I had to manually modify was
  /usr/local/etc/cups/cupsd.conf
There I have a section:
  Location /
  Order Deny,Allow
  Deny From All
  Allow From 127.0.0.1
  Allow From a.b.c.d/n
  /Location
Where a.b.c.d/n is the usual ip/mask that allows people on that
network to use the printer.
Don't forget to open your firewall for the ipp print connection,
something like
  ipfw add allow log tcp from a.b.c.d/n to me ipp via rl0
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network printing question: apsfilter + samba over Win2k network

2004-05-22 Thread Pavel Duda
Mike wrote:
Michal Pasternak wrote:
Mike [Fri, May 21, 2004 at 02:55:19PM -0700]:
PROBLEM: I'm able to see the printer from the Win2k client accoss 
the network, Windows 2k prompts for a driver and I load the driver. 
Windows reports that the printer is ready, however when I try to 
print a test page, nothing happens.

Do the logs in /var/log/ say anything useful?
Mike,
Hmm... the /var/log/log.smbd had several of these entries:
[2004/05/21 14:04:19, 0] printing/print_cups.c:cups_printer_fn(107)
  Unable to connect to CUPS server localhost - Connection refused
So I added this rule to IPFW (for Cups):
ipfw add allow tcp from 192.168.1.0/24 to me 515
And I re-started cups: /usr/local/etc/rc.d/cups.sh start
So now (it doesn't complain):
[2004/05/21 17:05:40, 0] smbd/server.c:main(791)
  smbd version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
I also check the lpd-errs log but couldn't find anything.  I've also 
re-read the apsfilter manual but it really doesn't cover in a detail how 
to configure to a Windows client network.

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

I recommend to take a look at cups logs.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Network printing question: apsfilter + samba over Win2k network

2004-05-21 Thread Mike
Greetings:
My server is: FreeBSD 4.9 stable and is acting as a file and (hopefully) 
print server for 6 local Windows 2000 workstations.

Samba 2.28 is installed and serving file shares properly.  Now for 
printer sharing...

The printer is an HP 4M laserjet, and I installed apsfilter (via ports)
Apsfilter SETUP came up and took me through the process of installing 
the printer.

First I installed the HP [lp] first using auto as the default printing 
method.  The HP's test page printed fine

Next I installed the HP [aps1]using raw as print method. I wanted to 
use the HP as a print server so I just want the server to pass the 
print job to the Win2K client (is this right?).  I want Win2k to handle 
the print job.

Note: I have a Redhat-9 print server that works and it uses a CUPS + 
SAMBA combination.

I'm using Apsfilter for FreeBSD, so I shouldn't need CUPS right?
Anyway, for aps1 (raw printer), I set-up a samba printer share, here is 
that portion of the smb.conf:

[hp4m]
printable = yes
comment = hp4m
printer = aps1
lprm command = lprm -P%p %j
print command = lpr -r -h -P %p %s
lpq command = lpq -P%p
path = /var/spool/lpd/aps1
public = yes
writeable = yes
use client driver = yes

PROBLEM: I'm able to see the printer from the Win2k client accoss the 
network, Windows 2k prompts for a driver and I load the driver. Windows 
reports that the printer is ready, however when I try to print a test 
page, nothing happens.

This is my first foray into network printing with FreeBSD, and I'm still 
learning may way around this OS.  So any pointers or hints would be 
greatly appreciated.

Thanks,
Michael Chinn
For reference, here is the /etc/printcap file:
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
lp|PS;r=600x600;q=medium;c=full;p=letter;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this
# APS2_BEGIN:printer2
# - don't delete start label for apsfilter printer2
# - no other printer defines between BEGIN and END LABEL
aps1|PS;r=600x600;q=medium;c=full;p=letter;m=raw:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/aps1:\
:lf=/var/spool/lpd/aps1/log:\
:af=/var/spool/lpd/aps1/acct:\
:mx#0:\
:sf:\
:sh:
# APS2_END - don't delete this

From the smb.conf:
[hp4m]
printable = yes
comment = hp4m
printer = aps1
lprm command = lprm -P%p %j
print command = lpr -r -h -P %p %s
lpq command = lpq -P%p
path = /var/spool/lpd/aps1
public = yes
writeable = yes
use client driver = yes
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network printing question: apsfilter + samba over Win2k network

2004-05-21 Thread Mike
Michal Pasternak wrote:
Mike [Fri, May 21, 2004 at 02:55:19PM -0700]:
PROBLEM: I'm able to see the printer from the Win2k client accoss the 
network, Windows 2k prompts for a driver and I load the driver. Windows 
reports that the printer is ready, however when I try to print a test 
page, nothing happens.

Do the logs in /var/log/ say anything useful?
Mike,
Hmm... the /var/log/log.smbd had several of these entries:
[2004/05/21 14:04:19, 0] printing/print_cups.c:cups_printer_fn(107)
  Unable to connect to CUPS server localhost - Connection refused
So I added this rule to IPFW (for Cups):
ipfw add allow tcp from 192.168.1.0/24 to me 515
And I re-started cups: /usr/local/etc/rc.d/cups.sh start
So now (it doesn't complain):
[2004/05/21 17:05:40, 0] smbd/server.c:main(791)
  smbd version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
I also check the lpd-errs log but couldn't find anything.  I've also 
re-read the apsfilter manual but it really doesn't cover in a detail how 
to configure to a Windows client network.

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


Re: Apsfilter and margins...

2004-02-19 Thread Malcolm Kay
On Wed, 18 Feb 2004 02:18, Eric F Crist wrote:
 -Original Message-
 From: Malcolm Kay [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 17, 2004 9:27 AM
 To: [EMAIL PROTECTED]; FreeBSD questions List
 Subject: Re: Apsfilter and margins...

 On Tue, 17 Feb 2004 02:33, Eric F Crist wrote:
  Hello list,
 
  Does anyone here use apsfilter?  If so, can you tell me how to fix the
 
  margins.  There is NO bottom margin (text runs off bottom of the page)
 
  and the top margin is about 2 inches.  Any idea on how to change this?

 No information about your circumstances -- printer make/model -- what
 sort of files you are passing to it.

 This is sometimes a printer adjustment. Have you read the printer
 manual?

 Malcolm Kay


 Malcolm,

 I've got Brother HL-1440 laser printer.  I throw all kinds of files to
 it.  Everything from text via command line (i.e. lpr /etc/rc.conf) to
 openoffice documents to webpages from Konquror or Firebird.

 Yes, I've read the printer manual.

 Eric F Crist

At work I have an HL1440 shared as a network printer.
I don't use Apsfilter.

It works fine with plain-text, postscript or PCL.
The printcap entry:

hl1440|raw1440|Brother HL1440:\
:sd=/var/spool/lpd/raw1440:\
:if=/usr/local/libexec/lpd/raw1440:\
:mx#0:\
:sh:\
:lp=:\
:rm=hl1440:\
:lf=/var/log/lpd-errs:

And /usr/local/libexec/lpd/raw1440:
#!/bin/sh
#
#  Treat LF as CR+LF:
#
printf \033k2G || exit 2

#
#  Read first two characters of the file
#
IFS= read -r first_line
first_two_chars=`expr $first_line : '\(..\)'`

if [ $first_two_chars = %! ]; then
#
#  It is PostScript; use Ghostscript to scan-convert and print it.
#
/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=hl1250 -r300 \
-sOutputFile=- -  exit 0
else
#
#  Plain text or PCL, so just print it directly; print a form feed
#  at the end to eject the last page.
#
echo $first_line  cat  printf \033l0H  exit 0
fi

exit 2
---

Suggest you check what ghostscript DEVICE Apsfilter is using -- hl1250
seems to be a good choice.

Other than that you could set up something similar to the above as an
alternative printcap entry to test out your printer while bypassing
Apsfilter -- should at least resolve whether the problem is with the printer
or Apsfilter.

Malcolm


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


SOLVED: apsfilter and margins

2004-02-19 Thread Eric F Crist
Here's a little howto for those of you who are having problems with faulty 
margins with apsfilter.  I'm personally using a Brother HL-1440, but the 
general idea still applies to all printers.

1) Edit the file /usr/local/share/gho.stscript/7.07/lib/align.ps and add %! on 
a line by itself, before anything else.

2) type lpr /usr/local/share/ghostscript/7.07/lib/align.ps and you will get a 
page that has two lines, intersecting in the lower left corner.

3) Follow the instructions on the page that prints to compute the numbers you 
need to enter.

4) Create a file called /etc/margins.ps that contains the following:

%!
 /.HWMargins [18 0 18 0] /Margins [0 -90]  setpagedevice

Your numbers will vary from mine.  This is for a Brother HL-1440 Laser 
printer. (The bottom margin on mine is very low on the page, but I don't 
loose any text.  Changing the bottom value seems to cut off text.)

Make certain that this file is world readable.  
#chmod a+r /etc/margins.ps

5) Edit the file /usr/local/etc/apsfilter/apsfilterrc and find the line near 
the bottom containing PS_INIT (currently commented out).

6) Uncomment the line and change it to read:

PS_INIT=/etc/margins.ps

7) Print a test page!  Play with those numbers in the /etc/margins.ps file 
until you get the margins you're looking for.  You do not need to restart lpd 
in order for changes to take effect.

Hope you all enjoy this!
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apsfilter and margins...

2004-02-17 Thread Malcolm Kay
On Tue, 17 Feb 2004 02:33, Eric F Crist wrote:
 Hello list,

 Does anyone here use apsfilter?  If so, can you tell me how to fix the
 margins.  There is NO bottom margin (text runs off bottom of the page) and
 the top margin is about 2 inches.  Any idea on how to change this?


No information about your circumstances -- printer make/model -- what sort
of files you are passing to it.

This is sometimes a printer adjustment. Have you read the printer manual?

Malcolm Kay

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


RE: Apsfilter and margins...

2004-02-17 Thread Eric F Crist
-Original Message-
From: Malcolm Kay [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 9:27 AM
To: [EMAIL PROTECTED]; FreeBSD questions List
Subject: Re: Apsfilter and margins...


On Tue, 17 Feb 2004 02:33, Eric F Crist wrote:
 Hello list,

 Does anyone here use apsfilter?  If so, can you tell me how to fix the

 margins.  There is NO bottom margin (text runs off bottom of the page)

 and the top margin is about 2 inches.  Any idea on how to change this?


No information about your circumstances -- printer make/model -- what
sort of files you are passing to it.

This is sometimes a printer adjustment. Have you read the printer
manual?

Malcolm Kay


Malcolm,

I've got Brother HL-1440 laser printer.  I throw all kinds of files to
it.  Everything from text via command line (i.e. lpr /etc/rc.conf) to
openoffice documents to webpages from Konquror or Firebird.

Yes, I've read the printer manual.

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588





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


Apsfilter and margins...

2004-02-16 Thread Eric F Crist
Hello list,

Does anyone here use apsfilter?  If so, can you tell me how to fix the 
margins.  There is NO bottom margin (text runs off bottom of the page) and 
the top margin is about 2 inches.  Any idea on how to change this?

Thanks.
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588


pgp0.pgp
Description: signature


Apsfilter printing margins?

2004-01-26 Thread Eric F Crist
Hello list!

I have installed apsfilter and finally got my ZOT lpd print server working.  
However, the bottom margin doesn't exist.  Top, left, and right are just 
fine.  I tried setting margins manually from within various aps within KDE, 
but to no avail.  Anyone have a similar problem?  
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


PPA printing - HP 720C with apsfilter - ioerror

2003-11-15 Thread Herculano de Lima Einloft Neto
   Hello all,

   I'm trying to get my DeskJet 720C printer set up. It already works 
on Linux and Windows on the same box. I installed apsfilter, ran SETUP, 
apspreview works allright, lpd is running, gs -h shows pnmraw... Here :

/etc/printcap :

lp|local line printer:\
:sh:\
:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
aps1|ppa/720;r=300x300;q=medium;c=full;p=a4;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/aps1:\
:lf=/var/spool/lpd/aps1/log:\
:af=/var/spool/lpd/aps1/acct:\
:mx#0:\
:sh:
/usr/local/etc/apsfilter/aps1/apsfilterrc :

PRINTER='ppa/720'
PAPERSIZE='a4'
METHOD='auto'
QUALITY='medium'
COLOR='full'
RESOLUTION='300x300'
  Now whenever I try to print anything, nothing happens, and this is 
what I see when I cat /var/spool/lpd/aps1/log :

Error: /ioerror in --.outputpage--
Operand stack:
   1   true
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval-- 
--nostringval--   2   %stopped_push   --nostringval--   --nostringval-- 
  --nostringval--   false   1   %stopped_push   1   3   %oparray_pop 
1   3   %oparray_pop   --nostringval--   1   3   %oparray_pop   1   3 
%oparray_pop   .runexec2   --nostringval--   --nostringval-- 
--nostringval--   2   %stopped_push   --nostringval-- 0   4 
%oparray_pop   --nostringval--   --nostringval--   --nostringval-- 
--nostringval--
Dictionary stack:
   --dict:1074/1123(ro)(G)--   --dict:0/20(G)--   --dict:80/200(L)-- 
--dict:45/100(L)--
Current allocation mode is local
Last OS error: 32
GNU Ghostscript 7.06: Unrecoverable error, exit code 1

   Any help much appreciated, I can't find anything else online. 
There's   also an error that happens when I don't use the -C option in 
lpr, though I don't think it's related:

apsfilter warning: unknown option 'localhost.localdomain'

   Some unimportant bug for what I've seen..
   Anyway I can't print anything.. anyone?
Thanks in advance,
--
Herculano de Lima Einloft Neto


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


Re: Printing as a user - FreeBSD, Apsfilter, KDE

2003-11-06 Thread Jean-Baptiste Quenot
* Michael Dunham:

 I am using FreeBSD as my desktop.   I'm looking for help to print as a
 user from KDE.

Have you  tried using  cups?  It's pretty  straight-forward, with  a web
interface  to add  your printer.   (There  is a  Gnome interface  called
gnome-cups-manager, but for KDE I don't know).

Cups is intended as a replacement for the BSD lpr subsystem.

Cheers,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/


pgp0.pgp
Description: PGP signature


Printing as a user - FreeBSD, Apsfilter, KDE

2003-10-29 Thread Michael Dunham
hello..

I am using FreeBSD as my desktop.  I'm looking for help to print as a user 
from KDE.  I can generate a test print from Apsfilter just fine in the shell 
using the setup script.

I think I either do not have a spooler set up right, or a permission perhaps.
I also don't really know what I should select for the printer in KDE or if
there should be a command line entry.

I did have the sample lp setup in my printcap file at one point, currently
that is commented out.

I'm Running:
FreeBSD  Current (5.1)
Printer Canon BJC-610
Parallel /dev/lp0
LPD on start up
Ghostscript-gnu

As SU checking for the lpt:
freebie# dmesg | grep lpt
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
freebie# ls -l /dev/lpt0
crw---  1 root  wheel   16,   0 Oct 29 09:09 /dev/lpt0

From Apsfilter setup:
Checking permissions of /usr/local/share/apsfilter
found dir owner=root, ok!
found dir group=wheel, ok!
changing permissions of /usr/local/share/apsfilter... done.

Now we are checking file permissions in spooldir

Your line printer scheduler's spooldir seems to be: /var/spool/lpd

drwxrwxrwx  2 root  daemon  512 Oct 17 01:25 /var/spool/lpd

The Owner of your spooldir seems to be: root
The Group of your spooldir seems to be: daemon

First time through on test print returns a printer busy and resets printer
Second time through works fine
I reset printers as suggested in setup

From KDE 3.1.4

using OpenOffice  Writer, from open document
selected Generic Printer.
Windows fly by but nothing happens.  As I understand it, generic printer
should be lpd and should be captured by Apsfilter.


using Kmail, selected
print through external program, ps (only possible selection: postscript
printer, reports idle, accepting jobs), print command line empty.
Reports generating print file, then:
A print error occured. Error message received from system:
Empty print command.

Using Kmail, selecting Generic LPD print system, no device, no option to
 print

Using Kmail, cannot select LPR/LPRng (port not installed at this time, will
not compile on 5.1)  not an Apsfilter issue obviously.

Using KDE Control Center, peripherals, printer
Print Through External Program, PS_printer (only device available)
Unable to send, empty print command

Any help or config file to check would be greatly appreciated.
--
Regards,

MIKE...
Make your Information your KnowlEDGE
Michael L. Dunham
Principal Consultant
Connecting Teams
2333 La Lima Way
Sacramento, CA 95833
Phone: 707-780-3019
email: [EMAIL PROTECTED]
webpage: http://www.connectingteams.com

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


CUPS vs. apsfilter--newbie setup problems

2003-09-19 Thread Jesse Sheidlower

I'm trying to get my 4.8-running laptop hooked up to
some printers, and I'm having trouble getting it configured
with either CUPS or apsfilter (as someone here had recommended).
I've tried to look over the docs, and search through here, but
am still stumped for what I'm supposed to be doing.

I'm also not clear on why these systems don't interoperate, or,
rather, why an entry in /etc/printcap generated from apsfilter
doesn't show up in CUPS. It would be nice if you could use 
these together.

First, I was able to configure printing on a local USB printer
with each system, though apsfilter has a vastly greater number
of drivers available. Is there a way to get CUPS to read these
drivers, or to separately install ones that it can handle?

I'm not able to get either one to work with a networked printer.
With CUPS, I can get it to the point where I can print a test
page, by choosing the device AppSocket/HP Jet Direct (though
it's not a Jet Direct printer, just a regular TCP/IP interface) and
using a device URI of socket://1.2.3.4:9100/ , but I
can't get anything else to print on this printer. I wasn't able
to get it to print even a test page by using any lpd combination
I could come up with.

With apsfilter, I can't get it set up at all; anything I try
gives lpr: unable to print file: client-error-not-found
when I try to do a test page.

Assuming I ever do manage to get this configured, is there a
way to choose printers from within apps? In Mozilla, even with
several (dummy) printers entered, the only option for Printer
is PostScript/Default, and from, say, Emacs, there's just the
various print options. Do I have to choose this from the 
command line outside of the apps?

Thanks very much.

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


Re: CUPS vs. apsfilter--newbie setup problems

2003-09-19 Thread Andrew L. Gould
On Friday 19 September 2003 10:39 am, Jesse Sheidlower wrote:
 I'm trying to get my 4.8-running laptop hooked up to
 some printers, and I'm having trouble getting it configured
 with either CUPS or apsfilter (as someone here had recommended).
 I've tried to look over the docs, and search through here, but
 am still stumped for what I'm supposed to be doing.

 I'm also not clear on why these systems don't interoperate, or,
 rather, why an entry in /etc/printcap generated from apsfilter
 doesn't show up in CUPS. It would be nice if you could use
 these together.

 First, I was able to configure printing on a local USB printer
 with each system, though apsfilter has a vastly greater number
 of drivers available. Is there a way to get CUPS to read these
 drivers, or to separately install ones that it can handle?

 I'm not able to get either one to work with a networked printer.
 With CUPS, I can get it to the point where I can print a test
 page, by choosing the device AppSocket/HP Jet Direct (though
 it's not a Jet Direct printer, just a regular TCP/IP interface) and
 using a device URI of socket://1.2.3.4:9100/ , but I
 can't get anything else to print on this printer. I wasn't able
 to get it to print even a test page by using any lpd combination
 I could come up with.

 With apsfilter, I can't get it set up at all; anything I try
 gives lpr: unable to print file: client-error-not-found
 when I try to do a test page.

 Assuming I ever do manage to get this configured, is there a
 way to choose printers from within apps? In Mozilla, even with
 several (dummy) printers entered, the only option for Printer
 is PostScript/Default, and from, say, Emacs, there's just the
 various print options. Do I have to choose this from the
 command line outside of the apps?

 Thanks very much.

 Jesse Sheidlower

This may sound like a dumb question, but did you start the printing service 
'lpd'?  The default installation of FreeBSD does not start this service.

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


Re: CUPS vs. apsfilter--newbie setup problems

2003-09-19 Thread Jesse Sheidlower
On Fri, Sep 19, 2003 at 11:05:50AM -0500, Andrew L. Gould wrote:
 On Friday 19 September 2003 10:39 am, Jesse Sheidlower wrote:
  I'm trying to get my 4.8-running laptop hooked up to
  some printers, and I'm having trouble getting it configured
  with either CUPS or apsfilter (as someone here had recommended).
  I've tried to look over the docs, and search through here, but
  am still stumped for what I'm supposed to be doing.

[...]

 This may sound like a dumb question, but did you start the printing service 
 'lpd'?  The default installation of FreeBSD does not start this service.

It is not a dumb question, as I normally do forget such things, but
in this case, yes, lpd is running.

Jesse Sheidlower

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


Re: CUPS vs. apsfilter--newbie setup problems

2003-09-19 Thread Andrew L. Gould
On Friday 19 September 2003 11:05 am, Andrew L. Gould wrote:
 On Friday 19 September 2003 10:39 am, Jesse Sheidlower wrote:
  I'm trying to get my 4.8-running laptop hooked up to
  some printers, and I'm having trouble getting it configured
  with either CUPS or apsfilter (as someone here had recommended).
  I've tried to look over the docs, and search through here, but
  am still stumped for what I'm supposed to be doing.
 
  I'm also not clear on why these systems don't interoperate, or,
  rather, why an entry in /etc/printcap generated from apsfilter
  doesn't show up in CUPS. It would be nice if you could use
  these together.
 
  First, I was able to configure printing on a local USB printer
  with each system, though apsfilter has a vastly greater number
  of drivers available. Is there a way to get CUPS to read these
  drivers, or to separately install ones that it can handle?
 
  I'm not able to get either one to work with a networked printer.
  With CUPS, I can get it to the point where I can print a test
  page, by choosing the device AppSocket/HP Jet Direct (though
  it's not a Jet Direct printer, just a regular TCP/IP interface) and
  using a device URI of socket://1.2.3.4:9100/ , but I
  can't get anything else to print on this printer. I wasn't able
  to get it to print even a test page by using any lpd combination
  I could come up with.
 
  With apsfilter, I can't get it set up at all; anything I try
  gives lpr: unable to print file: client-error-not-found
  when I try to do a test page.
 
  Assuming I ever do manage to get this configured, is there a
  way to choose printers from within apps? In Mozilla, even with
  several (dummy) printers entered, the only option for Printer
  is PostScript/Default, and from, say, Emacs, there's just the
  various print options. Do I have to choose this from the
  command line outside of the apps?
 
  Thanks very much.
 
  Jesse Sheidlower

 This may sound like a dumb question, but did you start the printing service
 'lpd'?  The default installation of FreeBSD does not start this service.

Please disregard my previous post.  I didn't read the first message clearly 
enough.

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


Re: CUPS vs. apsfilter--newbie setup problems

2003-09-19 Thread David Banning
On Fri, Sep 19, 2003 at 11:39:58AM -0400, Jesse Sheidlower wrote:
 
 I'm trying to get my 4.8-running laptop hooked up to
 some printers, and I'm having trouble getting it configured
 with either CUPS or apsfilter (as someone here had recommended).
 I've tried to look over the docs, and search through here, but
 am still stumped for what I'm supposed to be doing.
 
 I'm also not clear on why these systems don't interoperate, or,
 rather, why an entry in /etc/printcap generated from apsfilter
 doesn't show up in CUPS. It would be nice if you could use 
 these together.

As I recall there is an option like WITHOUT_CUPS=yes or something
similar. If you havn't look into whether that is set or not it might
be worth looking into. As I recollect, apsfilter installs -with-
CUPS, but that caused me much headache at one point. I am not sure
if it is still the default.

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


Re: Apsfilter

2003-06-05 Thread Toni Schmidbauer
On Tue, Jun 03, 2003 at 06:55:33PM -0500, Teilhard Knight wrote:
 I write because apsfilter handles .dvi files, and apparently cups does not. I 
 work quite a bit with TeX, and I am very interested in printing .dvi files in 
 a desjket printer. Does anybody know about a workaround?

i am only using cups and for printing dvi files i convert them to
postscript via dvips(1).

hth,
toni
-- 
Behandle die Menschen, als wären sie, was sie sein | toni at stderror dot at
sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
sie sein können.  - Johann Wolfgang von Goethe |


pgp0.pgp
Description: PGP signature


Apsfilter

2003-06-04 Thread Teilhard Knight
Hello:

Apsfilter doesn't work for me. I have read all the manual and checked all 
possible sources of failure, and I do not find where it goes wrong. I get an 
excellent test printout, but apart from that, the spooler fails to send any 
jobs to the printer. On the other hand, cups works great on me. I have had 
reports that it doesn't work with KOffice, but I haven't checked that.

I write because apsfilter handles .dvi files, and apparently cups does not. I 
work quite a bit with TeX, and I am very interested in printing .dvi files in 
a desjket printer. Does anybody know about a workaround?

If it helps at all, my printer is an HP Laserjet 845c.

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


apsfilter, ghostscript and my wife's Lexmark 3200 printer

2003-04-03 Thread Tom Parquette
Hi.
I've got printing set up and I have been able to generate the test print 
from 5.0-CURRENT to my Laserjet 2200dse via USB cabling.
My wife wants to get her Lexmark 3200 off of her desk and somewhere 
else.  So, I migrated my Laserjet to USB and I'm planning to plug her 
printer into the parallel port.

Apsfilter configures fine for the laserjet but I'm having problems with 
the Lexmark 3200 (color inkjet).
When I try to configure apsfilter to talk to the Lexmark, I'm told that 
I do not have support for the 3200 compiled into ghostscript.  I 
upgraded the port to ghostscript-gnu-7.05_5.  I selected all available 
printers (I did not see the Lexmark 3200 in the list) and ghostscript 
installed without complaining.

I reattempted the Lexmark configuration and it still failed saying I did 
not have the Lexmark driver.
I'm not that familiar with ghostscript.  Has anybody seen this before?  
TIA

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


Re: apsfilter, ghostscript and my wife's Lexmark 3200 printer

2003-04-03 Thread David Banning
On Thu, Apr 03, 2003 at 06:55:42PM -0500, Tom Parquette wrote:
 Hi.
 I've got printing set up and I have been able to generate the test print 
 from 5.0-CURRENT to my Laserjet 2200dse via USB cabling.
 My wife wants to get her Lexmark 3200 off of her desk and somewhere 
 else.  So, I migrated my Laserjet to USB and I'm planning to plug her 
 printer into the parallel port.
 
 Apsfilter configures fine for the laserjet but I'm having problems with 
 the Lexmark 3200 (color inkjet).
 When I try to configure apsfilter to talk to the Lexmark, I'm told that 
 I do not have support for the 3200 compiled into ghostscript.  I 
 upgraded the port to ghostscript-gnu-7.05_5.  I selected all available 
 printers (I did not see the Lexmark 3200 in the list) and ghostscript 
 installed without complaining.
 
 I reattempted the Lexmark configuration and it still failed saying I did 
 not have the Lexmark driver.
 I'm not that familiar with ghostscript.  Has anybody seen this before?  

Is your box FreeBSD and hers a windows box?  If that's the case,
you don't need ghostscript at all. You just need a raw entry in your
printcap.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apsfilter - exasperation - willing to pay

2003-03-17 Thread David Banning
I cannot for the life of me get aspfilter working.
It keeps putting out the error;

/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 1252: `${PS_NUP:+psnup -q 
-$PS_NUP ${LANDSCAPE:+$PSNUP_ROTATE} |} \'
cat: /rc: No such file or directory
rm: No such file or directory
/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 1252: syntax error near 
unexpected token `|}'
/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 1252: `${PS_NUP:+psnup -q 
-$PS_NUP ${LANDSCAPE:+$PSNUP_ROTATE} |} \'
cat: /rc: No such file or directory
rm: No such file or directory
/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 1252: syntax error near 
unexpected token `|}'
/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 1252: `${PS_NUP:+psnup -q 
-$PS_NUP ${LANDSCAPE:+$PSNUP_ROTATE} |} \'
cat: /rc: No such file or directory
rm: No such file or directory

in the /var/spool/lpd/raw error log.

which, if I understand the script, seems to be related to there
being no file to delete after the print attempt.

It started as a working system with a small bug in samba on FreeBSD 4.3S. 
I reinstalled samba. Then I reinstalled apsfilter.
Now I have upgraded to 4.8S. Then I reinstalled both samba and apsfilter.
I have posts both on FreeBSD and apsfilter lists.

One problem is the lack of information available available from the 
the logs. 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: apsfilter - exasperation - willing to pay

2003-03-17 Thread Mike Meyer
In [EMAIL PROTECTED], David Banning [EMAIL PROTECTED] typed:
 I cannot for the life of me get aspfilter working.

You might try magicfilter instead of apsfilter. It's not a shell
script, so is less likely to break when the environment changes around
it. However, it does require that you configure /etc/printcap
yourself. Here's a sample entry:

lj|lp|LaserJet 5MP:\
:lp=/dev/ulpt0:\
:sd=/var/spool/lpd/lj:\
:lf=/var/spool/lpd/lj/log:\
:af=/var/spool/lpd/lj/acct:\
:if=/usr/opt/libexec/magicfilter/ljet4m-filter:\
:mx#0:\
:sh:

If you can't find a magicfilter entry for your printer - which is
likely, as it's old - you'll have to take one for a similar - meaning
handles the same data formats - and modify it slightly. I'll be glad
to help with that as well.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


apsfilter won't print - here is log

2003-03-15 Thread David Banning
My print command send over samba are disappearing.
I checked all the log and the only one that gives info is this one
in /var/spool/lpd/raw/log;

/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 1252: syntax error near 
unexpected token `|}'
/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 1252: `${PS_NUP:+psnup -q 
-$PS_NUP ${LANDSCAPE:+$PSNUP_ROTATE} |} \'
cat: /rc: No such file or directory
rm: No such file or directory
/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 1252: syntax error near 
unexpected token `|}'
/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 1252: `${PS_NUP:+psnup -q 
-$PS_NUP ${LANDSCAPE:+$PSNUP_ROTATE} |} \'
cat: /rc: No such file or directory
rm: No such file or directory

any idea what the problem is here?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Samsung ML-1210 apsfilter

2003-02-14 Thread Graham Lillico
Has anyone managed to get the printer working with apsfilter?

I know it needs the gdi ghostscript driver which I have confirmed is
installed on my system.

% gs -h | grep gdi
   lj5gray pj pjxl pjxl300 pxlmono pxlcolor pcl3 hpdj ijs npdl rpdl gdi

However I can't find where I should select this driver in apsfilter.

I have tried the PS (option 1) driver, but nothing happend. I have also
tried the PSgs (options 2) driver, the printer starts but no output
appears, and under option 3  I can't find the gdi driver. 

I can print to the command line fine using 

% cat /usr/local/share/ghostscript/7.05/examples/snowflak.ps | gs -q
-dBATCH -dSAFER -dNOPAUSE -dQUIET -sDEVICE=gdi -sPAPERSIZE=a4 -r600
-sOutputFile=- - | cat  /dev/unlpt0

Does anyone have any ideas how I can get this printer working?

Grez..
-- 
+--+
| Grez [EMAIL PROTECTED] |
+--+

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: configure the printer (II) and apsfilter

2002-11-20 Thread Lin Jianfong
Looking at the date the source file was last modified, which is in year 
2000, I don't think you should worry about this if you're using FreeBSD 
4.7-STABLE which is the latest version at the moment. But if the advanced 
features don't work while you suspect it should, then this is worth doing, 
otherwise, I would say if it's not broken, don't fix it :).

Fong

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: configure the printer (II) and apsfilter
Date: Tue, 19 Nov 2002 21:19:58 +0100 (CET)


Good, in this web page:

http://apsfilter.org/docs/apsfilter-handbook-stable.html#install_notes_freebsd

they say that it must alter this of a file of FreeBSD:

Index: lpr.c
===
RCS file: /home/ncvs/src/usr.sbin/lpr/lpr/lpr.c,v
retrieving revision 1.32
diff -u -r1.32 lpr.c
--- lpr.c   2000/01/19 14:25:08 1.32
+++ lpr.c   2000/04/05 09:36:01
@@ -320,7 +320,7 @@
seteuid(uid);
card('H', host);
card('P', person);
-   if (hdr  !pp-no_header) {
+   if (hdr) {
if (jobname == NULL) {
if (argc == 0)
jobname = stdin;


if I have FreeBSD 4.7 STABLE, even this in actually this modification that 
must
do?

Come, until another one.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


configure the printer (II) and apsfilter

2002-11-19 Thread xxavi

Good, in this web page:

http://apsfilter.org/docs/apsfilter-handbook-stable.html#install_notes_freebsd

they say that it must alter this of a file of FreeBSD:

Index: lpr.c
===
RCS file: /home/ncvs/src/usr.sbin/lpr/lpr/lpr.c,v
retrieving revision 1.32
diff -u -r1.32 lpr.c
--- lpr.c   2000/01/19 14:25:08 1.32
+++ lpr.c   2000/04/05 09:36:01
@@ -320,7 +320,7 @@
seteuid(uid);
card('H', host);
card('P', person);
-   if (hdr  !pp-no_header) {
+   if (hdr) {
if (jobname == NULL) {
if (argc == 0)
jobname = stdin;


if I have FreeBSD 4.7 STABLE, even this in actually this modification that must
do?

Come, until another one.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



configure the printer (II) and apsfilter

2002-11-17 Thread xxavi

Good, in this web page:

http://apsfilter.org/docs/apsfilter-handbook-stable.html#install_notes_freebsd

they say that it must alter this of a file of FreeBSD:

Index: lpr.c
===
RCS file: /home/ncvs/src/usr.sbin/lpr/lpr/lpr.c,v
retrieving revision 1.32
diff -u -r1.32 lpr.c
--- lpr.c   2000/01/19 14:25:08 1.32
+++ lpr.c   2000/04/05 09:36:01
@@ -320,7 +320,7 @@
seteuid(uid);
card('H', host);
card('P', person);
-   if (hdr  !pp-no_header) {
+   if (hdr) {
if (jobname == NULL) {
if (argc == 0)
jobname = stdin;


if I have FreeBSD 4.7 STABLE, even this in actually this modification that must
do?

Come, until another one.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Printing to Win2K share printer with apsfilter via samba fails

2002-11-16 Thread Stacey Roberts
Hi Michael,
   I've got an update.

On Thu, 2002-11-14 at 08:18, Michael Loßin wrote:
 [EMAIL PROTECTED] schrieb am 13.11.02 20:08:35:
   Printer entry created by apsfilter setup in /etc/printcap:
   # APS1_BEGIN:printer1
   # - don't delete start label for apsfilter printer1
   # - no other printer defines between BEGIN and END LABEL
   hp845c|ijs/DESKJET_845;r=600x300;q=high;c=full;p=a4;m=auto:\
   :lp=/dev/null:\
  
  /dev/null ?!?  Are you sure this is supposed to be here?
  The setup should have done this (or is it just for
  testing purposes?).
  
   :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
   :sd=/var/spool/lpd/hp845c:\
   :lf=/var/spool/lpd/hp845c/log:\
   :af=/var/spool/lpd/hp845c/acct:\
   :mx#0:\
   :sh:
   # APS1_END - don't delete this
  
  What you've seen here (inclusinve of the :lp=/dev/null:\ line) is
  EXACTLY what I ended up with after configuring / installing apsfilter.
  
  What you've suggested as what the /etc/printcap entry that should have
  been inserted by apsfilter is news to me. I've been posting that very
  same /etc/printcap entry for over a week, and no-one's said anything
  about it. In fact, Michael, every single respondent, said that its fine.
 
 Well, the lp=/dev/null was created only with some help
 by you, since the apsfilter setup can't know which device
 to talk to.
 So during the setup (in interface setup) you must've
 entered /dev/null as the target device, but it should
 rather be /dev/lp0 or something like that.

Okay., I've changed this as you've suggested:
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
hp845c|ijs/DESKJET_845;r=600x300;q=high;c=full;p=a4;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/hp845c:\
:lf=/var/spool/lpd/hp845c/log:\
:af=/var/spool/lpd/hp845c/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this
$

Changed permissions on apsfilterrc, and restarted lpd:
# chmod 644 /usr/local/etc/apsfilter/hp845c/apsfilterrc
# lpc restart all
hp845c:
no daemon to abort
printing enabled
daemon restarted
# ps waux | grep lpd
root 156  0.0  0.2   976  664  ??  Ss   10:27AM   0:00.01
/usr/sbin/lpd -l
#

Sent print job from command line:
$ lpr -Php845c test
$

Nothing going on at the printer.., Checking the queue:
$ lpc status all
hp845c:
queuing is enabled
printing is enabled
1 entry in spool area
waiting for hp845c to become ready (offline?)
$

Now this I've not seen before.., but where's the job gone?:

# ps waux | grep -i lpd
root 156  0.0  0.2   976  664  ??  Is   10:27AM   0:00.01
/usr/sbin/lpd -l
root   74482  0.0  0.2   976  696  ??  S12:54PM   0:00.01
/usr/sbin/lpd -l
#

PID 74482 might well be that job.., 

Checking spool logs:
 $ ls -l /var/spool/lpd/hp845c/   
total 5
-rw-r--r--  1 rootdaemon 0 Nov 15 18:40 acct
-rw-rw  1 daemon  daemon   130 Nov 16 12:54
cfA002Demon.vickiandstacey.com
-rw-rw  1 stacey  daemon  1110 Nov 16 12:54
dfA002Demon.vickiandstacey.com
-rw-rw-r--  1 rootdaemon 0 Nov 16 12:54 errs.YKp21x9
-rw-rw-r--  1 rootdaemon 6 Nov 16 12:54 lock
-rw-r--r--  1 rootdaemon 0 Nov 15 18:40 log
-rw-rw-r--  1 rootdaemon46 Nov 16 12:54 status
$

The log and errs.* files are both empty:
 $ file  /var/spool/lpd/hp845c/log
/var/spool/lpd/hp845c/log: empty
$ file  /var/spool/lpd/hp845c/errs.YKp21x9 
/var/spool/lpd/hp845c/errs.YKp21x9: empty
$


Checking messages:
$ tail /var/log/messages
Nov 16 11:00:00 Demon newsyslog[44054]: logfile turned over
Nov 16 11:28:12 Demon /kernel: ipfw: limit 10 reached on entry 622
Nov 16 12:52:16 Demon su: stacey to root on /dev/ttyp0
Nov 16 12:53:55 Demon lpd[74477]: Demon.vickiandstacey.com requests
printjob hp845c
Nov 16 12:54:30 Demon lpd[74482]: Demon.vickiandstacey.com requests
printjob hp845c
Nov 16 12:55:22 Demon /kernel: ipfw: limit 10 reached on entry 820
$

This isn't working, no noises at the printer, no traffic on the switch,
nothing this ain't happening.., killing print jobs

$ lprm -Php845c -
dfA002Demon.vickiandstacey.com dequeued
cfA002Demon.vickiandstacey.com dequeued
$

Let me know what more I could do for you, please.

Stacey
 
   Checking spool logs:
   # tail /var/spool/lpd/hp845c/log
   apsfilter: The configuration file
   /usr/local/etc/apsfilter/hp845c/apsfilterrc
   apsfilter: is missing. Please run SETUP.
  
   But this file DOES exist:
   [it really does]
  
  It's probably a file permission problem. Please tell us
  what the permissions of
  /usr/local/etc/apsfilter/hp845c/apsfilterrc are.
  
  Its set to 600.
 
 This is not guaranteed to work -- it depends on the
 printer spooler. Please make it world readable
 (chmod 644 /usr/local/etc/apsfilter/hp845c/apsfilterrc)
 and try again. (Don't forget the lp=/dev/lp0 stuff,
 and restart the printer spooler daemon.)
 
 I don't know why

Re: Printing to Win2K share printer with apsfilter via samba fails

2002-11-16 Thread Gerald T. Freymann
On 16 Nov 2002, Stacey Roberts wrote:

   /dev/null ?!?  Are you sure this is supposed to be here?
   The setup should have done this (or is it just for
   testing purposes?).

Isn't it /dev/null because you're printing to smbprint via samba? ;-)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Printing to Win2K share printer with apsfilter via samba fails

2002-11-16 Thread Stacey Roberts
That's what I'm certain I read somewhere in the apsfilter docs.

That's why I never thought that it was worng to begin with.

I fear that more than a few people have missed the fact that I am trying
to print to a windows shared printer via samba.

Cheers Gerald,
Stacey

On Sun, 2002-11-17 at 01:25, Gerald T. Freymann wrote:
 On 16 Nov 2002, Stacey Roberts wrote:
 
/dev/null ?!?  Are you sure this is supposed to be here?
The setup should have done this (or is it just for
testing purposes?).
 
 Isn't it /dev/null because you're printing to smbprint via samba? ;-)
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Printing to Win2K share printer with apsfilter via samba fails

2002-11-10 Thread Stacey Roberts
Hello, 
 I've installed apsfilter-7.2.3, and despite successfully printing
the test page, I am unable to get anything to print either from an
application (opera / AbiWord), nor command line. 

Checking printer status: 
# lpc status all 
hp845c: 
queuing is enabled 
printing is enabled 
no entries in spool area 
printer idle 
# 

System: 
# uname -a 
FreeBSD snipped 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Oct 12 10:04:03
BST 2002 root@snipped:/usr/obj/usr/src/sys/snipped  i386 
# 

Printer entry created by apsfilter setup in /etc/printcap: 
# APS1_BEGIN:printer1 
# - don't delete start label for apsfilter printer1 
# - no other printer defines between BEGIN and END LABEL 
hp845c|ijs/DESKJET_845;r=600x300;q=high;c=full;p=a4;m=auto:\ 
:lp=/dev/null:\ 
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ 
:sd=/var/spool/lpd/hp845c:\ 
:lf=/var/spool/lpd/hp845c/log:\ 
:af=/var/spool/lpd/hp845c/acct:\ 
:mx#0:\ 
:sh: 
# APS1_END - don't delete this 
# 

I try printing webpage from opera, I get: 
# lpc status all 
hp845c: 
queuing is enabled 
printing is enabled 
no entries in spool area 
printer idle 
You have new mail. 
# 

Checking mail: 
From [EMAIL PROTECTED] Sun Nov 10 15:10:14 2002 
Date: Sun, 10 Nov 2002 15:10:14 GMT 
From: Owner of many system processes [EMAIL PROTECTED] 
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: apsfilter: can't find configuration 

apsfilter fatal error: can't find configuration 

The configuration file /usr/local/etc/apsfilter/hp845c/apsfilterrc 
is missing. Please run SETUP. 


-- apsfilter, your lpd input filter 

 

Checking spool logs: 
# tail /var/spool/lpd/hp845c/log 
apsfilter: The configuration file
/usr/local/etc/apsfilter/hp845c/apsfilterrc 
apsfilter: is missing. Please run SETUP. 
cat: /rc: No such file or directory 
rm: No such file or directory 
/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 116: /rc:
Permission denied 
apsfilter: can't find configuration 
apsfilter: The configuration file
/usr/local/etc/apsfilter/hp845c/apsfilterrc 
apsfilter: is missing. Please run SETUP. 
cat: /rc: No such file or directory 
rm: No such file or directory 
# 

But this file DOES exist: 

# more /usr/local/etc/apsfilter/hp845c/apsfilterrc 
# 
# don't delete these settings 
# 
PRINTER='ijs/DESKJET_845' 
PAPERSIZE='a4' 
METHOD='auto' 
QUALITY='high' 
COLOR='full' 
RESOLUTION='600x300' 

# 
# additional configuration follows 
# insert settings as seen in /usr/local/etc/apsfilter/apsfilterrc 
# 
# 

That's failed big time. I'll try printing with lpr: 

# pwd 
/usr/home/stacey 
# date 
Sun Nov 10 15:15:23 GMT 2002 
# file test 
test: ASCII English text 
# lpr -Php845c test 
# lpc status all 
hp845c: 
queuing is enabled 
printing is enabled 
no entries in spool area 
hp845c is ready and printing 
# 

Nothing.., 

Checking logs again:- 
Messages: 
Nov 10 15:15:42 Demon lpd[91979]: Demon.vickiandstacey.com requests
printjob hp845c 
Nov 10 15:15:43 Demon lpd[91979]: restarting hp845c 
Nov 10 15:15:45 Demon last message repeated 3 times 
Nov 10 15:15:46 Demon lpd[91979]: hp845c: job could not be printed
(cfA033Demon.vickiandstacey.com) 
Nov 10 15:15:47 Demon lpd[91979]: mail sent to user root about job
unknown on printer hp845c (FATALERR) 
# 

Checking root's mail: 
Message 21: 
From [EMAIL PROTECTED] Sun Nov 10 15:15:47 2002 
Date: Sun, 10 Nov 2002 15:15:46 GMT 
From: Owner of many system processes [EMAIL PROTECTED] 
To: [EMAIL PROTECTED]
Subject: hp845c printer job unknown 
Reply-To: [EMAIL PROTECTED]

Your printer job 
could not be printed 

 

Checking spool again: 
# date 
Sun Nov 10 15:18:07 GMT 2002 

# tail /var/spool/lpd/hp845c/log 
apsfilter: The configuration file
/usr/local/etc/apsfilter/hp845c/apsfilterrc 
apsfilter: is missing. Please run SETUP. 
cat: /rc: No such file or directory 
rm: No such file or directory 
/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 116: /rc:
Permission denied 
apsfilter: can't find configuration 
apsfilter: The configuration file
/usr/local/etc/apsfilter/hp845c/apsfilterrc 
apsfilter: is missing. Please run SETUP. 
cat: /rc: No such file or directory 
rm: No such file or directory 
# 

There's a permission denied error being thrown. Checking permissions
on the offending file: 
# ls -al /usr/local/etc/apsfilter/basedir/bin/apsfilter 
-r-xr-xr-x  1 root  wheel  56940 Nov  8 22:24
/usr/local/etc/apsfilter/basedir/bin/apsfilter 
# 

Is this not what it should be? I didn't see instructions to change
permissions on any of apsfilter config file, scripts, nor any files
concerning printing anywhere. 

Again complaints about a missing file.., this file DOES EXIST: 

# more /usr/local/etc/apsfilter/hp845c/apsfilterrc 
# 
# don't delete these settings 
# 
PRINTER='ijs/DESKJET_845' 
PAPERSIZE='a4' 
METHOD='auto' 
QUALITY='high' 
COLOR='full' 
RESOLUTION='600x300' 

# 
# additional configuration follows 
# insert settings as seen in /usr/local/etc/apsfilter/apsfilterrc 
# 
# 

I've searched the apsfilter mailing

Re: Printing to Win2K share printer with apsfilter via samba fails

2002-11-10 Thread Warren Block
On 10 Nov 2002, Stacey Roberts wrote:

 Printer entry created by apsfilter setup in /etc/printcap: 
 # APS1_BEGIN:printer1 
 # - don't delete start label for apsfilter printer1 
 # - no other printer defines between BEGIN and END LABEL 
 hp845c|ijs/DESKJET_845;r=600x300;q=high;c=full;p=a4;m=auto:\ 
 :lp=/dev/null:\ 
 :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ 
 :sd=/var/spool/lpd/hp845c:\ 
 :lf=/var/spool/lpd/hp845c/log:\ 
 :af=/var/spool/lpd/hp845c/acct:\ 
 :mx#0:\ 
 :sh: 
 # APS1_END - don't delete this 
 # 

That if= line says that every time you try to print through this
printer, the input is to be filtered by apsfilter.  Since something
is apparently wrong with apsfilter, you will not be able to print with
this printcap entry.
 
 # tail /var/spool/lpd/hp845c/log 
 apsfilter: The configuration file
 /usr/local/etc/apsfilter/hp845c/apsfilterrc 
 apsfilter: is missing. Please run SETUP. 

Okay.  So what happens when you run SETUP?

 But this file DOES exist: 
 
 # more /usr/local/etc/apsfilter/hp845c/apsfilterrc 

Possibly a permissions problem?

 That's failed big time. I'll try printing with lpr: 
 
 # lpr -Php845c test 

Won't work--you're just sending more stuff through the same failing
input filter.

I suggested in an earlier response that it would be good to get basic
text printing working before trying one of the big filter packages
like apsfilter.  I think I even posted a printcap entry that would
work.  What happens when you try that?

-Warren Block * Rapid City, South Dakota USA



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



  1   2   >