LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Help Setup Cups (https://www.linuxquestions.org/questions/slackware-14/help-setup-cups-600317/)

NightSky 11-17-2007 02:07 AM

Help Setup Cups
 
Trying to run in XFCE...
When I go to localhost:631 and add Canon i550 printer it installs successfully using canon bjc7100, which I read somehwere would work for this printer. When I run test print it starts my printer advancing paper into print postition and stops there:
Parallel_Port_1 "Printing page 1, 18%"

Printer settings in Xfce show Cups Xprint ver 4.41 highlighted and
BSD-LPR as options.
Shilo's post 'How I do it all' suggests removing LPR to avoid conflicts. How do I remove LPR?

I know: /usr/lib/cups/driver--is> empty

So I downloaded guidepixus550icups-2.2tar.gz, how do I open it to read? There is also a list of canon at: ftp://download.canon.jp/pub/driver/bj/linux/drivers

What do I have to do to install an .rpm if my driver is not in tar.gz
File: bjfilterpixus550i-2.2-2.i386.rpm
Where do I install printer driver to?

My printer is still blinking but its not printing. Thanks

Nylex 11-17-2007 03:16 AM

Quote:

Originally Posted by NightSky (Post 2961768)
What do I have to do to install an .rpm if my driver is not in tar.gz

Either just install it using rpm (Slackware does come with it, it's in /ap, though usually installed unless you say otherwise) or use rpm2tgz (which may or may not be installed and can be found in /a if it isn't) to convert it to a .tgz and install that.

H_TeXMeX_H 11-17-2007 05:02 AM

This is your printer is it not ?:
http://openprinting.org/show_printer...num=Canon-i550

Try using the recommended CUPS BJC8200 driver or gutenprint.

NightSky 11-17-2007 09:30 PM

BJC 8200 yielded similar results to that with BJC7100: Parallel_Port_1 "Printing page 1, 1%" The paper feed starts and actual printing never occurs as did before. I am reading thru 'Printing background and tutorial' make sure my setup is correct before I actually install anything. Thanks much and will let you know the final results if I can get the printer working.

SqdnGuns 11-17-2007 09:49 PM

Quote:

Originally Posted by NightSky (Post 2961768)
What do I have to do to install an .rpm if my driver is not in tar.gz
File: bjfilterpixus550i-2.2-2.i386.rpm
Where do I install printer driver to?


rpm -ihv --nodeps bjfilterpixus550i-2.2-2.i386.rpm

NightSky 11-18-2007 03:10 AM

Need installing tar.gz instructions please
 
Found these 3 files for i550:
bjfilter-2.2-1.tar.gz
bjcups-2.2-1.tar.gz - ppd file?
bjcupsmon-2.2-1.tar.gz
Do all three of these files get installed? Need instructions on howto install the above...

Do I have to designate the directories to install to? What directories do I install the above packages? Are these source files?

NightSky 11-21-2007 03:39 PM

Ok, tried to install bjcups-2.2-1.tar.gz, I unpacked it in a folder in my /home/user dirctory,followed these vague install directions: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 .
Now I have a bunch of folders in: ../bjcups-2.2-1 -What do I do now? BTW my printer just feeds a sheet of paper through my printer every time I start Slack or shut it down??? Thanks

Nylex 11-22-2007 12:53 AM

I have no idea what the problem is, but please stop creating new threads for what's essentially the same problem.

NightSky 11-22-2007 04:37 PM

What type of packages are these and which install process should I use?
 
Quote:

Originally Posted by Nylex (Post 2967212)
I have no idea what the problem is, but please stop creating new threads for what's essentially the same problem.

Problem is that I had been trying to find out what type of install packages
the following are for 3days and thought perhaps my title was not descriptive enough:

bjfilter-2.2-1.tar.gz
bjcups-2.2-1.tar.gz - ppd file?
bjcupsmon-2.2-1.tar.gz

How do I install them, Do I use kernel compiling instructions? Or do I use
package install instructions? Are these an "autoconfig" type tarball, or is it a slackware package?

In one of the posts adviced to read Slackware12 Chapter18 and in another post jschiwal' most helpfully, suggested I run "make" as user and "sudo make install", and run "make clean" 1st if I tried installing unsuccessfully before. Thanks

Alien_Hominid 11-22-2007 10:46 PM

ppd file is a postscript printer driver. I use hp ppd driver to print my documents.
If I run:
Code:

slocate *.ppd
I find those in /usr/share/cups/model

There should be some documentation included with those canon drivers. If not, check:
http://127.0.0.1:631/documentation.html Maybe you'll find smth.

EDIT: Now I know what the other file is. If you printer does not support ppd (but, apparently it does), cups can use filter to send postscript data stream through it (so even non-postscript printers can print postscript data). bjcupsmon is obviously some sort of monitor. You need to check docs for this.

NightSky 11-26-2007 03:49 AM

Alien Hominid, the link: http://127.0.0.1:631/documentation.html doesn't work. Documentation files in bjcups provides little vague install information regarding install process and dependencies info. But what I need is basic install instructions un tar, install vs. configure, what do I configure and whether or not I have to manually put files,folders in a specific directory? Do i have to use source code and why can't I just use install or upgrade? Too many things I don't know to just untar these packages.

Alien_Hominid 11-26-2007 03:53 AM

Is cups actually running and is it started at start (it should be executable)?

Code:

ls -l /etc/rc.d
You can't actually install and upgrade because tar.gz is an archive an not a Slackware package (tgz). Btw, not all tgz archives are Slackware packages.

Alien_Hominid 11-26-2007 04:02 AM

http://en.wikipedia.org/wiki/Common_...stem#Scheduler

NightSky 11-29-2007 02:12 AM

Alien_Hominid bellow is what i got when I entered the code you suggested.
Code:

:
ls -l /etc/rc.d
bash-3.1$ ls -l /etc/rc.d
total 324
drwxr-xr-x 2 root root  4096 2007-05-14 21:46 init.d
lrwxrwxrwx 1 root root    4 2007-09-12 12:23 rc.0 -> rc.6
-rwxr-xr-x 1 root root  1282 2007-03-26 20:12 rc.4
-rwxr-xr-x 1 root root  7358 2007-06-12 23:27 rc.6
-rwxr-xr-x 1 root root  2322 2007-05-02 16:29 rc.K
-rwxr-xr-x 1 root root  9388 2007-06-11 20:32 rc.M
-rwxr-xr-x 1 root root 13645 2007-06-27 20:50 rc.S
-rwxr-xr-x 1 root root  466 2004-11-05 02:20 rc.acpid
-rwxr-xr-x 1 root root  1614 2007-06-05 19:04 rc.alsa
-rw-r--r-- 1 root root  1032 2003-02-01 21:47 rc.atalk
-rw-r--r-- 1 root root  4370 2007-06-08 00:02 rc.bind
-rw-r--r-- 1 root root  3438 2007-05-19 01:04 rc.bluetooth
-rw-r--r-- 1 root root  831 2007-05-19 01:04 rc.bluetooth.conf
-rwxr-xr-x 1 root root  4548 2007-05-09 16:28 rc.cups
-rw-r--r-- 1 root root  512 2007-04-29 17:29 rc.dnsmasq
-rwxr-xr-x 1 root root  119 2004-05-29 23:19 rc.font.new
-rwxr-xr-x 1 root root  1156 2007-09-12 12:43 rc.gpm
-rwxr-xr-x 1 root root  906 2007-06-27 19:48 rc.hald
-rw-r--r-- 1 root root  4777 2007-06-10 00:14 rc.hplip
-rw-r--r-- 1 root root  703 2007-07-01 18:12 rc.httpd
-rwxr-xr-x 1 root root  9237 2007-06-30 21:04 rc.inet1
-rw-r--r-- 1 root root  3556 2007-09-12 12:46 rc.inet1.conf
-rwxr-xr-x 1 root root  4477 2006-09-20 21:44 rc.inet2
-rwxr-xr-x 1 root root  497 2003-09-11 22:27 rc.inetd
-rw-r--r-- 1 root root  1924 2003-09-13 18:10 rc.ip_forward
-rwxr-xr-x 1 root root  272 2006-08-11 21:07 rc.local
-rwxr-xr-x 1 root root  1560 2007-05-30 21:42 rc.messagebus
lrwxrwxrwx 1 root root    23 2007-09-12 12:23 rc.modules -> rc.modules-2.6.21.5-smp
-rwxr-xr-x 1 root root 28472 2007-06-19 15:20 rc.modules-2.6.21.5
-rwxr-xr-x 1 root root 28472 2007-06-19 14:56 rc.modules-2.6.21.5-smp
-rw-r--r-- 1 root root  2300 2007-03-23 23:52 rc.mysqld
-rwxr-xr-x 1 root root  2444 2007-05-31 16:21 rc.nfsd
-rw-r--r-- 1 root root  561 2007-05-07 00:15 rc.ntpd
-rw-r--r-- 1 root root  1722 2007-03-16 16:09 rc.pcmcia
-rw-r--r-- 1 root root  1402 2007-05-17 17:53 rc.rpc
-rw-r--r-- 1 root root  791 2007-06-26 22:36 rc.samba
-rw-r--r-- 1 root root  1169 2006-05-27 15:24 rc.saslauthd
-rwxr-xr-x 1 root root  967 2006-07-31 22:54 rc.scanluns
-rw-r--r-- 1 root root  687 2002-06-04 16:09 rc.sendmail
-rw-r--r-- 1 root root  2895 2007-06-24 02:33 rc.serial
-rw-r--r-- 1 root root  895 2007-06-18 22:51 rc.snmpd
-rwxr-xr-x 1 root root  1477 2007-04-03 12:36 rc.sshd
-rwxr-xr-x 1 root root  981 2007-04-09 18:10 rc.syslog
-rwxr-xr-x 1 root root  1740 1999-09-11 15:48 rc.sysvinit
-rwxr-xr-x 1 root root  4195 2007-06-24 19:35 rc.udev
-rwxr-xr-x 1 root root 11974 2007-05-19 00:44 rc.wireless
-rw------- 1 root root  7320 2007-05-19 00:44 rc.wireless.conf
-rwxr-xr-x 1 root root  2323 2005-07-31 18:56 rc.yp
drwxr-xr-x 2 root root  4096 2007-05-14 21:46 rc0.d
drwxr-xr-x 2 root root  4096 2007-05-14 21:46 rc1.d
drwxr-xr-x 2 root root  4096 2007-05-14 21:46 rc2.d
drwxr-xr-x 2 root root  4096 2007-05-14 21:46 rc3.d
drwxr-xr-x 2 root root  4096 2007-05-14 21:46 rc4.d
drwxr-xr-x 2 root root  4096 2007-05-14 21:46 rc5.d
drwxr-xr-x 2 root root  4096 2007-05-14 21:46 rc6.d

I don't know what the above output signifies.

The following I found in: /usr/share/cups/model/C
pcl-550.ppd.gz
bjc-7100.ppd.gz
bjc-8200.ppd.gz
Is pcl-550.ppd.gz related to canon i550?

Do I have to remove lprng because it may be causing a conflict? If so how do I remove it?

Alien_Hominid 11-29-2007 06:10 AM

I'm trying to understand what you've done but it's hard.

guidepixus550icups-2.2tar.gz - is a guide, how to make your printer working in linux.

To extract it from terminal use:
Code:

tar -xzf your_archive.tar.gz
or use any archiver frontend.

The problem that it is Japanese and I can't read the Japanese. I checked canon USA and Europe sites, but in the USA site I can't find i550 at all, in Europe I can't find a link to linux driver.

I'll download other files, which you mentioned and check, what do they really do.


The above output signifies that cups is running at startup, because:
Code:

-rwxr-xr-x 1 root root  4548 2007-05-09 16:28 rc.cups
shows that cups is executable (has x flags). When you want to make some service (in /etc/rc.d/) executable, you need to chmod +x service_name, to disable the service startup, you need to chmod -x. ls -l lists files and their permissions.

Because cups is running, you should be able to connect to localhost:631 and read the documentation.


All times are GMT -5. The time now is 04:38 PM.