Debian :: Unable To Check Status Of A Cups Printer?
Oct 15, 2010
I'm using Debian squeeze and for an assignement, i have create 2 virtual pdf cups printers. Both are working very well. To test the different administion command; i try to disable one of the printer and move his queue file to the second one. I'm able to do it easily.
Now, i wish to write a bash script that wil test the status of the printer. So that,if the printer is disable, it just execute the "move" script. Is there a way to know the status of a cups printer and use that information in a script?
For example, a command/function that can return "O" is the cups printer is enable and "1" if not.
View 1 Replies
ADVERTISEMENT
Feb 24, 2011
cups does not start with the server. When I try to start from the terminal I get the error message
cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting!
cupsd: Child exited with status 1!
The log files show nothing. cupsd.conf exists. It is user - root and group - root with permissions set at 0644.
My interpretation of this is that the program is not launching from either boot or terminal for a fundamental reason. I do not quite see what that reason is .
View 2 Replies
View Related
Nov 15, 2010
I can print very well over a USB cable, however I'm having trouble printing over the Internet (F13). The errors that I get are:
job-printer-state-message Unable to get printer status (Not Implemented!)
job-printer-state-reasons [u'none']
Printer status usually shows up as OK until I actually start to print and then I end up with an error message and nothing prints. This seems to show up with any type of printer connected to the internet.
View 1 Replies
View Related
Jan 11, 2010
the remote printer appears in cups but if I try to do a test page i get a page not found error. it even says ready under yast printers.it is set up on a remote desktop using cups
View 8 Replies
View Related
Oct 15, 2010
Is it possible to setup a printer without cups, most of Linuxes try to setup cups, which is basically for Notworks, but it really doesn't help much with a stand alone and more of nuisance and a hindrance.
View 4 Replies
View Related
Sep 9, 2010
whose still learning the ropes, I've installed a new printer on my Debian (2.26 version, unstable, tho' duly updated ) - a HP Photosmart C4600 ,through CUPS and all [b]seemed[/b] well ... applied /etc/init.d/cups restart.Result: it appears to oblige for a moment then straight back to 'STOP' mode so that I can't even get a test page printed.I'm at a loss to know what the issue might be, except if the message coming up on the CUPS admin page - "Filter "foomatic-rip-hplip" for printer "Printer" not available is of any pertinence: I've tried getting/installing/enabling such but -no joy.s
View 7 Replies
View Related
Apr 21, 2009
I'm trying to get cups-pdf to work. I'm working on adding the virtual printer through http://localhost:631, but when I try it asks for my password. I cannot use root because I have locked it out and currently use sudo with my main account. To make changes using my main user account credentials, do I need to add that account to some "printer admin" group, or something?My sys info, in case it makes a difference:Debian Lenny amd64, Xfce desktop
View 1 Replies
View Related
Feb 8, 2011
I am unable to figure out how to set up a net work printer with new squeeze installation. I have used cups ver 1.3.8 on lenny and have never had any difficulty, this new version 1.4.4 I'm unable to gain any ground with.I did a purge and re-install with no luck?
View 10 Replies
View Related
May 29, 2011
Our Canon MX340 printer is WiFi connected using an IP address. This works well except that whenever the printer is turned off (for any reason) it chooses another IP next time it is turned on. As near as I can tell, it has two IP numbers: 192.168.1.64 and 192.168.1.65 Is it possible to enter both in the CUPS configuration so that CUPS will find the printer whichever number it is using?
View 1 Replies
View Related
Nov 30, 2010
reason my Debian 5 system will not stop printing blank pages. I've got the CUPS system installed, and I've gone to the control page and canceled everything. I've also turned the printer off and restarted it several times. Every time it comes back online it starts printing blank pages again. My paper does not need to be heat treated. It's fine as it is. So, how to I stop this waste of electricity and printer MTBF? What else might be sending commands to the printer besides the CUPS system?
View 2 Replies
View Related
Aug 19, 2010
how to get clients connecting to an office printer. during a migration from windows server to debian/samba.
We have:
5 windows XP machines one Windows Server 2003 machine, PDC of the old domain One debian Samba PDC (of TEST domain)/print server (with CUPS installeD) running in a virtual machine hosted by the windows server One Toshiba eStudio 3511 printer
Using the CUPS control panel, I've been able to autodetect and add the printer, and it appears as an available share in SWAT for samba. However, the driver isn't perfect. CUPS could only supply drivers for the 3510c, not the 3511.
However, clients on the TEST domain are unable to access it. Doing so gives an error about a local policy preventing a connection to the print queue. I've tried googling this error and the fix that comes up in every result about changing a point and print policy setting, does not work.
however, I've been able to work around the issue. by first logging in as local administrator, navigating to the domain server, then inputting the domain root account credentials at the prompt. That allows me to attempt to connect to printers, but with a different error
"The server for the printer does not have the correct driver installed...."
I very strongly suspect that the 3510 driver actually will work, but it's just not being shared properly. The printer driver share folder is /var/lib/samba/printers, and that directory contains only a few empty subfolders. CUPS did not place the driver there as I would expect, and that is where clients are looking for it.
The thing is, I have no idea where CUPS DID put the driver.
On the old domain, the printer uses drivers for es4511, and looking on the toshiba site, this seems to be what they provide. The Toshiba Site provides a huge variety of drivers, including several windows ones, a universal driver, and a CUPS PPD. Cups asks for an optional PPD during install and I tried supplying that. It said installed successfully, but didn't change anything.
I've tried pasting the windows drivers into /var/lib/samba/printers/W32X86 too, and likewise with other drivers from toshiba's site. but this doesn't change anything either, so I'm at a bit of a loss.
how to install/setup drivers on a samba PDC, for windows machines?
Also relevant, my smb.conf:
anyone see any possible causes of problems?
# Samba config file created using SWAT
# from UNKNOWN ()
# Date: 2010/08/19 13:03:07
[code]....
View 12 Replies
View Related
Jul 22, 2015
I use jessie-32bit of kernel 4.1.3 on ASUS EeeBook X205TA. But it doesn't recognize buttery status.Result of my investigation, the incomprehensible ponts is below.
・"acpi -b" outputs no information.
・There is not "battery" directory in /proc/acpi/. (button only exists.)
The following is my system informations.
Code: Select allacpi -V
Adapter 0: on-line
Cooling 0: intel_powerclamp no state information available
Cooling 1: Processor 0 of 10
[code]...
I want to check battery in console and fluxbox Desktop.
View 2 Replies
View Related
Jul 31, 2011
I have a canon printer which was working so far. After my latest upgrade its giving errors saying "Printer not connected -- Check your connection" Fortunately I had a backup of my root before the upgrade and one difference I see is that on the new system theres no /dev/usb/lp0 which there is on the old one. So how do I make it? Or should I use the /dev/lp0? Note they are different:
[Code].....
So (naturally) when I tried to make a softlink from /dev/usb/lp0 to /dev/lp0 it did not work.
View 10 Replies
View Related
Jul 1, 2010
I dist-upgraded my Debian unstable and 'cups' removed the official drivers ('cndrvcups-common_2.00-2_i386' and 'cndrvcups ufr2-uk_2.00-2_i386'). Well, now my network Canon i-SENSYS MF4120 multifunctional printer/scanner doesn't work and the drivers can't be installed back
View 11 Replies
View Related
Apr 9, 2015
I am currently attempting to attach my printer to my fresh Debian installation and get CUPS running with it. I was able to add the printer easily enough, but when I try and print a test page from the web interface, it fails, and I see the following in the log.
Code: Select allD [08/Apr/2015:21:31:45 -0700] [Job 6] PPD uses qualifier 'Gray.OFF.600dpi'
D [08/Apr/2015:21:31:45 -0700] [Job 6] Calling FindDeviceById(Samsung_ML-1710)
D [08/Apr/2015:21:31:45 -0700] [Job 6] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
D [08/Apr/2015:21:31:45 -0700] [Job 6] Failed to get profile filename!
[Code] .....
View 2 Replies
View Related
Jul 21, 2010
Installed fedora/configued samba, shared printer and i am not able to access shared printer from any of the fedora machine. I am able to access the printer /shared folder from windows machine. I dont know the process of cups installation.
View 1 Replies
View Related
Jan 12, 2012
I'm having a devil of a time trying to set up printing with 3 network printers: an HP Laserjet P4014n, an HP Laserjet 5200tn, and an HP Officejet Pro 8500 a909a. The three printers are connected directly to the office intranet and have their own ip addresses. The system I'm trying to configure is running Wheezy, and HPLIP and Cups are both installed. I have confirmed (from [URL] ....) that all printers are supported.
First, running "hp-setup -i" (hplip-gui is not installed -- I do not wish to pull in half of KDE simply to configure printing), the program only finds the 2 laserjets. Adding one of them creates a printer in CUPS with an "hp:/net/<printer name>" connection. Attempting to printing a test page through CUPS fails with message "/usr/lib/cups/backend/hp failed".
Interestingly enough, running "hp-probe -bnet" finds all three printers. However, running "hp-makeuri" with each printer's ip address fails with "error: Device not found". Hmmm, so HPLIP can apparently go from seeing everything to seeing nothing. Very useful.
Moving to the CUPs browser interface, clicking "Find New Printers" under the "Administration" tab also only shows the 2 laserjets, although each is listed three times(!). The only difference that I can see among the three versions of each printer is in the connection uri:
dnssd://<printer name>._printer._tcp.local/
dnssd://<printer name>._pdl-datastream._tcp.local/
dnssd://<printer name>._ipp._tcp.local/
Adding any one of them seems to work, although I do not understand why there are three of them (presumably different protocols, though what they are and the differences between them are, I don't know).
Logging into the officejet control panel and browsing at its network configuration, I see mDNS, SNMP, and WINS are disabled, although SLP is enabled. Looking in '/etc/cups/cupsd.conf', I see 'BrowseLocalProtocols' is set to only CUPS and DNSSD, so I add SLP and restart CUPS. No change; the officejet still doesn't show. I go back into the officejet control panel and enable mDNS (which, if I understand correctly, is essentially the same as DNSSD). Nothing; the officejet still doesn't show.
View 5 Replies
View Related
Aug 19, 2011
I'm installed CUPS:
1. apt-get install cups cups-client hplip
2. /etc/init.d/cups start
3. localhost:631
When I try to add "New Printer" I see the message on the screen:
Unable to add printer: Forbidden
In log file message:
failed to CreateProfile: org.freedesktop.DBus.Error.NoReply:Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost [CGI] CUPS-Get-Devices request failed with status 401: Forbidden
View 2 Replies
View Related
Jun 6, 2010
I'm trying to setup a headless CUPS server, but no matter what I do, I can't add a new printer. Not using the web interface, or the GUI of another computer connected to the CUPS server.I always get to the point shown in the attached screenshot, and then I am asked for a password, which never works. I've practically slaughtered my cupsd.conf, and it now looks like this:
Code:
LogLevel info
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
[code]....
it looks like the above should tell CUPS to never ever ask for authentication, but as you can see in the second screenshot, it still does!
View 2 Replies
View Related
Dec 15, 2009
I have a wire network connection to a printer over my Lan. It is an HP 3210 All-in-One series. Can someone tell me whether cups is capable of printing to this printer? Or do I need to use HP's drivers (:::shudder::?
View 8 Replies
View Related
May 20, 2009
want to know what is the cmd to ping/check the link speed or something like Network Info. If for server checking (Show information CPI info) is (cat /proc/cpuinfo ) (correct me if im wrong)
View 4 Replies
View Related
Jul 15, 2009
We have a Dell Poweredge 1750 server with 2 harddrives in RAID 1 running Debian Etch. Yesterday one of the hardrives stopped working but no error message appeared in syslog. The only indication was the amber LED diode. Is there a software way how to check that both disks are OK?
View 5 Replies
View Related
Jul 2, 2010
Running Debian 5, fairly new install. I have CUPS 1.38 installed. After much work, I got a PPD file for a Dell printer working - albeit not the exact one I need (5330dn), but close enough to work (3100cn). Question: when I look at the list of printers in CUPS, I see a bunch of extra printers that are on the network, but that I didn't add. How do I remove them (ie. I don't want them to be listed)?Going to Administration | Manage Printers shows me a black button named "Delete Printer", but clicking on it gives me an error message of:
Ok, while I'm here, I'll ask 2 other simpler questions:
(2) anyone have the .ppd file for the Dell M5330dn printer? I've spent 90 minutes on the phone w/ the Dell tech support, and those guys are clueless....
(3) I have 4 printers of the same model. the first is working - is there an easy (command line) way of adding the other printers? Ie. can I just copy the /etc/cups/ppd file 3 times, renaming it to my other printer names (and ip addresses)?
View 6 Replies
View Related
Apr 10, 2009
I have a HP Officejet G85 and I just upgraded my system, which included the whole printer subsystem, and lost my printing. I have tried adding it via KDE's print dialog as well as directly via CUPS (localhost:631), to no avail.
I have searched all over the web for a couple of days, and can find similar stuff, but no resolution. I think it may be new (I just upgraded most of my system) in the latest releases of cups/hplip/.etc. Also, after the upgrade my hp-toolbox quit working, telling me I don't have qt4 installed, which I do.
View 2 Replies
View Related
Jan 30, 2009
I am hard time printing to one particular Canon IR8500 printer Red hat.WE are using CUPS to manager around 30 printers.when I try to start the printer from CUPS, it comes back immediately to Printer State: Stopped, accepting jobs..After I delete it and redefine it, the status says Idle, but as soon as I submit a job, the status change to 'Stopped'.
View 4 Replies
View Related
Aug 2, 2010
I'm running CentOS 5.5 and have created an init script. The start of the script contains:
# Source function library.
if [ -f /etc/init.d/functions ]; then
. /etc/init.d/functions
fi
The start bit works fine, but I'm having problems with the status and stop part:
status)
echo -n "Status of script: "
status "/bin/sh /path/to/script.sh"
RETVAL=$?
echo
;;
In PS AUX the command appears as "/bin/sh /path/to/script.sh" and I can see the PID. But when I run:
./my_init_script status
It says the script is not running. Should I be using the /bin/sh bit, or just the full script path, or just the script filename?
The stop part of the init script utilises "killproc". Again what command should I be using to successfully kill all occurrances of the script?
View 1 Replies
View Related
Nov 20, 2010
Ubuntu server, no GUI installed; two partitions: OS and user.How can I check the status of the user partition? E.g. Free space, directory, etc
View 2 Replies
View Related
Aug 7, 2009
I need to make a SQL script and call it from Unix (bash) shell.
Code:
sqlplus vikas/vikas <<END
spool /oracle/vikas/output.txt
command 1
[code]....
This runs perfectly, but my problem is that if a command fails, the other commands keeps on running. I need to keep a check that when a command fails the script is exited. In unix we have an option of echo $? to check the status of previous command, But how to accomplish this SQL.
View 2 Replies
View Related
Feb 24, 2011
dd is wiping part of the hard drive( 270GB partition ) with /dev/urandom for quite some hours, is there anyway to check the proccess? like speed of the process etc., I read someone doing that with another drive while having access to other terminal because of the system, but since this is directly from the install dvd, I've no clue if there's anyway to do that or not. I'm asking that mainly because:
1) I prefer run things with some kind of verbose mode
2) I accentaly opened the dvd driver (yes I know, but I forgot the install dvd was inside of it), but I closed it right after it, no errors, but it may have stopped working and has just the _ clicking?
View 14 Replies
View Related
May 12, 2009
I'm working on CUPS server here now, I am new to the whole Fedora area, I'm starting to like it, tackling one service after the other. I have cups, which I don't recall installing but was there guess its a default. So I added a printer on my server, that was on a 10.0.1.1 block, added it as lpd://10.0.1.1/lab3printer. Ok that worked and printed from my server, but my problem is when other machines try to add the printer. I continue getting this problem
Alberto "recoverable: Network host '10.0.11.25' is busy; will retry in 30 seconds..."
On the computer it was added as printer lpd://10.0.11.25/alberto because my server has that IP and printer well named it alberto. I followed what this said with the xined.d [URL].
View 3 Replies
View Related