You are not logged in.
Please help me!!!
I can't use my printer : HP "All in One" Deskjet F4200
i have Install CUPS and add the user(s) to the lp group to gain permissions to access the devices.
i have correctly customise the default configuration in /etc/cupsd.conf
i have install hplip
I have set the administrative password for CUPS and add an administrative user with # lppasswd -g lp -a tux
I have follow all instructions in the guide but when i go to http://localhost:631/
i have always "canno't acces to destination (localhost)
When i try to launch hp-setup i have a message : No PPD files found
I can access to scanner with xsane but i can't print
Can somebody please help me i'm lost
How get acces to cups or where find PPD file ??
PS : I'm french sorry for my english, i have write my question in the french support but i have no answer...
Thank you !!
pgrep cupsd
If no PID number is displayed cupsd is not running.
As root user start cupsd:
/etc/init.d/cupsd start
Cupsd is started post-install but not set to auto-start on boot.
To auto-start user must add cupsd to /etc/rcS.conf RUN_DAEMONS=
Offline
Thanks a lot for you answer
I have do this :
root@slitaz:/etc/init.d# cupsd start
cupsd: Unknown argument "start" - aborting!
Usage: cupsd [-c config-file] [-f] [-F] [-h] [-l]
-c config-file Load alternate configuration file
-f Run in the foreground
-F Run in the foreground but detach
-h Show this usage message
-l Run cupsd from launchd(8)
root@slitaz:/etc/init.d# cupsd -f
Terminated
But it's still not working
i've try :
root@slitaz:/etc/init.d# cupsd -l
cupsd: launchd(8) support not compiled in, running in normal mode.
cupsd: Child exited on signal 15!
root@slitaz:/etc/init.d#
can i do?
and to auto start i don't understand very well, i go to the file rcS.conf and i write "# RUN_DAEMONS=" and "cupsd"?
thank you
Here my cupsd.conf , maybe it's the problem?
# Administrator user group...
SystemGroup lp
# Restrict access to the admin pages...
Order allow,deny
Allow 127.0.0.1
# Restrict access to configuration files...
AuthType Default
Require user @SYSTEM
Order allow,deny
Deny From None
Allow From 127.0.0.1
/etc/init.d/cupsd start|stop|restart is a script, not an executable.
Open terminal
To start cups:
su
Enter
password:
Type
root
Enter
Type this:
/etc/init.d/cupsd start
Enter
leafpad /etc/rcS.conf
Add whats in bold:
RUN_DAEMONS="RUN_DAEMONS="dbus hald slim cupsd"
File/Save/File/Quit
Offline
And i have modifie also the cupsd.conf.default so i can't restore it, i think it was a big mistake...
If this is the problem, can you help me to fix it bye giving me the contents of the cupsd.conf.default ?
Ok, Thank you
but it still no working, i have this :
root@slitaz:~# /etc/init.d/cupsd start
Not starting cups deamon: cups deamon is already running [ OK ]
i don't understand because in my administration console, cupsd is marqued as stopped
I had this :
RUN_DAEMONS="dbus hald slim firewall httpd"
and now i modifie and this is that :
RUN_DAEMONS="dbus hald slim cupsd firewall httpd"
i have do this and really i understand nothing !!!!!
root@slitaz:~# /etc/init.d/cupsd stop
Stopping cups deamon: Cupsd... Terminated
root@slitaz:~#
root@slitaz:~# /etc/init.d/cupsd start
Not starting cups deamon: cups deamon is already running [ OK ]
root@slitaz:~#
please help me you are my only hope, i'd like to continue to use slitaz but i need my printer !!
Hi,
First of all, you do not need to edit your rcS.conf file to make your printer working. ;-) But once it works it is worth to edit this file to automatically start the cups daemon.
That is said and now here are the steps I followed to install my HP_CM11312:
0) Disconnect and reconnect the usb plug to make sure the printer is recognized by your system. Launch the <lsusb> command twice. First time with printer disconnected and second time when the printer is connected. And compare both outputs. Here is an example of what you should get:
[c]tux@slitaz:~$ lsusb
Bus 001 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 058f:9254
Bus 001 Device 003: ID 05e3:0606
Bus 001 Device 004: ID 046a:0023
Bus 001 Device 005: ID 046d:c050
Bus 001 Device 006: ID 10d5:55a2
tux@slitaz:~$[/c]
1) open terminal, then login as root using <su> command:
[c]tux@slitaz:~$ su
Password:
root@slitaz:/home/tux#[/c]
2) (re-)install the HP tool available from slitaz:
[c]root@slitaz:~# tazpkg get-install hplip --forced[/c]
3) launch setup process (as root):
[c]root@slitaz:~# hp-setup[/c]
then answer:
[c]d -> download[/c]
You may need to specifiy where is the ppd file located. In my case:
[c]/usr/share/ppd/HP/hp-color_laserjet_cm1312_mfp-ps.ppd.gz[/c]
4) Restart the cups server (as root):
[c]root@slitaz:~# /etc/init.d/cupsd start
Starting cups deamon: Cupsd... [ OK ]
root@slitaz:~#[/c]
5) then start your favorite GUI application and you should have your new printer available.
6) you can admin your printer using any web browser with the address <http://localhost:631/admin>
7) Sometimes I have a "failed" message, to get the printer back to ok state, simply use <resume printer> in the cups web interface.
8) Once you can print, then follow mojo's instructions to automatically start the cups daemon when booting up (by editing the famous file <rcS.conf>).
Cheers.
Offline
YES It's WORK !!!!
I've Reinstall cups and hplip with tazpkg get-install cups --forced and tazpkg get-install hplip --forced
I've let the cups.conf by default without modifie it, and now it's working
mojo and totoetsasoeur : THANK YOU VERY MUCH !!!!!
Glad you made it. :-)
Happy slitaz.
Offline
Still looking for laptop stopped at root@slitaz:"# answer? Anyone? What use the slitaz disc for a frizzbee? Jsav.
Offline
Do not hijack threads or play necromancer with topics not related to your problem. Instead go back to your own thread and answer the questions asked of you.
You display clear knowledge of Linux that most newbies get stuck on. You also deflecting and avoiding answering questions clearly while repeating the same inane question. Now you've spread to old and unrelated topics and even added a tag - Two things most newbies wouldn't do.
If you keep this behavior up, I'll just consider what you're doing as trolling and will start marking your posts as spam.
Offline
Just for info, I was faced to something stange with cups in Slitaz4.
Impossible to start or stop the cups daemon because already running. But obviously the deamon was not running!!:
[c]root@slitaz:/home/tux# /etc/init.d/cupsd start
Not starting cups deamon: cups deamon is already running [ OK ]
root@slitaz:/home/tux# /etc/init.d/cupsd stop
Stopping cups deamon: Cupsd... Terminated
root@slitaz:/home/tux# /etc/init.d/cupsd start
Not starting cups deamon: cups deamon is already running [ OK ]
root@slitaz:/home/tux# ps -ef | grep cupsd
4809 root 0:00 grep cupsd[/c]
The workaround is to delete cups.sock file:
[c]root@slitaz:/home/tux# rm /var/run/cups/cups.sock[/c]
Then it is possible to start or stop the cups daemon:
[c]root@slitaz:/home/tux# /etc/init.d/cupsd start
Starting cups deamon: Cupsd... [ OK ]
root@slitaz:/home/tux# /etc/init.d/cupsd stop
Stopping cups deamon: Cupsd... Terminated
root@slitaz:/home/tux# /etc/init.d/cupsd start
Starting cups deamon: Cupsd... [ OK ]
root@slitaz:/home/tux# ps -ef | grep cupsd
4866 root 0:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
4870 root 0:00 grep cupsd
root@slitaz:/home/tux#[/c]
Happy slitaz.
:-)
Offline
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.57 MiB (Peak: 1.77 MiB) ]