General :: Cups Implicit Classes And Windows
Oct 20, 2010
To foster from the failover concept of Cups I have set up 2 servers with the same printers and settings to enable the implicit classes.
Server A
I added first aprinter defined with the name myprinter (a Ricoh MP5000)
Server B
On Server B i did no printer definition
That is working fine on Cups web interface of Server B i see queuename Server A.myprinter(and vice versa).
Now I add the printer (without samba via ipp) to my windows client with the parameters [url]. I can print that way all ok. The job appears and will be printed on Server A
When I disable myprinter on A. I cannot print. I expected with the implicit classes that it switches to Server B. Is the idea wrong ? Or is Windows limited here ? Or is there another way of defintion I have to do.
My both servers are running on different platforms Suse SLES 10 and Red Hat. CUPS version 1.4.4
View 2 Replies
ADVERTISEMENT
Jul 7, 2010
I am trying to install this vpn thing for school (I need to access some of my info). I seem to get to the installation part somehow but I keep getting this message
Making module
make -C /lib/modules/2.6.31-17-generic/build SUBDIRS=/home/mblack3/Desktop/vpnclient modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-17-generic'
CC [M] /home/mblack3/Desktop/vpnclient/linuxcniapi.o
/home/mblack3/Desktop/vpnclient/linuxcniapi.c:12:26: error: linux/config.h: No such file or directory .....
View 1 Replies
View Related
May 24, 2011
Since last few weeks i am struggling to setup printer connected to print server.
Here is the setup that i have:
I have Red Hat Linux machine from which i want to issue print jobs.
I have Windows Print Server having multiple printers connected to it.
I am able to print jobs from Windows client to any of these printers. But i am not able to print from Red Hat Linux. (i have verified that i can print using smbclient utility, but based on my reading, CUPS API could be used from application to discover, print and issue print jobs.)
I am not able to get the correct configuration for setting up CUPS client.
View 3 Replies
View Related
Jun 14, 2010
In our LAN connection setup. having 192.168.1.0/24 and 192.168.2.0/24 how do i connected intermediately. server are RHEL5.
View 2 Replies
View Related
May 1, 2010
I have installed phpldapadmin 1.2.0.5 Using commands in shell I have added two users and some groups into a base (ldif-file) and I see them in phpldapadmin. But when I try to add users or groups by using graphical interface (phpldapadmin) I can't do this correctly because I can't to select a type of new entry and I see a tip "classes of objects from XML does not support LDAP-server". So I can't to create a new entry by using graphical interface. Here is my slapd.conf
[code]...
View 3 Replies
View Related
Jan 8, 2010
I am running Fedora 12 with clean install. last updated 1/8/10 AM.Trying to install chkrootkit I get the following when running "make sense":
gcc -DHAVE_LASTLOG_H -o chklastlog chklastlog.c
gcc -DHAVE_LASTLOG_H -o chkwtmp chkwtmp.c
chkwtmp.c: In function �main�:
chkwtmp.c:95: warning: incompatible implicit declaration of built-in function �exit�
[code]....
View 4 Replies
View Related
Dec 4, 2009
i have followed what in this link to share my printer to my other windows desktop, but when i try to print from there i see this error in the jobs list
from the linux pc i can print without any troubles...
also here is the error log from the cups: cups_error_log.tar.gz
View 3 Replies
View Related
Jan 20, 2010
I'm trying to print a PDF from Windows through CUPS. I'm guessing it is supposed to appear somewhere on my Ubuntu machine, but I cannot find any files. When I go on the CUPS server and look at "completed jobs", it shows every print that I did, but I have no idea where the file is located.It is not in my Home directory.
View 3 Replies
View Related
Jun 18, 2010
I recently had to reinstall Ubuntu (due to a crash after an update) and I'm having trouble to configure the print server. The last time all I had to do was to follow this:
- System;
- Printing;
- Server;
[code]....
Then I would go to the Windows box and add the printer like this:
[URL]
And it would work perfectly. Now I've been tweaking everything I can imagine and no luck.
View 2 Replies
View Related
Aug 1, 2010
I installed cups_pdf and I am able to print pdf files locally but not Windows.
When I connect to the PDF printer in Windows it ask for a driver so I point it to the generic Microsoft one. I also tried some hp ones as well. When I print I don't get any errors or anything like that. The file appears in the PDF printer queue and disappears but doesn't make it to my computer. I have tried using instructions from various Internet sites but the information is vague, wants me to edit lines that don't exist in cupsd.conf, and/or adds lines that breaks the back-end scheduler to the PDF printer. Every once in a while they tell me to use a raw driver for Windows but what does that mean.
So right now Windows can see and interact with my PDF printer but the file never gets made on the Linux machine. I have reinstalled the cups-pdf, created a pdf printer, and windows can see and connect to it but wants a driver. I am using Ubuntu 10.04 and Windows 7 and everything is up to date. What do I need to do?
View 3 Replies
View Related
Feb 11, 2009
I have the plugin installed ok and have pasted in a C source file that I know works and am getting the following errors, I think because the linker options need to be set in some way. I cannot copy the errors but they all complain of implicit declaration of functions like this: -
warning: implicit declaration of function strlen
But I have the headers included, is this a linker problem? Here is the code -
#include <stdio.h>
#include <math.h>
int main(){
[code]...
View 2 Replies
View Related
Sep 20, 2010
When I go to the kickoff menu and select the Cups Web Management, it just keeps openeing konqueror windows until I logout!
View 3 Replies
View Related
Jan 10, 2011
Ok have setup my printer under suse 11.3 just fine and printing perfectly, and have added the printer to a windows 7 client, but had to get the disk to install the windows driver. Is there any way that i can put the windows driver on the linux machine so that when i go to a windows client and want to add the printer, i can just connect to the printer and the windows driver will be installed over the network like it does with windows servers?
View 4 Replies
View Related
May 4, 2011
Background: I have a Desktop running Windows 7 Professional that has a Brother HL-2140 laserjet printer attached to it. I can successfully view the Windows 7 shares using SAMBA, but when I choose NETWORK PRINTER > WINDOWS PRINTER via SAMBA > BROWSE, I receive an error "NO PRINT SHARES - There were no print shares found. Please check that the Samba service is marked as trusted in your firewall configuration."
I have no firewall installed, the Windows printer is shared, and before I upgraded to Natty, all worked fine under Ubuntu Maverick. When I run the "testparm" command, I noticed that the line under [printers] states "browseable = No" even though in my smb.conf file it is set to "browseable = yes" (and I have changed/saved this file several times, using "sudo" with the same result).
I would like someone to look over my enclosed settings and see if there is a tweak I need to make in order to browse my Windows 7 shared printer.
[Code]...
View 2 Replies
View Related
Apr 21, 2010
I would like to know if it is possible to push or pull all Windows printers (about 1000) to Redhat Advanced Server? I know normally Samba comes into play, but there i can only make connection to 1 printer at the time. Also, I must then add the printers from the Windows Print Cluster by hand. Considering the huge amount of work AND the manageable aspects ( you will then have the printers on two servers), this is not an option.
So, can I connect from the RedHat server directly to the Windows Print cluster, or, if not, at least load all printers in the CUPS configuration at once? Then I have at least connection. It's a Windows 2003 R2 print cluster with RedHat 5.3 Advanced Server. Eventually the RedHat environment will be a cluster.
View 3 Replies
View Related
Feb 24, 2010
I have a printer configured on my Ubuntu server using CUPS amd made it available to the local network. The printer is recognized on my other Ubuntu machine without any problems.
But on my Suse laptop, the printer is not recognized. Using the YaST printer Configuations, I choose the option "Recieve Printer Information from Remote CUPS servers. But no printer is found.But... when I choose Do All Yout Printing Directly via One Remote CUPS server and enter the correct IP address (192.168.1.100), the printer is found andI am sure the printer info is broadcasted because it shows up on my second Ubuntu PC. But why is it not recognized by default on my Suse machine
View 2 Replies
View Related
Feb 26, 2010
I know this is listed somewhere but I cannot seem to find it -
How to I add a root users to access the 127.0.0.1:631 interface for CUPS?
View 1 Replies
View Related
Feb 27, 2011
Running: Ubuntu 10.10
I'm in a bind and I don't know how to get what I want. Nmap shows ipp running cups on port 631. Great, simple enough I uninstall cups, along with its dependencies. A new portscan reveals that the port is closed SUCCESS, but... Ubuntu Update Manager nags me @ every restart about the "important security" updates. I can't lock the version of cups in Synaptic, because cups is not installed! So you see I'm in a bind. If I have cups installed I have an open port, and if I uninstall cups the update manager nags me. What do I do? I've tried:
- stopping the cups service and issuing the chkconfig cups off command... (doesn't close the port)
- uninstalling cups... (update manager nags)
- fuser -k 631/tcp (great, but @ reboot the port is still open)
Please teach me how to close this port / stop this service / tell update manager to shove cups.....
View 8 Replies
View Related
Mar 18, 2010
I have a FC12 machine installed with CUPS and a CUPS-PDF printer. Printer are shared and works fine with this URL:
[URL]
I have both client machine Windows XP and Windows 7. Both has setup the above printer and print fine without any problem. I can get the PDF file from windows test print. The only problem is I face is wait for around 20 seconds for printer dialog prompt out when I press print button in Windows 7. However, my windows XP never t have this problem. The printer dialog prompt out immediately when I press print button.
View 2 Replies
View Related
Sep 21, 2010
I just setup a Ubuntu CUPS print server. However when I I try to browse to it, it tells me that I do not have permission to do so and does not let me see the printers or any shared folders.
View 5 Replies
View Related
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
Mar 22, 2011
I've been trying to figure this out for longer than I care to admit. We upgraded our print server (sysadmin) to 64 bit lucid and that moved our cups server from 1.3.7 to 1.4.3. We have a remote server that is still 1.3.7 (printhost1) but version difference doesn't seem to be relevant to the problem.
If I'm on console on sysadmin and do an lpr to a printer on printhost1, everything is copacetic. However, If I'm on a host that specifies "ServerName sysadmin" in its "/etc/cups/client.conf" access_log on sysadmin shows:
172.16.10.52 - - [22/Mar/2011:11:11:40 -0500] "POST /printers/103_hp4250 HTTP/1.1" 200 306 Create-Job client-error-not-authorized
and error_log shows:
E [22/Mar/2011:11:11:40 -0500] Returning IPP client-error-not-authorized for Create-Job (ipp://localhost:631/printers/103_hp4250) from 172.16.10.52
We've been using this method of sharing printers between locations for years and years so it not working now is a surprise.
cupsd.conf on sysadmin looks like this and is as open as I can imagine:
ServerName sysadmin
ServerAlias *
ServerAdmin webmaster
FileDevice Yes
SystemGroup staff
LogLevel info
code....
Additional symptoms are that only printers locally defined on sysadmin show up when the client uses System>Administration>Printing in gnome. Same thing when you browse printers in windows on our samba domain controller that backends on CUPS.
I just know that it's something simple that's going to make me facepalm but I'm at a loss.
View 6 Replies
View Related
Sep 18, 2010
we are having new printers. At the moment we over 1000 machines on multiple sites but no print server they are manually added on the machine ( I know don't ask).
Anyway there is no way they would let use a windows server so the only option I have is to use linux however I little unsure if it is capable of doing the job I need it to do. Basically I want to add the printers on the linux server either using samba or ipp (I would assume samba would be best).
The reason i want to do this is when we have to do around the machines I just want to go around the machines and just the map the printer and it brings down the driver and config etc as we want them to duplex. The issue is I been trying to gain information on the internet and getting conflicting information apparently I can add the windows driver onto the server so when I map the printer it brings it down. However some guides state you still have through the whole process of adding the printer and then choosing the driver etc. Which kinda of makes it pointless to do the printer server since I would already have to do this anyway if we don't have one.
I just want to go be able to go around the machines and for example click star run and do something like \192.168.1.1printer01 and then it done kind of thing.
View 2 Replies
View Related
Oct 28, 2010
I know the basic answer about how to create a class as ABC.But I don;'t know- - why I have to create a AbstractBaseClass. - In what situations it can be used.an example code base and not like a animal(base) and tiger(derived) relationship example.
View 2 Replies
View Related
Feb 12, 2010
I have installed Slackware 13 on one of the hard disks of my computer in order that I can get it working properly before changing over from 12.2.
My main problem is that I cannot get CUPS to change from 'Letter', which I presume is an American size, to A4, has anyone else had experience of this problem?
View 9 Replies
View Related
Apr 11, 2010
This is probably a really stupid thing to ask considering the development I'm doing (effectivly creating a virus scanner), but how do I link classes/cpp files?I have 3 applications/sections that I can compile/combine with a makefile, that's fine, but I need them to run 1, 2, 3 once the output from the makefile is done.Currently the only section to actually run is whichever I have "main" in and obviously if I put that into all three, they won't compile as one.I've been looking all over the place at all sorts, header files and such, but there is no mention of how toually do this although I'm sure it must be possible. I'm used to being able to do this in Java and I'm sure I've seen C++ applications do it, but not worked out how.I have 3x .cpp files which are combined into one using a makefile:
Code:
# Virus Scanner
scanner.out : ProgramList.o MD5Hash.o HazardCheck.o
[code]...
View 2 Replies
View Related
Feb 15, 2010
Is it possible to have a templated c++ stl container in another class without specifying the type prior to compile time? I haven't coded in c++ in a while and im at a total loss.
For example - Not real code. Just outlining the problem code...
View 1 Replies
View Related
Feb 4, 2010
facing a problem in declaring variables. i have a few classes like the one below...
Code:
#ifndef _FINANCE_H
#define_FINANCE_H
[code]....
View 1 Replies
View Related
Apr 2, 2011
I started taking CIT 101 (computer classes 101 LOL i know) as I am strict linux, in my house, purchasing office 2007 yes they require 2007 not 2010. Columbus State is tough on that, I need to be able to send documents in 2007 .docx in openoffice 3.3. The only computer that uses windows, is my grandparents and I don't want to buy Office if at all possible. I have like no money after all the text books. Teacher is strict it can not be .doc, odt. or other, needs to be .docx
View 9 Replies
View Related
Jan 6, 2011
I am fairly new to c++. There must be a better way to do the following?:- Say I have a base class, Pet. I have several child classes that extend from this, like Dog, Cat, Fish etc.
I have the following function, that returns a pointer to a new Pet:-
Code: Pet* addPetToVet()
{ //Do some stuff
return new Pet();
} This will return a pointer an instance of a pet object.
Now, if I want to interpret this pet as a dog or cat I have to do this:-
Code: Dog* dogA = static_cast<Dog*>(addPetToVet());
Cat* catA = static_cast<Cat*>(addPetToVet()); Is there a way around this? Casting seems lame. I cant write a function for each type of pet.
View 5 Replies
View Related