LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-29-2007, 07:21 AM   #16
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53

Did you read there:

http://www.linux-foundation.org/en/O...SDocumentation


Btw, i550 and pixus550i are the same printers or not?

Last edited by Alien_Hominid; 11-29-2007 at 07:30 AM.
 
Old 11-29-2007, 11:41 AM   #17
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
Yes, actually I think they are:
http://www.usa.canon.com/consumer/co...2&modelid=8046
http://cweb.canon.jp/e-support/qasea...226060387.html
 
Old 11-29-2007, 05:43 PM   #18
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Alien_Hominid ,
I too used the code u mentioned to look at the guidepixus550icups-2.2tar.gz, I don't read Japanese either,lolol.
It was recommended I use the bjc-7100 or 8200 and I had gone to localhost:631 where I added my printer tried the recommended alternatives but print test only made printer start paper feed.
Recently I found bjc-7100.ppd.gz; bjc-8200.ppd.gz; and pcl-550.ppd.gz in /usr/share/cups/model/C I did not have /C folder there before.

For these files to work do they have to be gunzip?

Should I put the newly generated canonpixus550i.ppd in this directory or do I have to do something with Makefile first?

Then at slackware startup or shutdown the paper would feed through printer thats it.

I followed some posts to the Japanese and the European sites, US Canon doesn't support linux to my surprise. Forum posts led me to Pixma550i files. Someone said Drivers were named Pixma in Japan but they work for the Canon i550.

So I
Code:
:tar -xzf your_archive.tar.gz bjcups-2.2-1.tar.gz (in /home/usrname/Myprint)
README:
bjcups          --- CUPS fornt-end GUI for Canon Bubble Jet Printer.
pstocanonbj     --- CUPS filter for Canon Bubble Jet Printer.

DESCRIPTION
    The "bjcups" is the CUPS front-end GUI program for Canon Bubble Jet Printer.
    You can print the file by using the "lpr" command on the command line, but
    if you want to set several printing options, the "bjcups" command will help
    you setting those options quite easily. The only thing you have to do on
    the command line is as following;

        bjcups  -P PIXUS550i sample.jpg

        * You can ommit the printer option "-P PIXUS550i", and the default
          printer will be used.

    The GUI is shown on the screen, and you can choose all options on it.
    After choosing the options, press the [OK] button to start the printing.


    The "pstocanonbj" is the CUPS filter program converting the Postscript
    file to the Canon Bubble Jet Printer command stream. This filter call the
    Ghostscript to convert the Postscript data into the image data, and also
    call the Bubble Jet Print Filter for Linux to create the command stream.

REQUIREMENTS
    You need the following libraries.
    * libcups               (1.1.x or above)
    * libpopt               (1.6.x or above)

    And you need the following programs.
    * CUPS                  (1.1.14 or above)
    * Ghostscript           (5.50   or above)
    * bjfilter command set. (2.2    or above)
       e.g.) bjfilterpixsus550i-2.2-0.i386.rpm

      "bjfilter command set" is provided by Canon INC.

INSTALLATION
    See the file "INSTALL"
To build and install bjcups and pstocanonbj:

  1) Building misc libraries.
        cd libs
        make
        make install
        cd ..

  2) Building "bjcups" and "pstocanonbj".
        make
        make install

I followed install steps which generated:

bjcups: executable, bjcups.c - C source code, bjcups.h - C header, bjcups.0 - object code, getipc.C - C source code, getipc.0 - object code, Makefile.

Filter: canonopt.c - C source code, canonopt.h - C header, Makefile, pstocanonbj.c.

Include: cncl folder; misc folder

libs: 
bjexec folder: bjexec.c,bjexec.h, bjexec.0, libbjexec.a, makefile; 
paramlist folder: libparamlist.a, Makefile, paramlist.c, paramlist.h, paramlist.0

ppd: canonpixus550i.ppd, canonpixus850i.ppd, canonpixus950i.ppd, Makefile
Checked your link and whether this sounds stupid or not it looks like blue prints to building a printer-> lol OOps that was the first link you posted,

Second link you posted was my starting point before I downloaded the Pixma550i packages. I printed out the sites instructions and been trying to apply them to pixus-.ppd folder.

According to OpenPrinting I should put .ppd in /usr/share/cups/model/... but I am afraid to because I don't know if I have to perform some action in the generated pixus- bjc folders in /home directory.

