Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-12-2014, 12:07 AM
|
#1
|
Member
Registered: Oct 2010
Location: india
Distribution: debian 8,debian 9,slackware 14.2
Posts: 158
Rep:
|
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.
|
|
|
01-12-2014, 09:16 AM
|
#2
|
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
|
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.
|
01-13-2014, 01:33 AM
|
#3
|
Member
Registered: Oct 2010
Location: india
Distribution: debian 8,debian 9,slackware 14.2
Posts: 158
Original Poster
Rep:
|
I first installed foo2zjs.
But,localhost:631 doesn't connect why?
|
|
|
01-13-2014, 09:08 AM
|
#4
|
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
|
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.
|
01-13-2014, 12:07 PM
|
#5
|
Member
Registered: Apr 2013
Posts: 79
Rep:
|
Quote:
Originally Posted by rubankumars
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.
|
01-14-2014, 01:31 AM
|
#6
|
Member
Registered: Oct 2010
Location: india
Distribution: debian 8,debian 9,slackware 14.2
Posts: 158
Original Poster
Rep:
|
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.
|
|
|
01-14-2014, 11:00 AM
|
#7
|
Member
Registered: Aug 2013
Distribution: Slackware 14.1
Posts: 128
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 08:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|