From owner-freebsd-questions Mon Feb 18 19:27:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (oe14.pav2.hotmail.com [64.4.36.118]) by hub.freebsd.org (Postfix) with ESMTP id 8EC4A37B402 for ; Mon, 18 Feb 2002 19:27:01 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 18 Feb 2002 19:27:01 -0800 X-Originating-IP: [66.32.93.46] From: "Jeff Jeter" To: "Patrick Soltani" Cc: "FreeBSD Questions" References: <3DBB075EEB95944492E127F2B9A96FAF328058@ultra-exchange.UltraDNS.com> Subject: Re: UPDATE: UPDATE: Cannon S300 Date: Mon, 18 Feb 2002 22:27:07 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0019_01C1B8CB.65E123D0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Message-ID: X-OriginalArrivalTime: 19 Feb 2002 03:27:01.0511 (UTC) FILETIME=[4B6E6970:01C1B8F5] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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
I edited the turboprint scripts to add = the sh=20 before the call.  now i get this error.  can i fix this. i = sent in an=20 e-mail to turboprint also.
 
OUTPUT:
bsd# turboprint -Plp testpage-a4.ps=20 output.prn
turboprint - executing tpfilter manually
printer name:=20 lp
spool directory: turbo2
*** calling tpfilter now ***
head: = illegal=20 line count -- 1c
eval: 1: Syntax error: "(" unexpected
*** = tpfilter=20 finished ***
the output file may be copied to the printer now
for = example:=20 cat [OUTPUTFILE] > /dev/lp0
bsd#
 
output.prn is = empty
----- Original Message -----
From:=20 Patrick=20 Soltani
Sent: Monday, February 18, 2002 = 9:06=20 PM
Subject: RE: UPDATE: UPDATE: = Cannon=20 S300

what's the permission on the tpfilter?, if = you =20 chmod 755 tpfilter, then you would not need to do sh, just calling the = name=20 will do.
 
Regards,
Patrick Soltani.
-----Original Message-----
From: Jeff Jeter [mailto:gsfgf@hotmail.com]
Sen= t:=20 Monday, February 18, 2002 12:04 PM
To: FreeBSD=20 Questions
Subject: UPDATE: UPDATE: Cannon=20 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=20 /usr/share/turboprint/lib/tpfilter
Feb 18 14:48:01 bsd lpd[826]: = cannot=20 execv /usr/share/turboprint/lib/tpfilter
Feb 18 14:48:01 bsd = lpd[825]:=20 lp: job could not be printed = (cfA001bsd.my-net-space.net)
 
turboprint is calling tpfilter as a program (eval=20 /usr/share/turboprint/lib/tpfilter), but tpfilter needs to be run as = "sh=20 tpfilter".  how do i make this work?
 
Thanks,
Jeff Jeter
 
----- Original Message -----
From:=20 Jeff Jeter=20
To: FreeBSD Questions
Sent: Monday, February 18, = 2002 2:07=20 PM
Subject: UPDATE: Cannon = S300

I think i got the usb port = configured. =20 Now i need help setting up ghostscript.  what driver do i = need? =20 i installed gnu ghostscript, but it didn't list the S30 as=20 supported.  www.linuxprinting.org does= n't=20 say anything about the S300.
----- Original Message ----- =
From:=20 Jeff=20 Jeter
To: FreeBSD Questions =
Sent: Monday, February = 18, 2002=20 1:08 PM
Subject: Cannon = S300

I am trying to setup a canon = S300=20 printer.  I don't think that usb is setup correctly.  = usbd=20 says no usb host controllers found.
 
I have pnm2ppa and my = /etc/printcap=20 is:
 
lp|ascii|unix:\
       =20 :lp=3D/dev/ulpt0:\
        = = :sd=3D/var/spool/lpd:\
       =20 = :if=3D/usr/local/bin/asciippafilter:\
     &n= bsp; =20 :mx#0:\
        = :sh:
 
ps:\
       =20 :lp=3D/dev/ulpt0:\
        = = :sd=3D/var/spool/ps:\
       =20 = :if=3D/usr/local/bin/ppafilter:\
      &= nbsp;=20 :mx#0:\
        = :sh:
 
=
 
------=_NextPart_000_0019_01C1B8CB.65E123D0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message