Guess I will untar all the other packages and see if I can find documentation regarding where the folders are supposed to go.

Last edited by NightSky; 11-30-2007 at 02:13 AM. Reason: Lesson don't buy printers not listed in Linux supported printing systems;)
 
Old 11-30-2007, 02:15 AM   #19
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Which link is about blueprints? Filter is not a part of hardware, but a part of software in this case.

There are two good sources: localhost:631, then help and reading how to configure cups and that link to openprinting.

I would try to copy that ppd file into model and then use cups web interface to configure that printer. At anytime, you can remove it and reconfigure your printer again.

Because pixus550i and i550 are the same ones (probably), I can see that you can use about 5 different drivers with it:
http://www.openprinting.org/show_pri...non-_pixus550i (those mentioned plus bjc8200 one). Because these bjc do not work somehow, you need to find out what type of drivers are others. That's why I gave you a link which explains all available drivers to cups.

Last edited by Alien_Hominid; 11-30-2007 at 02:16 AM.
 
Old 11-30-2007, 03:11 AM   #20
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Alien_Hominid, Understand filter is software. The link I found confusing is: http://en.wikipedia.org/wiki/Common_...stem#Scheduler ; because referrences to gimp, ghostscript, printer drivers all of which seem to be in software already installed in slackware12, so maybe I have software but its not installed? Ok, I will go back to localhost:631 and keep reading help, believe me I have a folder full of bookmarked linux printer sites including ones you gave me.

Question, in /usr/share/cups/model/c do the .ppd.gz files have to be gunzip? Thank you
 
Old 11-30-2007, 08:27 AM   #21
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
PPD file's installation is explained in the openprinting (linux-foundation) link.
Quote:
2. Install a PPD file.

CUPS requires a PPD file to define how it will use the printer and driver (if any). PPD files come from several sources, be sure you get yours from the right place:

If you have a PostScript printer
Obtain the PPD file from your printer's vendor. Typically it will be carefully hidden somewhere in your vendor's "driver" for Windows. We also distribute some PPD files here. You do not need a driver (Step 1), just the PPD file.
If you do not have a PostScript printer
There are two sources for non-PostScript printer PPDs under CUPS:

