LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
Search this Thread
Old 01-04-2008, 05:08 AM   #46
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50

Hi tobyl, Yes, I followed your instructions to install the cups 1.3.4 My loopback info is up and running. I changed the
lpoptions -d according to lpstat -a (output) and tried every combination of the suggested gutenprint drivers. #chmod 666 lp0 and /etc/rc.d/rc.cups restart. Last cups response is "Not Allowed to Print". I am not going to get a printer up on in xfce until i can find out exactly what all printer related config files have to look like or I can get src2pkg to create installable driver and filter packages. Thanks
 
Old 01-04-2008, 12:55 PM   #47
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 51
Nightsky,

Good point, I should have given you my cupsd.conf sooner.
I have emailed it to you (using linuxquestions.org anonymous system) as it is too long to post here.

If you reply, I will know your email address. Then I can send the file as an attachment which will be easier for you to use.
It is so long because kde messed with it, but it works for me (in xfce as well as kde), maybe for you too! I didn't mention the kde configurator for cups, firstly because you have only xfce, secondly because it shouldn't be necessary, but anything is worth a try now.

tobyl
 
Old 01-04-2008, 02:20 PM   #48
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
tobyl, don't know how significant following info is under xfce desktop menu: when I click on System, 4 items appear: bulk rename, Cups Print Manager, Thunar file manager, and Terminal shortcuts. When I click on Cups Print Manager, I get
SeaMonkey 1.1.2 and Cups Common Unix Printing System 1.2.11 despite having upgraded to cups 1.3 which is what I access with Firefox.
Got your config file and it looks like you just used all the defaults, didn't you have to change anything? Thanks much
 
Old 01-04-2008, 05:01 PM   #49
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 51
Nightsky,

I think xfce is remembering versions from when it was installed. I can't remember how to update that right now.
There are changes in the cupsd.conf, see email...

tobyl
 
Old 01-10-2008, 03:40 PM   #50
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
tobyl, Do you have broadband service provider and does it use a service provider firewall?
Maybe broadband service provider's default firewall interfere with Cups setup and
function? Is this possible?
Unfortunately sbcglobal now att does not provide tech support for linux users. Will google documentation.

Last edited by NightSky; 01-10-2008 at 03:48 PM.
 
Old 01-10-2008, 04:47 PM   #51
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 51
Nightsky,
Yes, I have a broadband service provider. They hardly know what linux is...
It's not relevant for your locally run services, like cups though. You could theoretically block port 127.0.0.1:631 accidentally if you installed your own firewall and misconfigured it, but I really don't think this is the problem, if you have been able to access the Cups Print Manager, which I know you have.

Are you able to get into the Cups Print Manager now, when you enter 127.0.0.1:631 or localhost:631 ?
If so, and you click on 'Manage Printers', what do you get? Here's mine:


Description: EPSON Stylus Color 740
Location: local
Printer Driver: Epson Stylus Color 740 - CUPS+Gutenprint v5.0.1
Printer State: idle, accepting jobs, published.
Device URI: epson:/dev/lp0

tobyl

edit: also, at the command line enter:
xfprint4-manager

and tell me what you get...

also, check that you have selected cups in the printer settings of xfce Settings Manager

Last edited by tobyl; 01-10-2008 at 05:10 PM. Reason: um...
 
Old 01-11-2008, 04:53 PM   #52
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
hi tobyl, No I didn't in stall my own firewall, there is a default one associated with my broadband modem. Anyway I had all the same input on Cups Printer as you but now I lost access to print manager again. I am just going to try to unistall cups with your previous instructions and guttenprint then reinstall.

I will put this thread on hold, while I read through Slackware Unleashed for Slackware7, see if I can learn how to use configuration files and scripts.
It's way too much time to try figure stuff without more basic knowledge I am obviously missing. Thanks for all your help. I'll be posting as I work with the book. You are great!; as is the spirit of linux
 
Old 01-11-2008, 05:56 PM   #53
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
tobyl, removed the new cups and related pkgs but still have: usr/share/cups/model/gutenprint5.0 ---
Should I delete this cups directory also before reinstall? Maybe i should just reinstall 1.2 ver of cups? Thanks
 
Old 01-11-2008, 06:12 PM   #54
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 51
Nightsky,
The existence of that directory won't do any harm.
If you go back to an earlier version of cups this directory will be ignored. You can delete it too if you want.
 
Old 01-11-2008, 08:53 PM   #55
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
tobyl, ok I'll try again w/gutenprint. Is there an optimal sequence for installing cups, foomatic, gutenprint? Thanks
 
Old 01-12-2008, 01:06 AM   #56
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
tobyl, I set the device to LPT #1. When I try to print test > Error: Not allowed to print

