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-12-2014, 12:07 AM   #1
rubankumars
Member
 
Registered: Oct 2010
Location: india
Distribution: debian 8,debian 9,slackware 14.2
Posts: 158

Rep: Reputation: 12
Install hp 1020 in slackware 14.0 using foo2zjs


I tried to install foo2zjs
on issuing make it came like this"
[QUOTE]cc -O2 -Wall -o foo2zjs foo2zjs.o jbig.o jbig_ar.o
/usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: cannot open output file f
collect2: error: ld returned 1 exit status
make: *** [foo2zjs] Error 1

/QUOTE]
How do i fix this?
I have hp 1020 plus printer.I want to make this work in my system in slackware.The printer works well in ubuntu 12.04 10.04.
 
Old 01-12-2014, 09:16 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,334

Rep: Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922
The hplip package that comes with Slackware should support this printer. See this link

-->http://hplipopensource.com/hplip-web.../combined.html

Note, you have to install the driver 'plugin' for the printer to work. See the above link, if you follow the information, it leads you to this link:

-->http://hplipopensource.com/node/309

It describes how to install the plugin.

I downloaded the foo2zjs, and the make on my Slack 14-64 system worked fine. Did you do a full install?
 
1 members found this post helpful.
Old 01-13-2014, 01:33 AM   #3
rubankumars
Member
 
Registered: Oct 2010
Location: india
Distribution: debian 8,debian 9,slackware 14.2
Posts: 158

Original Poster
Rep: Reputation: 12
I first installed foo2zjs.
But,localhost:631 doesn't connect why?
 
Old 01-13-2014, 09:08 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,334

Rep: Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922
Quote:
But,localhost:631 doesn't connect why?
Not sure what you mean here. Can you explain with more detail?

Do you mean; if you type localhost:631 in your browser, you do not connect to cups?

Do you mean you can not connect to the printer?
 
1 members found this post helpful.
Old 01-13-2014, 12:07 PM   #5
flokofcgulls
Member
 
Registered: Apr 2013
Posts: 79

Rep: Reputation: Disabled
Quote:
Originally Posted by rubankumars View Post
But,localhost:631 doesn't connect why?
I assume you mean trying to connect to localhost:631 in a browser to configure the printer. This slightly confused me as well when I was setting this up. The solution was to start the CUPS print server. Even though you may not be running a "print server", the server still needs to be running in order to connect to the administration panel.

You do this by changing the /etc/rc.d/rc.cups file to be executable, and it will run at startup. You do this with the command:
Code:
chmod +x /etc/rc.d/rc.cups
Once it's executable, you can also run it manually like a program, by doing this:
Code:
/etc/rc.d/rc.cups start
Once you've done this, you should be able to connect to the localhost:631 administration panel, and configure your printer.
 
1 members found this post helpful.
Old 01-14-2014, 01:31 AM   #6
rubankumars
Member
 
Registered: Oct 2010
Location: india
Distribution: debian 8,debian 9,slackware 14.2
Posts: 158

Original Poster
Rep: Reputation: 12
Yes.Thanks to all.I found the solution to the problem I mentioned in the below thread.The problem is
1.There is some bug with hplip so that is why it give no ppd file found message.After upgrading hplip from patch provided by slackware i successfully installed my printer and it is printing good.
http://www.linuxquestions.org/questi...re-4175450293/
Also,how to make print server start(cups server)during booting.I want to know how to make cups server start immediately after boot?For now I am sticking with Slackware.
 
Old 01-14-2014, 11:00 AM   #7
Spect73
Member
 
Registered: Aug 2013
Distribution: Slackware 14.1
Posts: 128

Rep: Reputation: Disabled
rubankumars wrote:
Quote:
Also,how to make print server start(cups server)during booting.I want to know how to make cups server start immediately after boot?For now I am sticking with Slackware.
As flokofcgulls wrote:
Quote:
You do this by changing the /etc/rc.d/rc.cups file to be executable, and it will run at startup. You do this with the command:
Code:
chmod +x /etc/rc.d/rc.cups
This is handled by the following snippet from etc/rc.d/rc.M which executes when booting.
Code:
# Start the print spooling system.  This will usually be LPRng (lpd) or CUPS.
if [ -x /etc/rc.d/rc.cups ]; then
  # Start CUPS:
  /etc/rc.d/rc.cups start
elif [ -x /etc/rc.d/rc.lprng ]; then
  # Start LPRng (lpd):
  . /etc/rc.d/rc.lprng start
fi
Hope this helps.

Last edited by Spect73; 01-14-2014 at 11:03 AM. Reason: Add missing paragraph
 
  


Reply


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
[SOLVED] Install hp 1020 plus in slackware? rubankumars Slackware 1 02-15-2013 10:54 AM
Linux driver for a printer HP LJ 1020 (foo2zjs): problem during compilation (access). xcislav Linux - Hardware 1 04-10-2011 11:08 AM
[SOLVED] Slackware-13.1 and foo2zjs business_kid Slackware 8 09-27-2010 03:33 AM
Laserjet 1020 with Foo2zjs Not Printing sloik2000 Linux - Hardware 4 06-22-2007 11:04 PM
Help with Install of foo2zjs for HP 1020 Carpinus Ubuntu 1 08-22-2006 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:52 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration