Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: jcc on August 07, 2009, 09:57:38 AM

Title: CUPs seems to work but i can't install the printer (missing libxml)
Post by: jcc on August 07, 2009, 09:57:38 AM
Hi.
First thanks for that great distribution of SME server.
No compare to everything i tried before (e.g. ubuntu- and debian-server).

Because the default-printer-component (LRP?) did not work with my printer, I installed CUPS.
It seems to work (I logged in the web-frontend) but i can't install my printer: a Canon pixma iP4000.

I tried it this way: download of
ftp://download.canon.jp/pub/driver/bj/linux/bjfilter-common-3.50-2.i386.rpm
ftp://download.canon.jp/pub/driver/bj/linux/bjfilter-pixusip4100-lprng-2.50-2.i386.rpm
ftp://download.canon.jp/pub/driver/bj/linux/bjfilter-pixusip4100-2.50-2.i386.rpm

But when i try
Code: [Select]
yum localinstall bjfilter-common-2.50-3.i386.rpm
i get this
Code: [Select]
Error: Missing Dependency: libxml is needed by package bjfilter-common

What do i have to install too?

Another bug: When i click the "printer"-link in the sme-server-web-frontend i get this error:
Code: [Select]
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Thanks for any help...
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: Jáder on August 07, 2009, 03:38:23 PM
I´m not sure if you follow this: http://wiki.contribs.org/Cups

If you don´t... you should :)

Step back your steps and follow the wiki.

Thanks

Jáder
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: janet on August 07, 2009, 04:51:40 PM
jcc

Quote
Because the default-printer-component (LRP?) did not work with my printer, I installed CUPS.
It seems to work (I logged in the web-frontend) but i can't install my printer: a Canon pixma iP4000.

Installing CUPS will not benefit you, assuming you are using Windows workstations.

You do not install printer drivers onto sme server.
In a typical Windows workstation environment you install the printer driver onto each Windows workstation.
The standard lprng raw printing should work OK for most printers, except those that require bidirectional "talk" with Windows, or those that use some of the processor power in your Windows workstation.

You need to use "standalone" type printers.
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: Jáder on August 07, 2009, 10:06:47 PM
jcc
Installing CUPS will not benefit you, assuming you are using Windows workstations.
Not really 100% right... if you have a winprinter MAY have a way to do they work using foomatics and CUPS.
Quote
You do not install printer drivers onto sme server.
again, not 100% right... you CAN install printer drivers on sme server and have them deployed on windows computer when you connect to printer: http://wiki.contribs.org/Printer_Drivers_for_Windows_Workstations

Quote
In a typical Windows workstation environment you install the printer driver onto each Windows workstation.
in a typical Windwos workstation environment using raw printing you install the printer driver on each windows workstation. When using server side processing (something CUPS is capable of!) you can install a generic PS driver in each computer with a printer name as "Financial Printer" and user will not care about what printer is on financial depto, just will get they job there! If you change printer, all you need to do is update server side configuration (on CUPS) to process the request. It´s A LOT of work... or not! ;)

Quote
You need to use "standalone" type printers.
That´s not you only option... just easier one.

Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: janet on August 08, 2009, 02:08:37 AM
jader

Your answers clarifying and qualifying are valuable.

My answers were given in the context of the original posters (OP) question and my reading/interpretation of OPs issues.

OP was trying to install Canon linux drivers directly to sme server which did NOT appear to be appropriate in the OP's situation, assuming OP was using Windows workstations (and using raw printing), which seemed a reasonable assumption as OP did try the standard sme printing system first.

OP also did not appear to be talking about deploying printer drivers from sme (which is not a typical or standard configuration).

As OP seemed unsure of printing concepts, I was keeping answers at a basic level.

Your answers are for an advanced user with specific needs and requirements, and may well be "an answer" if OP wants to pursue advanced configuration.
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: Jáder on August 08, 2009, 03:23:33 AM
Mary

I'm sorry... I did not want to offend you.
I'm sorry if I got too technical. I was just registering options for someone else who may search the forum in future.

Sorry! :$

Jáder
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: jcc on August 08, 2009, 12:56:09 PM
Hi.