Canoni550
Description: Canon Bubble Jet
Location: Local
Printer Driver: Canon BJC-8200 - CUPS+Gutenprint v5.0.1
Printer State: idle, accepting jobs, published.
Device URI: parallel:/dev/lp0
 
Old 01-12-2008, 01:17 AM   #57
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
tobyl, set device to LPT#1> test print> Error: Not allowed to print.

Note: lp:x:4:7:lp:/var/spool/lpd:/bin/false ?

Note: Desperate I clicked on XFCE MENU> System>Manage Printing ---SeaMonkey opens Home CUPS 1.2.11 ---I clicked on the Printer ICON - options popped up,
chose grey scale and it printed the CUPS home page??? Imaging that!

Note: [CODE]$lp /home/acabar/Docs/test
lp: Error - no default destination available.
............
$lpstat -a
Canoni550 accepting requests since Sat 12 Jan 2008 01:25:43 AM CST
............

$lpoptions -d Canoni550
media=Letter finishings=3 copies=1 job-hold-until=no-hold job-priority=50 number-up=1 auth-info-required=none job-sheets=none,none printer-info='Canon Bubble Jet' printer-is-accepting-jobs=1 printer-is-shared=1 printer-location=Local printer-make-and-model='Canon BJC-8200 - CUPS+Gutenprint v5.0.1' printer-state=3 printer-state-change-time=1200122743 printer-state-reasons=none printer-type=45068
..............

$lp /home/acabar/Docs/test
request id is Canoni550-23 (1 file(s))
Printed- Ugly old fashion typewriter fonts but it printed.

Note: Printed from within xfce /home/nightsky /Docs

Note: Printed document from Open Office! Better Fonts

Tobyl, we have succeeded!!! It seems. Wonder if I upgrade SeaMonkey as it is recommended, Cups Home Page will change to 1.3.4. I like the printer option in SeaMonkey.
Also can CUPS printing speed be improved. My printer is working at 10% spd capacity. lol But yes it is printing!

Canoni550
Description: Canon Bubble Jet
Location: Local
Printer Driver: Canon BJC-8200 - CUPS+Gutenprint v5.0.1
Printer State: idle, accepting jobs, published.
Device URI: parallel:/dev/lp0
Code:
~$xfprint4 > GUI popup Printer Manager: Canon Bubble Jet idle

Last edited by NightSky; 01-12-2008 at 03:00 AM.
 
Old 01-12-2008, 07:52 AM   #58
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 51
Woohoo!

Congratulations. I guess you will have to experiment with the settings to get it all working optimally.
I am puzzled as to why it shows cups version 1.2.11, as we upgraded it I thought. Have a look in /var/log/packages
and see which version(s) of cups is shown there.

I am sure the speed thing can be resolved, I just haven't figured out how just yet. Remember when we changed the parallel port in the bios to ECP? Well you might want to try the EPP setting and see if it makes any difference. Also check if there are any other options there that may affect the parallel port.

The fonts can be improved. One thing that many people do is import some micro$oft truetype core fonts. These are free to download, and gives you some more fonts to choose from. The bitsteam/dejavu fonts are very nice too.

There is another trick as well, which involves modifying the freetype2 library. This makes truetype fonts look much better, although there is a licensing issue which stops linux distros from distributing freetype with this modification enabled.
Google for "freetype bytecode interpreter" or seach the forums here. I can help you with that if you want to pursue it.
First thing though, is just to play around with different fonts. Some look better printed than on the screen.

Anyway, well done!

tobyl
 
1 members found this post helpful.
Old 01-12-2008, 01:48 PM   #59
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Yahoooo, tobyl we did it Not quite sure how though! It really helped to be able to get Cups to allow the identification of Printer and still accept different driver/model name. Maybe installing the pixus canoni550. LOL

That SeaMonkey 1.1.2 but if it wasn't for it I would not have known Cups was close to working.
Went to 'Preferences' switched history option to 1 day. Set 'Tabbing Navigation' and 'Cleared Toolbar History' this updated 'Manage Printing' to CUPS 1.3.4. Yeah!!

Thanks a bunch tobyl, on to the next project After I print out all the steps and commands from this thread. So I can figure out
how we setup Cups. See u later.

Last edited by NightSky; 01-12-2008 at 01:56 PM. Reason: Canoni550 works with CUPS 1.34 in Slackware12 xfce
 
Old 01-12-2008, 04:54 PM   #60
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Don't forget to post your solution for the other people having the same problem.

GJ, Tobyl!

Last edited by Alien_Hominid; 01-13-2008 at 01:05 AM.
 
  


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


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 09:30 AM.

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