how to connect ubuntu(11.10) network printer on centos(6.2)?

Assuming that the printer on CentOS is shared, you should go to the printer manager tool: System->Administration->Printing. Select add new printer, and go to the Network Printer options. It should help you get to the remote printer from there. If for some reason the tool doesn't run, then run it with the command "sudo system-config-printer".

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.