i deleted my just written posting, because i forget the verification...
:(
So one more time but now much more shorter:
   
I removed cups and (re-)installed LPrng.
I added my printer via 1st usb. (i could not found the "standalone"-option)

Code: [Select]
usb 2-3: new full speed USB device using address 5
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04A9 pid 0x1093
[root@server ~]#

I found the printer in the network and installed the driver on my windows-notebook.

Now i can send printing-jobs but the printer still does nothing.

In the server-manager adress and remotename are N/A. I think this is ok for a local printer.

Where can i screw?
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: janet on August 08, 2009, 02:03:35 PM
jcc

Sorry, I couldn't resist answering this, although I guess there is a language issue here.

Quote
Where can i screw?

Anywhere the mood takes you !
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: jcc on August 08, 2009, 02:14:41 PM
Hmmm,
sorry i translated this 1:1 from german.

Seems to have another meaning in english...
;)
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: janet on August 08, 2009, 02:44:36 PM
jcc

Quote
I added my printer via 1st usb
In the server-manager adress and remotename are N/A. I think this is ok for a local printer.

Those should be OK. Have you plugged the printer into USB1 on the server ?
It might also be worth restarting the server, while the printer power is on.

Quote
i could not found the "standalone"-option

It's not an option, it is just a generic term for a type of printer that is not dependent on any operating system or requiring support from the computer processor eg commonly called a Winprinter as it requires processing power from a computer running a Windows OS, or a printer requiring bidirectional talk between workstations and printer in order for all functions to operate eg multi function printers/devices.

Code: [Select]
usb 2-3: new full speed USB device using address 5
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04A9 pid 0x1093
[root@server ~]#

What is that code you are quoting, when and where do you see that ?


Quote
I found the printer in the network and installed the driver on my windows-notebook.
Now i can send printing-jobs but the printer still does nothing.

When you setup the printer in server manager, you would have given it a name eg pixma4000. So you should point your Windows printer driver port at that network printer share name ie //server/pixma4000 (or whatever your server and printer names are).

To test that your printer driver is installed correctly on your Windows workstation and that it is talking to your printer correctly, please connect the printer directly to a USB port on your workstation, configuring the printer driver for the correct USB port as necessary. This should prove if it all works OK before connecting the printer to the server.

Quote
Where can i screw?

I just cannot work out what this should have translated to, but I hope it has been answered by the above answers/suggestions.
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: jcc on August 08, 2009, 03:01:50 PM
Quote
Have you plugged the printer into USB1 on the server? It might also be worth restarting the server, while the printer power is on.
Yes. First i did not found the printer in dmesg, so i switched it off/on and then i found that code in dmesg.

Quote
It's not an option, it is just a generic term for a type of printer that is not dependent on any operating system or requiring support from the computer processor eg commonly called a Winprinter as it requires processing power from a computer running a Windows OS, or a printer requiring bidirectional talk between workstations and printer in order for all functions to operate eg multi function printers/devices.
Ok. You saw that it is a bidirectional printer, but i do not need the bidirectional features.
Once I used a debian-server the printer worked as a networkprinter , but i used cups.
 
Quote
Code: [Select]
usb 2-3: new full speed USB device using address 5
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04A9 pid 0x1093
[root@server ~]#

What is that code you are quoting, when and where do you see that ?
I just wrote above.

Quote
When you setup the printer in server manager, you would have given it a name eg pixma4000. So you should point your Windows printer driver port at that network printer share name ie //server/pixma4000 (or whatever your server and printer names are).

To test that your printer driver is installed correctly on your Windows workstation and that it is talking to your printer correctly, please connect the printer directly to a USB port on your workstation, configuring the printer driver for the correct USB port as necessary. This should prove if it all works OK before connecting the printer to the server.
I did. Locally connected everything worked fine.
:)

If you have a real complicated and complex system, you describe all the switches and possibilities as "screws", that you can screw up in the one or other direction.
But i think it won't improve my situation., so i better stop writing about "screwing"...
;)
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: janet on August 08, 2009, 04:23:18 PM
jcc

Quote
Locally connected everything worked fine.

OK that suggests the Windows printer driver is the correct driver, and that it is installed correctly and that the printer does work.

