Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0019_01C1B8CB.65E123D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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#=20
=20
output.prn is empty
  ----- Original Message -----=20
  From: Patrick Soltani=20
  To: Jeff Jeter=20
  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.
  =20
  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 -----=20
      From: Jeff Jeter=20
      To: FreeBSD Questions=20
      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 -----=20
        From: Jeff Jeter=20
        To: FreeBSD Questions=20
        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.=20
        =20
        I have pnm2ppa and my /etc/printcap is:

        lp|ascii|unix:\
                :lp=3D/dev/ulpt0:\
                :sd=3D/var/spool/lpd:\
                :if=3D/usr/local/bin/asciippafilter:\
                :mx#0:\
                :sh:

        ps:\
                :lp=3D/dev/ulpt0:\
                :sd=3D/var/spool/ps:\
                :if=3D/usr/local/bin/ppafilter:\
                :mx#0:\
                :sh:



------=_NextPart_000_0019_01C1B8CB.65E123D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

        =
:sd=3D/var/spool/lpd:\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        =
:if=3D/usr/local/bin/asciippafilter:\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=20
        :mx#0:\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
:sh:</FONT></DIV>
        <DIV>&nbsp;</DIV>
        <DIV><FONT face=3DArial=20
        size=3D2>ps:\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        :lp=3D/dev/ulpt0:\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

        =
:sd=3D/var/spool/ps:\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        =
:if=3D/usr/local/bin/ppafilter:\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;=20
        :mx#0:\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
:sh:</FONT></DIV>
        <DIV>&nbsp;</DIV>
        =
<DIV>&nbsp;</DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BO=
DY></HTML>

------=_NextPart_000_0019_01C1B8CB.65E123D0--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OE14FmWAFsTmIClmpcQ00005da4>