General :: Error In Sys-confg-printer Command In Ubuntu
Feb 16, 2010
well I am facing one error in running the command syste-conf-printer. this is my output
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
libnotify-Message: Unable to get session bus: /bin/dbus-launch terminated
I have printer in CUPS that due driver problems (hp 1010) form time to time goes into pause. I would like to write a shell script that will be once per hour resuming printer in cups.But I have no idea after googling for couple of minutes how to resume printer from shell command line.
I just recently learned about the wonderful little lpr command- and using man -t (bash command) to beautifully print man pages for reference- but is there a way to print both sides of the paper using a printer so equipped?
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
I have Ubuntu version 10.10 and I'm trying to install the HP DeskJet 1000 J110a printer. I have HPLIP version 3.11 (the latest version I believe). The printer shows up but when I try to print the error message reads: Printer requires the 'foomatic-rip-hplip' program but is not currently installed.
I am unable to connect to my printer wirelessly. I get this: Idle - "Connecting to printer..." The computer never connects. I can print a configuration report and get the ip address. If I type that in a webrowser, I get an error: unable to connect. Even if I plug the printer into the computer by a usb, I am unable to access the printer's ip address in the webrowser. I'm not sure how to proceed on getting the printer working wirelessly. It is a hp 6940 I use the HP Deskjet 6940 Series hpijs, 3.10.2rc1.9 driver. I have only recently been having printer problems. The printer has been hooked up on the same network for years. It still prints via usb.
I am trying to install a HP deskjet 1000-J110a. I downloaded a driver package thing, and I guess I unpacked it, and I made it, and I thought I installed it. I am totally confused and my brain hurts. The printing troubleshooter is telling me: Missing Printer Driver
Printer 'Deskjet-1000-J110-series' requires the 'foomatic-rip-hplip' program but it is not currently installed. I found something that is the 'foomatic-rip-hplip', but what the heck do I do with it?
I am doing some embeded linux work in ARM 9263.So I need to make a image for that board.But when I using one command "make uImage" I am getting the following error.
make: arm-linux-gcc: Command not found CHK include/linux/version.h make[1]: `include/asm-arm/mach-types.h' is up to date. CHK include/linux/utsrelease.h HOSTCC scripts/basic/fixdep code....
I'm such a newbie when it comes to Ubuntu, or any Linux varient, period. I was trying to install a driver for an HP All-in-One Printer and was trying all kinds of commands from different Google searches... still unsuccessful in the installation. I downloaded the file to my desktop, but after using a Chmod command someone mentioned, I now have a folder on my desktop named:
"You are not the owner so you cannot change these permissions". The folder's icon on my desktop has a red box with white circle on the middle right side and a lock symbol above that. I'm the only user so I don't get why the permissions are protected from me, how do i undo this?
I've bought a HP Photosmart printer, HP Photosmart wireless e-All-in-One printer - B110a and i've got a problem installing it properly. I'm using Debian 6.0 Squeeze. When i connect the printer, Debian doesn't recognize my printer as the Photosmart B109 printer for unknown reason. When i go to the site of HP and search for a driver, it directs me to this site:I've downloaded that latest hplip file as a .run file and installed it. My printer is recognized proparly, but when i try to print a colored image, it comes out black/white. Something is not crrect. Does anyone recognize this problem with this type HP printer?
sed '/ $/ {N s/ //}' sed: -e expression #1, char 10: extra characters after command
I want to understand what is wrong with my command line. When I can do the some of following in a script but not in a command line. I have been working through the tutorial at [URL]. When I got stuck at the section Working with Multiple Lines. These script works fine.
#!/bin/sh sed ' # look for a "#" at the end of the line /#$/ { # Found one - now read in the next line N # delete the "#" and the new line character, s/# // }' file
In my case I am looking for or return ^M. #!/bin/sh sed ' # look for a "#" at the end of the line / $/ { # Found one - now read in the next line N # delete the "#" and the new line character, s/ // }' file
The problem is when I try to convert it to a single line shell command it gives me an errors. sed '/ $/ {N s/ //}' sed: -e expression #1, char 10: extra characters after command sed '/ $/{N s/ //}' sed: -e expression #1, char 9: extra characters after command sed '/ $/{Ns/ //}' sed: -e expression #1, char 8: extra characters after command
I want to understand what is wrong with my command line. When I can do the following in a script but not in a command line. I have created a sed script to do the work I want. cat test.sed #!/bin/sed -f / $/ { N s/ // }
I have a log file that has an I/O Error about halfway in. It is a syslog file with Sendmail log entries. I need to break into smaller files. I tried using a simple egrep command creating new files by the date _egrep "^Sep 19" filename_ but the command hangs when it hits the I/O Error.
I tried split but it bails out when it hits the I/O Error. Is there anyway to read the file and get past the I/O Error? IS there a way to read the file from the bottom up so I can get the data from the top and bottom?
I am scheduling a command for a specific time every day. Linux crontab format which I am using :- MIN HOUR DOM MON DOW CMD 30 08 10 06 * /home/mach/script.sh Some presetting is required?
I am trying to use yum command to install mysql and php but I get the following error
yum install php Loading "installonlyn" plugin Setting up Install Process Setting up repositories Could not retrieve mirrorlist [URL]...[Errno 14] HTTP Error 403: Forbidden Error: Cannot find a valid baseurl for repo: base
I'm from a Solaris (printer.conf) background and having trouble setting up a printer on the network. My CentOS box does not have a GUI interface available. I have been playing with lpadmin trying to add a printer - which it did, but everything is disabled, and the "enable" command is not found on my machine.
How do I make a simple printer on my network talk to my centOS box?
Here's the printer.conf from a Solaris machine that works:
raphael: :bsdaddr=igppps1,raphael,Solaris: And the printers.conf from the CentOS box: lumina# more printers.conf # Printer configuration file for CUPS v1.2.4
I work at The University of Alabama as a sysadmin on various HPC resources and also provide support for faculty using Unix systems. I've run into one problem that is affecting two different desktop systems running CentOS 5.3.oth of these systems have the latest updates. These machines have standard network-attached printers. One is an HP LaserJet 3250 and the other is a model that is pretty close to that one.Previously these users were able to print from graphical applications such as Firefox, but now when the print dialog is opened on ANY graphical application, it causes a hard freeze on that particular app.Printing from the commandline via `lpr` gives no issues and test pages from the Printer Admin interface also succeed.This problem has me stumped, so I'm looking for any insight as to what could have changed. I do not know what changed between the time when the printers worked graphically and when they stopped, but the users assure that they have changed no settings. The only thing I can suspect is a rogue update since this is affecting separate users on separate machines with separate printers.
When follow the below step for patching the file diff file1 file2 > patchfile.patch patch -p0 file1 < patchfile.patch but I got the following error after that Reversed (or previously applied) patch detected! Assume -R? [n] I dont know what happen here Kernel version is:
2.6.9-89.0.20.ELsmp patch version is: patch-2.5.4-20
I faced a issue with updating a file contents with echo command which fails with error as below: echo "foo" > bar //to create a file named "bar" echo "foobar" > bar //to edit its contents
The latter fails, it prompts "File exists" i.e. ~>echo "foo" > bar ~>echo "foobar" > bar bar: File exists. ~>cat bar foo ~>
i have a site where I need to run a couple of php scripts every day..therefore I was thinking to setup a cronjob to do this. Unfortunately I get a whole bunch of errors trying to do so.
I can execute the php scripts via a command line without problem, one example would be
I am completely new to linux and am trying to run a Fortran program for class. I typed in "make C=R" and it ran through a long list of things and then came up with that error.