Date: Mon, 18 Feb 2002 22:27:07 -0500 From: "Jeff Jeter" <gsfgf@hotmail.com> To: "Patrick Soltani" <psoltani@ultradns.com> Cc: "FreeBSD Questions" <freebsd-questions@freebsd.org> Subject: Re: UPDATE: UPDATE: Cannon S300 Message-ID: <OE14FmWAFsTmIClmpcQ00005da4@hotmail.com> References: <3DBB075EEB95944492E127F2B9A96FAF328058@ultra-exchange.UltraDNS.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
I edited the turboprint scripts to add the sh before the call. now i get this error. can i fix this. i sent in an e-mail to turboprint also.
OUTPUT:
bsd# turboprint -Plp testpage-a4.ps output.prn
turboprint - executing tpfilter manually
printer name: lp
spool directory: turbo2
*** calling tpfilter now ***
head: illegal line count -- 1c
eval: 1: Syntax error: "(" unexpected
*** tpfilter finished ***
the output file may be copied to the printer now
for example: cat [OUTPUTFILE] > /dev/lp0
bsd#
output.prn is empty
----- Original Message -----
From: Patrick Soltani
To: Jeff Jeter
Sent: Monday, February 18, 2002 9:06 PM
Subject: RE: UPDATE: UPDATE: Cannon S300
what's the permission on the tpfilter?, if you chmod 755 tpfilter, then you would not need to do sh, just calling the name will do.
Regards,
Patrick Soltani.
-----Original Message-----
From: Jeff Jeter [mailto:gsfgf@hotmail.com]
Sent: Monday, February 18, 2002 12:04 PM
To: FreeBSD Questions
Subject: UPDATE: UPDATE: Cannon S300
After looking around i found the turboprint (www.turboprint.de) driver.
When i print i get this error:
bsd# Feb 18 14:48:01 bsd lpd[826]: cannot execv /usr/share/turboprint/lib/tpfilter
Feb 18 14:48:01 bsd lpd[826]: cannot execv /usr/share/turboprint/lib/tpfilter
Feb 18 14:48:01 bsd lpd[825]: lp: job could not be printed (cfA001bsd.my-net-space.net)
turboprint is calling tpfilter as a program (eval /usr/share/turboprint/lib/tpfilter), but tpfilter needs to be run as "sh tpfilter". how do i make this work?
Thanks,
Jeff Jeter
----- Original Message -----
From: Jeff Jeter
To: FreeBSD Questions
Sent: Monday, February 18, 2002 2:07 PM
Subject: UPDATE: Cannon S300
I think i got the usb port configured. Now i need help setting up ghostscript. what driver do i need? i installed gnu ghostscript, but it didn't list the S30 as supported. www.linuxprinting.org doesn't say anything about the S300.
----- Original Message -----
From: Jeff Jeter
To: FreeBSD Questions
Sent: Monday, February 18, 2002 1:08 PM
Subject: Cannon S300
I am trying to setup a canon S300 printer. I don't think that usb is setup correctly. usbd says no usb host controllers found.
I have pnm2ppa and my /etc/printcap is:
lp|ascii|unix:\
:lp=/dev/ulpt0:\
:sd=/var/spool/lpd:\
:if=/usr/local/bin/asciippafilter:\
:mx#0:\
:sh:
ps:\
:lp=/dev/ulpt0:\
:sd=/var/spool/ps:\
:if=/usr/local/bin/ppafilter:\
:mx#0:\
:sh:
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I edited the turboprint scripts to add the sh
before the call. now i get this error. can i fix this. i sent in an
e-mail to turboprint also.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>OUTPUT:</FONT></DIV>
<DIV><FONT face=Arial size=2>bsd# turboprint -Plp testpage-a4.ps
output.prn<BR>turboprint - executing tpfilter manually<BR>printer name:
lp<BR>spool directory: turbo2<BR>*** calling tpfilter now ***<BR>head: illegal
line count -- 1c<BR>eval: 1: Syntax error: "(" unexpected<BR>*** tpfilter
finished ***<BR>the output file may be copied to the printer now<BR>for example:
cat [OUTPUTFILE] > /dev/lp0<BR>bsd# </FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2>output.prn is empty</DIV></FONT></FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A href="mailto:psoltani@ultradns.com" title=psoltani@ultradns.com>Patrick
Soltani</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A href="mailto:gsfgf@hotmail.com"
title=gsfgf@hotmail.com>Jeff Jeter</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, February 18, 2002 9:06
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: UPDATE: UPDATE: Cannon
S300</DIV>
<DIV><BR></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=925190402-19022002>what's the permission on the tpfilter?, if you
chmod 755 tpfilter, then you would not need to do sh, just calling the name
will do.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=925190402-19022002></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=925190402-19022002>Regards,</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=925190402-19022002>Patrick Soltani.</SPAN></FONT></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Jeff Jeter [<A
href="mailto:gsfgf@hotmail.com">mailto:gsfgf@hotmail.com</A>]<BR><B>Sent:</B>
Monday, February 18, 2002 12:04 PM<BR><B>To:</B> FreeBSD
Questions<BR><B>Subject:</B> UPDATE: UPDATE: Cannon
S300<BR><BR></DIV></FONT>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>After looking around i found the turboprint (<A
href="http://www.turboprint.de">www.turboprint.de</A>) driver.</FONT></DIV>
<DIV><FONT face=Arial size=2>When i print i get this error:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>bsd# Feb 18 14:48:01 bsd lpd[826]: cannot execv
/usr/share/turboprint/lib/tpfilter<BR>Feb 18 14:48:01 bsd lpd[826]: cannot
execv /usr/share/turboprint/lib/tpfilter<BR>Feb 18 14:48:01 bsd lpd[825]:
lp: job could not be printed (cfA001bsd.my-net-space.net)<BR></FONT></DIV>
<DIV> </DIV>
<DIV>turboprint is calling tpfilter as a program (eval
/usr/share/turboprint/lib/tpfilter), but tpfilter needs to be run as "sh
tpfilter". how do i make this work?</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV>Jeff Jeter</DIV>
<DIV> </DIV>
<DIV></FONT>----- Original Message ----- </DIV></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A href="mailto:gsfgf@hotmail.com" title=gsfgf@hotmail.com>Jeff Jeter</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
href="mailto:freebsd-questions@freebsd.org"
title=freebsd-questions@freebsd.org>FreeBSD Questions</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, February 18, 2002 2:07
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> UPDATE: Cannon S300</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>I think i got the usb port configured.
Now i need help setting up ghostscript. what driver do i need?
i installed gnu ghostscript, but it didn't list the S30 as
supported. <A
href="http://www.linuxprinting.org">www.linuxprinting.org</A> doesn't
say anything about the S300.</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A href="mailto:gsfgf@hotmail.com" title=gsfgf@hotmail.com>Jeff
Jeter</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
href="mailto:freebsd-questions@freebsd.org"
title=freebsd-questions@freebsd.org>FreeBSD Questions</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, February 18, 2002
1:08 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Cannon S300</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>I am trying to setup a canon S300
printer. I don't think that usb is setup correctly. usbd
says no usb host controllers found. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have pnm2ppa and my /etc/printcap
is:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>lp|ascii|unix:\<BR>
:lp=/dev/ulpt0:\<BR>
:sd=/var/spool/lpd:\<BR>
:if=/usr/local/bin/asciippafilter:\<BR>
:mx#0:\<BR> :sh:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>ps:\<BR>
:lp=/dev/ulpt0:\<BR>
:sd=/var/spool/ps:\<BR>
:if=/usr/local/bin/ppafilter:\<BR>
:mx#0:\<BR> :sh:</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OE14FmWAFsTmIClmpcQ00005da4>