Therefore something is wrong with how the Windows workstation is talking to the printer via the sme server. As sme passes raw data to the printer then it is not changing the data sent to the printer in any way, so it's a puzzle then.

It may well be that the printer itself requires bidirectional information in order to function correctly. You best check with the printer manufacturer/specifications etc.
If you required CUPS on another Linux system when using that printer then maybe that will also be required on sme.

Have you tried another printer to ensure your whole setup is valid ?

You could try installing the print queue monitor to see if jobs sent from the printer actually get queued, but I think doing that will only be of diagnostic value at this time.
http://wiki.contribs.org/LPRng_print_queue_monitor

It sounds to me that the problem is with your printer, and as such it may require advanced configuration on sme, if it is possible to get it working.
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: jcc on August 09, 2009, 12:06:57 PM
Hi Mary,
i installed the print queue.
the printer pixma is shown, but when i choose the printer to watch the queue, the plugin says "Not a LPRng print queue - no admin commands available".
:(

For sure i tried "Print Test Page" but the printjob is wether shown in the queue nor printed...
:(

In the logs i could not find anything that could help.
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: Jáder on August 09, 2009, 05:01:33 PM
jcc,
Please tell us what is your brand and model printer. (eg. HP 2035N).
I' suspecting you're triyng to use a winprinter on SME raw mode.
If it's a Canon Pixma 4000 it works on linux, but I suspect just using CUPS (see link above): http://openprinting.org/show_printer.cgi?recnum=Canon-PIXMA_iP4000
Jáder
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: janet on August 09, 2009, 05:09:24 PM
jaderl

In jcc's first post
Canon pixma iP4000
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: jcc on August 09, 2009, 06:56:17 PM
Hi.
Yes. it seems that i have to try it one more time with cups.
You hyperlinked openprinting.org with the gutenprint drivers.

Do i have to install them on the sme server?
I tried (what may be was rong), but it also did not work because the lbs-version was too old (<3.1).

I can't find the PPD-files (which are named in the wiki) for the Canon Pixma iP4000.

Regards
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: Jáder on August 10, 2009, 01:29:34 PM
Hi.
Yes. it seems that i have to try it one more time with cups.
You hyperlinked openprinting.org with the gutenprint drivers.

Do i have to install them on the sme server?
I tried (what may be was rong), but it also did not work because the lbs-version was too old (<3.1).
hum... taht can be a problem.... I' not sure because I do not own IP4000.
You must to put CUPS to work on your SME than install your printer.
I pointed you to openprinting because this is my reference to winprinter driver for CUPS. I just used it once to do a winprinter work (hp820cxi or something like that... +3years ago).
You should look for ppd or anything else needed to do your printer work with CUPS ... AFTER your have CUPS working on SME.
MAYBE you may have lib version problems... and will have to deal with it.
Sorry... this point beyond I cannot help you more...I wish I could!

I can't find the PPD-files (which are named in the wiki) for the Canon Pixma iP4000.

Regards
[/quote]
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: jcc on August 10, 2009, 04:49:30 PM
hi jader,
i think i will avoid that pixma-problem by simply changing it against my other printer, a Brother laserprinter.

The nice features of the pixma (e.g. cd-printing or status information about ink) do anyway not work withoout directional connection, so the laserprinter even seems to be the better choice for a network-printer.

i will report when i succeeded in installing it.

thanks anyway.
:)
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: Alexus1978 on September 08, 2009, 09:38:44 AM
Hello,

do you have any solution for the "Internal Server Error"?
I have the same problem with my SME-Server 7.4-Installation.
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: Stefano on September 08, 2009, 09:50:20 AM
Hello,

do you have any solution for the "Internal Server Error"?
I have the same problem with my SME-Server 7.4-Installation.

what "internal server error" are you referring to?

Stefano
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: Alexus1978 on September 08, 2009, 09:56:19 AM
Hello,

when i click the "printer"-link in the sme-server-web-frontend after the installation of CUPS I got an errormessage in the Webbrowser :

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Title: Re: CUPs seems to work but i can't install the printer (missing libxml)
Post by: Stefano on September 08, 2009, 10:09:20 AM
did you take a look at the
Quote
More information about this error may be available in the server error log.
?

Stefano