Debian Configuration :: Sending Commands To The Printer Besides The CUPS System?
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?
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?
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?
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
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 .
I have a Brother DCP585CW and have installed the drivers from Brother and it worked fine on Ubuntu 9.10 on both my desktop and laptop. I have installed 10.04 on both and now the problem. It works fine on the desktop but I get a problem on the laptop. It is a wireless printer and I can print to it but only after I do 2 things each time I reboot the laptop. I have to configure it through cups (http://localhost:631) because it keeps getting set to being connected via USB and letter rather than A4 paper on each boot but the correct setting is:
I installed the Gnome desktop CD1 AMD 64 version of Debian Squeeze. I installed samba and python-smbc. I am missing samba printers in my system-config-printer. Anyone know why? [url]
Does anyone know how to set up an print-to-file-printer with an alternative system to CUPS? The quality suck on CUPS and there's NO solution, at least i didn't found anyone
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.
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
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
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.
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
I repair and network Canon copiers, and we have a couple of schools here in the US that have added some Mac computers (OS 10.6). The copiers they're running (Canon ImageRunner 5000) have stopped print driver support as of Mac OS 10.5, so I'm attempting to use CUPS as a workaround. Printing isn't an issue normally, but they're using the Canon "Job Accounting" feature to track usage, and that's where my problem lies. This is not a problem for any Windows OS machines, as drivers are available all the way through Windows 7.I have Linux Mint installed on my laptop, and am trying to configure one of the copiers here in the office with CUPS before I hit the field and do it for real, and had no problem installing the copier on my computer. Printing works great, however when I attempt to query printer for default options I get this error.
"Unsupported format 'application/vnd.cups-command'!" Does anyone have an idea of how to get past this point so I can save my company a lot of money by not having to replace machines? Please be aware I'm just a novice using Linux, so any steps to take will have to be spelled out. I can follow directions well, so feel free to post a walkthrough and I'll make the changes right away.
I don't print much, but tonight needed to print and found that none of the printers were listed in Okular or Openoffice, then when I tried to open Cups Administration http://localhost:631/ I got the error message Connection to Server Refused
I've been using linux for a few months. Recently I have installed debian jessie and I'm learning how to secure my laptop. I have installed
Code: Select allapt-get install sysv-rc-conf
to shutdown few services that I believe I don't need at boot which I found very useful. Among others I have deselected avahi-daemon, cups, cups-browsed, etc. The problem is that, after rebooting, when running:
Code: Select allnetstat -lntup
I still find 'avahi-daemon: r' and 'cupsd' running. I have tried
I use Sysv-rc-conf to turn on/off services. I initially turned off cups (I'm pretty sure it was on by default) using this method, but now I have turned it back on again, it won't start at boot. I have to start it manually each session. I've probably missed something but here goes anyway,
I am trying to set up a print server here on a Squeeze system using the stock debian CUPS package. It seems that since Apple has bought this package, it has caused me nothing but grief. I have set up two different USB printers with raw print queues, and every time I send a print job to either of them, the job disappears into thin air, with no error output. In fact, when I look at the queue, it says the job was completed successfully. I look at the logs, and there is no output indicating any issues. Just for kicks, I reconfigured one of the printers to use a linux driver, and it printed just fine (a little slow, but fine). I set it back to raw, and the jobs disappear again into oblivion.
I have done this many times in the past, and never had any issues -- I even had this very same printer set up that way about a year ago, and it worked great. The only noteworthy thing that seems to have changed is that there are no longer any files called "mime.types" and "mime.convs". It seems they have been replaced by "raw.types" and "raw.convs". The contents of these two files are as follows:
last week while I was using ssh to the computer1 inside a NAT as usual, I made another tunnel from the computer1 that I was connecting to, to another computer2 inside that NAT (ssh 192.168.1.130) and after making some changes in computer2 I typed reboot. The computer2 rebooted but the tunnel totally hung and I had to kill it in my laptop. Since that day I haven't been able to ssh to the computer1 as I am used to.
Here is some more information:
debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Offering public key: /home/une/.ssh/id_rsa
trying to configure an old Epson LX 400 dot matrix printer with cups. I really need this printer to print vauchers. System is Debian SID, latest cups 1.4.3 cups was recently change to reject lsusb printing and now uses libusb. lsusb sees printer, but does not name it:
$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 002: ID 1a40:0201 TERMINUS TECHNOLOGY INC.
Since we switched our server to Squeeze, I'm receiving emails from the cron about a mysql error (...can't use locks with log tables). But this is not the issue I want to talk about here. The issue is that since the executed command is: /usr/bin/mysqlcheck -uroot -pmypassword --all-databases --check-only-changed --silent which is a command that was automatically added to the cron by the mysql package (I believe), the password is sent in clear text in the email's subject. In my sense, this is a serious security issue (sending root password in email subject...)
I don't know at what level it should be corrected, but it seems to me like it should be corrected in the Debian distrib, shouldn't it ?
And for now, how can I hide the password in the emails I receive ?
I'm using an up-to-date installation of Squeeze with the default Gnome desktop and am trying to print. My knowledge of configuring printers is very limited if it even exists. Since a friend of mine is able to print from her Ubuntu computer, my plan is to copy her. Here's how she does it. She goes under System->Administration->Printing on the desktop. Then a window pops up titled "Printing" that lists various printers that are supposed to exist. It's possible to add one by selecting Add->Printer. It asks for the root password and then a new window pops up titled "New Printer" which has a subwindow called "Select Device" In my case, the "Select Device" window has the following options to choose from:
- AppSocket/HP JetDirect - Internet Printing Protocol (ipp) - LPD/LPR Host or Printer
In her case, she has an extra option called "Windows Printer via Samba". This is the option that she uses. The other options don't seem to work for her. I'm assuming that I just need to install some package in order to make this option magically pop up for me. Does anyone know what package this may be? I currently have the packages smbclient, samba-common and samba-common-bin installed..........
When I try to run programs from root terminal I get the error
Code: Select allQDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. No protocol specified kate: cannot connect to X server :0
I found a solution: I do Code: Select allxhost SI:localuser:root
but I have to do it after each reboot. I tried to put this command in rc.local but it did'nt work. How to do this auto?
I've set up a cups printing server using ubuntu 10.04.1 LTS. The printer's a HP Laser Jet 1018 I can connect to it over vpn using openvpn from my netbook which is also running ubuntu 10.04.1. I can connect to the printer all right and test page prints without a problem. But if I try to print anything else, it take at least 5 minutes before the job is successfully send and printed out.
Also, on the client side, for example, the file size would like 500k, and when it finally prints out, the file size on the server side is less than 10k. The file is a black and white document, and from what I can tell, the printed page is not missing any information.
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.
I have several screen sessions running, one of them named 'test'. I want to send a simple command to there without attaching the screen, so I do:
screen -S test -X ls
But when I attach the screen to see if it has done something, nothing is different... How can I send commands then? Of course the 'ls' command is not what I want to do, but it's just an example in how this is not working.
I have an "HP Deskjet d1400 Series" using the "hpijs, 3.10.2 (color)" driver. When I attempt to print a test page from the CUPS web interface, it works. However, when I try to print from an application, such as Okular or Iceweasel, the only option is "Print to file". I have hpijs and hplip installed.
I am a linux newbie. I have a situation where I need to send a command line -X command to a screen session owned by root from a nonprivliged account. The command is executed by a shell script, which in turn is executed from a PHP script. Is there a way to make this work?
I have finally given up trying to get to a printer on my windowsXP pc to work with my linux box and need some assistance. The printer is a hp photosmart c5500 series. My linux box is running lenny and I have installed the cups and samba applications. The linux box is networked to the win pc on a win network using a eth0 link. The link works as I have internet and e-mail connections. I have configured the smb.config file as follows:
[Code].....
I have run the tests in the samba checklist and the connection is apparently working. Pings to the windows pc,, the notebook, and the linux box all return the proper results. The "smbclient -L w.x.y.z" return shows the windows shares that includes the above named printer. When I try to connect the printer using the kde cups wizard or get into the c drive on the windows pc I get the NT_status_access_denied message. I get the same return when I try the "smbclient //username:passwd@wincomputer" I downloaded the appropriate drivers from HP and tried the lpadmin comand and instructions in the Debian mini-Howto but get the return of "lpadmin: No such file or directory" when in fact all the files exist and have correct permissions etc. I have a Ubuntu OS running on a notebook computer (dual boot with windowsXP) with a wireless link to the same router that accesses the printer without a problem. The smb.conf file I am using is based on that I found in my Ubuntu OS but apparently something is different.