If your printer uses a CUPS Raster driver (Gimp-Print for CUPS, samsung's lpp kit, etc)
Use the PPD file that came with the driver. Gimp-print, for example, will generate and install a set of PPD files at compile time.
If you have any other style of driver
Obtain a PPD file from this website for the driver you want to use. Look for "download PPD" links near the driver names on your printer's page. If a driver has no "download PPD" link, there is insufficient data to generate a PPD for the entry; in that case, see the text of the driver entry.

Save the PPD file in the directory /usr/share/cups/model/ (this may be a different location for you, but it will be called "something/cups/model/"). The PPD file does not need to be executable, but it should be world-readable and should have the file name extension ".ppd".
Wikipedia link was to show that the cups has a web server, which you can connect to and read documentation.
 
Old 12-09-2007, 11:08 PM   #22
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Tobyl, I am taking you up on that printer offer..
.ppd files are all gzip and adding pixma550i.ppd file did nothing in /usr/share/cups/model/C...directory where documentation describes it belongs.
Since, I have started from scratch with a fresh install that starts cups during boot as suggested.
How do I setup log to track errors? There must be a printer log that shows what is wrong, like when you startx and there is something wrong in xorg.conf?
Tobyl (I tried runlevel4 but did not like not being able to logout of GUI back into command line. Messed broke the setup installing sound. Reinstalled and went back to run level 3. Not sure I like Lilo. Sure don't like that red square login box. My first install gave me dark blue letters against a black background?? This time its back to normal white on black)..lol

Last edited by NightSky; 12-09-2007 at 11:11 PM.
 
Old 12-10-2007, 12:42 PM   #23
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 48
Nightsky,

First I must warn you that I don't have a canon printer, nor am I an expert in printing, so I can't be sure of success, but we can give it a shot.

First thing, please confirm if you are using Slackware 10.2 or 12.0 as I got the idea you were using 12.0 but under your name it says 10.2. It makes a difference, because things have changed a bit since 10.2.

I think the .ppd file goes in /etc/cups/ppd. I certainly find my .ppd file there. (in my case an old epson).
I have in /usr/share/cups/model/ some .ppd files, and a directory gutenprint/5.0/ which contains a lot of *.ppd.gz files, so I am hazarding a guess that the printer driver install process extracts the appropriate driver from here (if it exists) and puts it in /etc/cups/ppd. So take a look in those places and tell me what you have...

Anyway I think gutenprint is the best option to start with.

Look in /var/log/cups for error logs.

Another thing, do you use a USB or parallel cable, and are you in a position to try the other option? I think your printer supports both types. USB is supposed to be faster, but I use parallel, and find it more reliable.

When it feeds the paper a bit and then stops, it sounds to me like there is a problem with bi-directional communication. If you have a parallel cable, make sure you have the right bios settings for the parallel port. i know you said it works in windows, but the windows driver may work differently.

I have the red box in lilo. Its not pretty I agree, but I don't spend a lot of time looking at it. That is probably a topic of its own so I wont go into that right now.

tobyl
 
1 members found this post helpful.
Old 12-10-2007, 01:07 PM   #24
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
You can easily change lilo boot image: http://www.linuxquestions.org/questi...screen-603370/

There is also lilo-splash, like grub-splash but for lilo.

Last edited by Alien_Hominid; 12-10-2007 at 01:09 PM.
 
Old 12-10-2007, 06:12 PM   #25
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Hi Tobyl, Alien_hominid, thought I had changed my profile, Slackware12, Xfce4.4.1 -Canoni550, standard parallel connection-thinking of upgrading with bug fix ver 4.4.2 by rworkman, just installed his open office slackpkg 2.3.1 no problem.

At boot up, canoni550 is detected on parport0 I believe, lines scroll by so fast, u can lose your eyeballs trying to read them.
What does parport0 correspond to in slackware12? lol

This is what I did, at localhost:631 added printer use the suggested bjc8200,
in the .ppd space I put the path to it corresponding .gz file. Also added user.

This is what Cups Printer Page looks like:
Make and Model: CANON BJC 8200 - CUPS+Gimp-Print v4.2.7

Looked at ErrorLog on cups page: Listening to 127.0.0.1:631 on fd 0...
I [08/Dec/2007:11:35:21 -0600] Listening to /var/run/cups/cups.sock on fd 2...
E [08/Dec/2007:11:35:21 -0600] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported

Code:
/var/log/cups
I [08/Dec/2007:11:35:21 -0600] Listening to 127.0.0.1:631 (IPv4)
I [08/Dec/2007:11:35:21 -0600] Listening to /var/run/cups/cups.sock (Domain)
I [08/Dec/2007:11:35:21 -0600] Loaded configuration file "/etc/cups/cupsd.conf"
I [08/Dec/2007:11:35:21 -0600] Using default TempDir of /var/spool/cups/tmp...
I [08/Dec/2007:11:35:21 -0600] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [08/Dec/2007:11:35:21 -0600] Configured for up to 100 clients.
I [08/Dec/2007:11:35:21 -0600] Allowing up to 100 client connections per host.
I [08/Dec/2007:11:35:21 -0600] Using policy "default" as the default!
I [08/Dec/2007:11:35:21 -0600] Full reload is required.
I [08/Dec/2007:11:35:21 -0600] Loaded MIME database from '/etc/cups': 34 types, 38 filters...
I [08/Dec/2007:11:35:21 -0600] Full reload complete.
I [08/Dec/2007:11:35:21 -0600] Listening to 127.0.0.1:631 on fd 0...
I [08/Dec/2007:11:35:21 -0600] Listening to /var/run/cups/cups.sock on fd 2...
E [08/Dec/2007:11:35:21 -0600] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
I [08/Dec/2007:14:48:11 -0600] Scheduler shutting down normally.
I [08/Dec/2007:14:48:11 -0600] Saving remote.cache...
I [08/Dec/2007:14:48:11 -0600] Saving job cache file "/var/cache/cups/job.cache"...
Odd fd0 and fd2 ??? aren't those floppy designations? I do have 2 floppy drives.
What is ACLs ?
What are Classes?

Last edited by NightSky; 12-10-2007 at 06:37 PM.
 
Old 12-11-2007, 02:54 PM   #26
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 48
Hi Nightsky,

You are right fd0 is usually a floppy drive, but in this case fd means file descriptor.

Quote:
What does parport0 correspond to in slackware12?
lpt1

Quote:
What is ACLs ?
this is Access Control List
I think "Unable to set ACLs on root certificate" occurs when the printer is not detected, (eg not turned on)
Dont worry about this for now.

Quote:
What are Classes?
I'm not too sure about this, but I have no classes set and it doesn't stop me printing, I think it doesn't matter if you only have a local printer. Lets leave that for now as well.

please go to localhost:631 and delete any printers

then go here and follow instructions

http://localhost:631/help/overview.html

edit: I think bjc7100 is the driver to go for, but it sure is confusing!

if that still doesn't work, read on...

Quote:
This is what I did, at localhost:631 added printer use the suggested bjc8200,
in the .ppd space I put the path to it corresponding .gz file.
I *think* this is wrong. If you can, choose your printer from the model selector and let cups locate the PPD file.
Note that it is an either/or option on this page.
If that doesn't work, then you need to select a ppd file without the .gz extension. I am surprised if cups doesn't sort this out for you, but you can do it yourself...copy the file somewhere (in case you need it again),then as root

gunzip filename.ppd.gz
chmod 644 filename.ppd

that should extract it to the uncompressed .ppd file, and the chmod will make sure it is readable to all.
then put your path to the .ppd file

please answer my question about the bios settings. You may have to fish around in the bios, but the parallel port settings are in there... select ECP if it is available or tell me what options there are....

I am using slackware current. The printing stuff is changed from the stock 12.0. Gimp-print has had a name change to gutenprint. If we have no joy with your current set up, we have the option to upgrade to gutenprint, but we will exhaust the options on your existing system first.

tobyl

Last edited by tobyl; 12-11-2007 at 03:11 PM. Reason: .
 
Old 12-12-2007, 04:35 PM   #27
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Tobyl,
I did got into BIOS Setting and changed parallel port to ECP. What else do I need to know about BIOS settings for linux?
Canon shows up as an option in cups, just not my printer, so I tried 7100, Test Print puts out a black line along the bottom or top of page.

Last edited by NightSky; 12-12-2007 at 07:04 PM.
 
Old 12-12-2007, 06:16 PM   #28
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 48
Nightsky,

The xfce bugfix is undoubtedly worthwhile, but I don't think it will impact on the printing issue. I believe it is a security fix relating to the terminal.

As for bios settings, it is usually best to leave well alone unless there is a problem to fix. ECP is the best setting for parallel printers, and should work ok on your printer. It makes use of DMA, which is faster, and works in linux. Of course I may be proved wrong...

tobyl

edit: in current, cups is upgraded to a newer version, and gimp-print is upgraded (and renamed to gutenprint), but we should stick to the stock versions for slack 12.0 until we have exhausted all the other options. It would not be irreversible to try out however, I think four packages are involved,
cups-1.3.4-i486-1.tgz
ghostscript-8.61-i486-1.tgz
gutenprint-5.0.1-i486-2.tgz
foomatic-filters-3.0_20070919-i486-1.tgz

I will show you what to do if we come to that...

Last edited by tobyl; 12-12-2007 at 06:24 PM.
 
Old 12-15-2007, 12:25 AM   #29
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Tobyl, Printer still not working. Think I found what is throwing off the printer config. I confused "Network Settings" as describe by
Code:
cat printcap:

# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file.  All changes to this file
# will be lost.
Parallel_Port_1|CANON:rm=NASCI.gateway.2wire:rp=Parallel_Port_1:
Can you help me get this info right? Thanks

Last edited by NightSky; 12-15-2007 at 01:51 AM. Reason: Happy Holidays
 
Old 12-15-2007, 04:13 AM   #30
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 48
Nightsky,

Was there an error message that led you to this line of enquiry?

From your cups log: Listening to 127.0.0.1:631

so there shouldn't be a network issue for a local printer

NASCI.gateway.2wire confuses me though. Is that your hostname?

what have you got in the files
/etc/hosts
/etc/HOSTNAME

(hope we aren't barking up the wrong tree here)

tobyl.
 
  


Reply

Tags
local, printer installation, slackware12, xfce


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS setup s26c.sayan Linux - Software 2 07-12-2007 04:53 AM
Setup secure CUPS on network cwin Linux - Software 0 04-11-2005 12:11 PM
How to setup a printer in cups? cheater1034 Linux - Hardware 3 08-26-2004 05:21 PM
Can't setup Printer--CUPS pk108 Fedora 1 12-17-2003 03:36 PM
barricade cups setup issue kntgtaid Linux - Hardware 2 07-25-2003 09:42 AM


All times are GMT -5. The time now is 07:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration