Iniciar con impresora habilitada
KnX
knx.root en gmail.com
Mar Mar 31 18:54:23 BST 2009
Ok, el fichero se ve bien intenta dandole los permisos 755 al fichero
sudo chmod 755 /etc/init.d/cups
de tal forma que los permisos se listen asà al hacer ls -la
/etc/init.d/cups:
-rwxr-xr-x 1 root root 2526 ene 13 13:50 /etc/init.d/cups
si todo va tal cual y aun no te funciona entonces va por un problema en
grafica.
With Kind Regards,
Gustavo A. Lacoste Z.
Mobile Phone: +56 (0)9 90464874
Skype: knxroot
Msn & Gtalk: knx.root en gmail.com
Website: http://www.lacosox.org
"El ejercicio fÃsico es una bobada. Si estás bien no lo necesitas y si estás
mal no puedes hacerlo."
H.Ford
2009/3/30 Gustavo Emilio Conturzo Pereira <gubuntero en gmail.com>
> El dom, 29-03-2009 a las 21:48 -0400, KnX escribió:
> > 1.- Asegurate que el servicio cups está junto a los scripts de
> > arranque en /etc/init.d/
> > 2.- Ejecuta esto y envianos la salida por consola:
> >
> > sudo cat /etc/init.d/cups
> >
> > With Kind Regards,
> >
> > Gustavo A. Lacoste Z.
> > Mobile Phone: +56 (0)9 90464874
> > Skype: knxroot
> > Msn & Gtalk: knx.root en gmail.com
> > Website: http://www.lacosox.org
> >
> >
> >
> > 2009/3/29 Gustavo Emilio Conturzo Pereira <gubuntero en gmail.com>
> > Buenas tardes a todos.
> > Mi consulta es algo sencilla. Cada vez que quiero imprimir la
> > impresora
> > se inicia deshabilitada. Para poder imprimir correctamente (si
> > ya di la
> > orden de imprimir) debo cancelar la impresión, luego ir a
> > Sistema ->
> > Administración -> Impresora, clic derecho a la impresora por
> > defecto y
> > tildar la opción "Habilitada".
> > ¿Existe alguna forma de configurar la impresora para que cada
> > vez que
> > inicie la PC, la impresora inicie habilitada por defecto?
> > Esto me ocurre desde que actualicé a Ubuntu 8.10
> >
> > Gracias... un abrazo a todos.
> >
> >
> >
> > Gustavo E. Conturzo
> > Usuario Linux: #481305
> > Usuario Ubuntu: #25023
> >
> > San Juan - Argentina
> >
> >
> > --
> > ubuntu-es mailing list
> > ubuntu-es en lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-es
> >
> Esta es la salida del comando
>
> #! /bin/sh
> ### BEGIN INIT INFO
> # Provides: cups
> # Required-Start: $syslog
> # Required-Stop: $syslog
> # Should-Start: $network avahi
> # Should-Stop: $network
> # X-Start-Before: samba
> # X-Stop-After: samba
> # Default-Start: 2 3 4 5
> # Default-Stop: 1
> # Short-Description: CUPS Printing spooler and server
> ### END INIT INFO
>
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
> DAEMON=/usr/sbin/cupsd
> NAME=cupsd
> PIDFILE=/var/run/cups/$NAME.pid
> DESC="Common Unix Printing System"
>
> unset TMPDIR
>
> test -x $DAEMON || exit 0
>
> if [ -r /etc/default/cups ]; then
> . /etc/default/cups
> fi
>
> . /lib/lsb/init-functions
>
> # Get the timezone set.
> if [ -z "$TZ" -a -e /etc/timezone ]; then
> TZ=`cat /etc/timezone`
> export TZ
> fi
>
> restart_xprint() {
> if [ -n "$success" ] && [ -x /etc/init.d/xprint ]; then
> invoke-rc.d xprint force-reload || true
> fi
> }
>
> case "$1" in
> start)
> log_begin_msg "Starting $DESC: $NAME"
> chown root:lpadmin /usr/share/ppd/custom 2>/dev/null || true
> chmod 3775 /usr/share/ppd/custom 2>/dev/null || true
>
> mkdir -p `dirname "$PIDFILE"`
> if [ "$LOAD_LP_MODULE" = "yes" -a -f /usr/lib/cups/backend/parallel
> \
> -a -f /proc/devices -a -f /proc/modules -a
> -x /sbin/modprobe ]; then
> modprobe -q lp || true
> modprobe -q ppdev || true
> fi
>
> start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE"
> --exec
> $DAEMON && success=1
>
> log_end_msg $?
> restart_xprint
> ;;
> stop)
> log_begin_msg "Stopping $DESC: $NAME"
> start-stop-daemon --stop --quiet --retry 5 --oknodo --pidfile
> $PIDFILE
> --name $NAME && success=1
> log_end_msg $?
> restart_xprint
> ;;
> reload|force-reload)
> log_begin_msg "Reloading $DESC: $NAME"
> start-stop-daemon --stop --quiet --pidfile $PIDFILE --name $NAME
> --signal 1 && success=1
> log_end_msg $?
> restart_xprint
> ;;
> restart)
> log_begin_msg "Restarting $DESC: $NAME"
> if start-stop-daemon --stop --quiet --retry 5 --oknodo --pidfile
> $PIDFILE --name $NAME; then
> start-stop-daemon --start --quiet --pidfile "$PIDFILE"
> --exec $DAEMON
> && success=1
> fi
> log_end_msg $?
> restart_xprint
> ;;
> status)
> echo -n "Status of $DESC: "
> if [ ! -r "$PIDFILE" ]; then
> echo "$NAME is not running."
> exit 3
> fi
> if read pid < "$PIDFILE" && ps -p "$pid" > /dev/null 2>&1; then
> echo "$NAME is running."
> exit 0
> else
> echo "$NAME is not running but $PIDFILE exists."
> exit 1
> fi
> ;;
> *)
> N=/etc/init.d/${0##*/}
> echo "Usage: $N {start|stop|restart|force-reload|status}" >&2
> exit 1
> ;;
> esac
>
> exit 0
>
>
>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: https://lists.ubuntu.com/archives/ubuntu-es/attachments/20090331/f420c928/attachment-0001.htm
Más información sobre la lista de distribución ubuntu-es