From owner-freebsd-questions@FreeBSD.ORG Sun May 24 14:46:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD6B11065677 for ; Sun, 24 May 2009 14:46:21 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp102.prem.mail.ac4.yahoo.com (smtp102.prem.mail.ac4.yahoo.com [76.13.13.41]) by mx1.freebsd.org (Postfix) with SMTP id 733898FC1F for ; Sun, 24 May 2009 14:46:21 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 89149 invoked from network); 24 May 2009 14:46:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=std0eersqd6WzxzqBINZj4Tp2ZQYZx3w33DVYm5eQgumP9drRBe+rYIfvhZBNUzaFuuT32nxfYfE2IxSprK3TAPnpfSATWN3oy6j3t98hY50MkfKXqDn5XIIeErvkIFv8Wy0aNxJhNGQzn8m85cV0lKcJiehfXR72BB7DDqxRZc= ; Received: from c-76-23-177-172.hsd1.ny.comcast.net (gesbbb@76.23.177.172 with login) by smtp102.prem.mail.ac4.yahoo.com with SMTP; 24 May 2009 07:46:20 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: 7so7N_YVM1kvp3COxPBxLb5slsswbJbDagOya1pOnREkfvs8dR1.w6JqkBwL4TY_.LjOLVCFWVT3ek6lh0eP5jBpHWMbndzTNzTHD95lKDWymde74FXTKgLWqiDAYvpHr2JGzfQSo9GD3kYvjabut1xv0CvyqO5x_83965tbQXPYamnCVoEI55wLBiC.UygA_G_5ZyFOnZxpsp__R56qhiRF_mAA7rhjmDDpCdiUmqsVEM6NRAagmzNoSvepWA20wLXjBGbFNf0dAp7uOJaaiuqdFhmoKsxNkbvx4T3BFjtzpm9sFUZRqCMyHvwlsg-- X-Yahoo-Newman-Property: ymail-3 Date: Sun, 24 May 2009 10:46:18 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090524104618.0a62a935@scorpio> In-Reply-To: <23685866.post@talk.nabble.com> References: <20061208042111.GA709@host.my.domain> <23685866.post@talk.nabble.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.1; i386-portbld-freebsd6.4) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/JlAHiGRjWne3Grb2Fx1tY3F"; protocol="application/pgp-signature" Subject: Re: Canon printer and TurboPrint X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 May 2009 14:46:22 -0000 --Sig_/JlAHiGRjWne3Grb2Fx1tY3F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 23 May 2009 09:10:53 -0700 (PDT) "kristian.tenorio" wrote: > >Well, you have a Canon iP8500. I guess I can really help you. >I have tried TurboPrint on FreeBSD and it works. Here is what I did: > >0) I installed the Fedora linux compat package from my FreeBSD discs >1) I enabled the linux compatibility by adding as root the following >line to /etc/rc.conf >linux_enable=3D"YES" >2) I installed bash and symlinked it to /bin by running as root >cd /bin ; ln -s `which bash` >3) I installed ghostscript, you probably have it installed already >4) I mounted as root the linprocfs by running >mount -t linprocfs linprocfs /compat/linux/proc >5) I downloaded the .tgz Turboprint file, copied it to my home and >untarred it using >tar xzf MYTURBOPRINTFILE >where MYTURBOPRINTFILE is the name of the file you downloaded ending >in .tgz 6) I changed to the new folder and ran as root this, following >the on-screen instructions >brandelf -t 'Linux' setup >./setup >~~~TURBOPRINT SETUP PROGRAM: SOME QUESTIONS AND STUFF ON THE SCREEN~~~~ >cd /compat/linux/usr/bin >ls t* >7) With this last command you see some new programs installed from the >Turboprint setup like >tpprint, turboprint, etc. You simply change its brand, as root of >course by running on each of them >brandelf -t 'Linux' TURBOPRINT-BINARY >where TURBOPRINT-BINARY is the name of each executable file you think >is Turboprint's. >8) Now is time to do the script. Enter your text editor on your >session, copy the following >script AS IS and save it as tpr on your home directory. Notice the P=3D >and D=3D fields. > >#!/bin/bash >F=3D/compat/linux/usr/bin/tpprint >P=3DCanon_PIXMA_iP8500 >D=3D/dev/ulpt0 >if [ $1 ]; then S=3D$1 ; else S=3D- ; fi >gs -sDEVICE=3Dpcx24b -dBATCH -dNOPAUSE -dTextAlphaBits=3D4 >-dGraphicsAlphaBits=3D2 \ >-dMaxBitmap=3D10000000 -sOutputFile=3D$HOME/tpr.pcx $S >$F -d$P $HOME/tpr.pcx $HOME/tpr.job ; rm $HOME/tpr.pcx >cat $HOME/tpr.job >$D ; rm $HOME/tpr.job > >9) Make it executable and copy it to /usr/local/bin as root, something >like cd /home/YOUR_USERNAME >chmod 555 tpr >cp tpr /usr/local/bin > >Now, it is installed. When you want to print follow these steps. >Remember, you have to do this every time you turn your printer on. > >1) Turn on your printer >2) Run the following command as root >chmod 666 /dev/ulpt0 >This will allow every user in the system print. >3) Go to the File menu in your app and select Print as you'd always do >4) If it is KDE, click Advanced Options and select (generic) from the >menu. If it's not KDE look for printing through a command. The idea >here is to print using a command. >5) Look for the command field and type tpr >6) Click OK or whatever else in your program and it will print your job > >You can print also a PDF or PostScript file on your terminal (it all) >by running >tpr FILENAME > >It works on whatever printer. If you have another printer simply >change the P=3D field in the script. >For instance, I have it P=3DCanon_i250 since I have a Canon i250 USB >printer installed at home. >If it doesn't work maybe the device is wrong. If the /dev/ulpt0 >doesn't work, try /dev/unlpt0 if USB, >or /dev/lpt0 for Parallel's. That is set in the D=3D field. /dev/ulpt0 >should work for USB Printers. > >Send me an email. I really want to know whether it does work for you >or not. >Here it is, kristian.tenorio@gmail.com > > >Chandan Haldar wrote: >>=20 >> Couldn't fix it with the time I could spend... so still saving >> printouts for >> Windoz. :-( I know, I know, it's a shame... >>=20 >> On 12/8/06, a@zeos.net wrote: >>> >>> On Thu, Jun 29, 2006 at 08:59:51PM +0530, Chandan Haldar wrote: >>> > I'm searching for ways to print on a Canon PIXMA IP8500 >>> > from FreeBSD 6.0 Release. >>> > >>> > Has anyone tried to make the linux driver for PIXUS IP 8600 >>> > from canon.jp work for the PIXMA IP 8500 on FreeBSD? >>> > >>> > Has anyone tried the TurboPrint linux driver on FreeBSD? >>> > I need it bad enough to even buy this Euro 30 driver if >>> > it works on FreeBSD. >>> > >>> > It's incredibly annoying to have to boot Win just to print >>> > :-(. >>> > >>> > Chandan >>> >>> How do you print on your Canon PIXMA? >>> I have a Canon PIXMA iP 2000 and the same problem. >>> >>> Elisej Babenko Seriously, before I spent all that time and trouble, I would just use a Windows PC. Then again, that is just my 2=C2=A2. --=20 Jerry gesbbb@yahoo.com A friend of mine won't get a divorce, because he hates lawyers more than he hates his wife. --Sig_/JlAHiGRjWne3Grb2Fx1tY3F Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkoZXbsACgkQBvaKIJWWCO37xACfREyZdWtYC7uupopkqhKp0gEV SEYAn1NupLrKNoH0FWPuZhQuii4v9kVt =0qGn -----END PGP SIGNATURE----- --Sig_/JlAHiGRjWne3Grb2Fx1tY3F--