I found the reason behind cups not connecting to the printer. It is the
firewall (ufw) that was blocking the lpd connection to the printer.

This is my firewall setting when it is active. I tried to print with
firewall disabled and it worked.

sudo ufw status numbered
Status: active

     To                         Action      From
     --                         ------      ----
[ 1] 53,137,138/udp             ALLOW OUT   Anywhere (out)
[ 2] 20,21,22,25,80,139,443,5900,8001/tcp ALLOW OUT   Anywhere (out)
[ 3] 23                         ALLOW OUT   Anywhere (out)
[ 4] Anywhere                   DENY OUT    Anywhere (out)


So problem resolved and I'm sorry for the unnecessary bug complain!

Regards!

Rakitha

On Wed, Sep 22, 2010 at 6:33 PM, Till Kamppeter
<645...@bugs.launchpad.net>wrote:

> The error_log shows the following:
>
> D [22/Sep/2010:17:44:45 -0400] [Job 45] STATE: +connecting-to-device
> D [22/Sep/2010:17:44:45 -0400] [Job 45] Looking up "confsrv.jlab.org"...
> D [22/Sep/2010:17:44:45 -0400] [Job 45] Connecting to confsrv.jlab.org:515for 
> printer cs07
> D [22/Sep/2010:17:44:45 -0400] [Job 45] Connecting to printer...
> D [22/Sep/2010:17:44:45 -0400] [Job 45] Connection error: Connection timed
> out
> D [22/Sep/2010:17:44:45 -0400] [Job 45] Connection error: Connection timed
> out
> D [22/Sep/2010:17:44:45 -0400] [Job 45] Job canceled by "rakitha"
>
> It seems that the printer is not reachable through the network.
>
> Does your browser show the printer's configuration interface if your go
> to http://confsrv.jlab.org/ or to https://confsrv.jlab.org/?
>
> Is your printer correctly configured that it accepts jobs via LPD (Unix
> printing, port 515)?
>
> Have you tried to access your printer with other methods? If you run
> system-config-printer and click the "Add" button, you get all detected
> printers listed. If yours is under the network printers, select it and
> do the further steps of the wizard. Can you print with this new print
> queue?
>
> Can you run the following commands in a terminal window:
>
> sudo apt-get install nmap
> nmap confsrv.jlab.org
>
>
> ** Changed in: cups (Ubuntu)
>       Status: New => Incomplete
>
> --
> cups printer was properly installed and working under 10.04 LTS. Once I
> upgrade it to 10.10, it is no longer working.
> https://bugs.launchpad.net/bugs/645603
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “cups” package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: cups
>
> I can configure the printer using http://localhost:631/ but when ever I
> try to print, unable to connect to the printer. This was properly setup and
> working under 10.04LTS.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.10
> Package: cups 1.4.4-5
> ProcVersionSignature: Ubuntu 2.6.35-22.32-generic 2.6.35.4
> Uname: Linux 2.6.35-22-generic i686
> Architecture: i386
> CheckboxSubmission: ffa3d2d0c4718eaab1c61654f53d624d
> CheckboxSystem: b633b4f40868d491c2ae5b50030ce6f3
> Date: Wed Sep 22 17:53:27 2010
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> Lpstat: device for Xerox-WorkCentre-7328-7335-7345-2: lpd://
> confsrv.jlab.org/cs07
> MachineType: Sony Corporation VGN-NR220E
> Papersize: letter
> PccardctlIdent:
>  Socket 0:
>   no product info available
> PccardctlStatus:
>  Socket 0:
>   no card
> PpdFiles: Xerox-WorkCentre-7328-7335-7345-2: Xerox WorkCentre
> 7328/7335/7345
> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic
> root=UUID=3ce8501a-eb40-41fb-8073-68d0913a130e ro quiet splash
> ProcEnviron:
>  PATH=(custom, user)
>  LANG=en_US.utf8
>  SHELL=/bin/bash
> SourcePackage: cups
> dmi.bios.date: 10/23/2007
> dmi.bios.vendor: Phoenix Technologies LTD
> dmi.bios.version: R1101J9
> dmi.board.asset.tag: N/A
> dmi.board.name: VAIO
> dmi.board.vendor: Sony Corporation
> dmi.board.version: N/A
> dmi.chassis.asset.tag: N/A
> dmi.chassis.type: 10
> dmi.chassis.vendor: Sony Corporation
> dmi.chassis.version: N/A
> dmi.modalias:
> dmi:bvnPhoenixTechnologiesLTD:bvrR1101J9:bd10/23/2007:svnSonyCorporation:pnVGN-NR220E:pvrC3LQM96U:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
> dmi.product.name: VGN-NR220E
> dmi.product.version: C3LQM96U
> dmi.sys.vendor: Sony Corporation
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/cups/+bug/645603/+subscribe
>


-- 
Rakitha Beminiwattha
(Research Assistant)
office F386
12000 Jefferson ave
Suite # 16
Newport News, Va 23606
Tel No. 757 269 6453

-- 
cups printer was properly installed and working under 10.04 LTS. Once I upgrade 
it to 10.10, it is no longer working.
https://bugs.launchpad.net/bugs/645603
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to