FedoraForum.org - Fedora Support Forums and Community
Page 1 of 3 123 LastLast
Results 1 to 15 of 36
  1. #1
    Join Date
    Feb 2008
    Location
    India
    Age
    36
    Posts
    210
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Coudn't print using Canon LBP 2900B

    Recently brought new printer Canon LBP 2900B.

    I have downloaded drivers form canon website ( http://support-in.canon-asia.com/con...900772410.html )

    When I switch on the printer, it will be detected.

    But when I click print button in any of document, it won't start printing. In job queue status shows "Processing". I have waited for 15 minuets printing didn't started.

    What is solution for this?

  2. #2
    Join Date
    Jun 2009
    Posts
    472
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    did yo install ghostscript as they indicate on that website?
    did you follow the instructions at http://opfc.sourceforge.jp/install.html.en ?? .. they have this URL link at the website you have given

  3. #3
    Join Date
    Feb 2008
    Location
    India
    Age
    36
    Posts
    210
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can also check it by typing the following command on the terminal.
    % gs -h | grep opvp

    If the Ghostscript has the OpenPrinting Driver Interface, you can see the text includes both "opvp" and "oprp" as following.
    lj5mono ljet2p ljet3 ljet3d ljet4 ljet4d ljetplus nullpage opvp oprp pbm
    I followed the above steps, to see whether ghostscript has already installed or not. According to those step ghostscript was already installed.

  4. #4
    Join Date
    Jun 2009
    Posts
    472
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    please run the following commands to see if you are properly set up

    to see if you have a default printer and what that printer ques name is type

    lpq

    try printing a page , while the printing attempt is going on go to a terminal and type lpq again to see if your job is queued

    lpq

    next cat /etc/printcap


    please post the results of those commands here.

    finally ,
    in Gnome desktop open the menu item system / administration / printing and see if you have a canon printer , if you do not , then see if you can add it through that gui.

    if you can not see it , or add it via that gui, then we will have to go back to square one, and try using the cups web interface to install the printer .. that interface is located by opening your browser and pointing to
    http://127.0.0.1:631

  5. #5
    Join Date
    Feb 2008
    Location
    India
    Age
    36
    Posts
    210
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Before printing
    $ lpq
    LBP2900 is ready
    no entries
    After issued printing for file
    lpq
    LBP2900 is ready and printing
    Rank Owner Job File(s) Total Size
    active user 19 OpenGL 236544 bytes
    cat /etc/printcap
    # This file was automatically generated by cupsd(8) from the
    # /etc/cups/printers.conf file. All changes to this file
    # will be lost.
    LBP2900|Canon LBP2900:rm=home1.pc:rp=LBP2900:
    PSC-1400-series|HP PSC 1400 series:rm=home1.pc:rp=PSC-1400-series:

  6. #6
    Join Date
    Jun 2009
    Posts
    472
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the readme file in the driver download contains detailed instructions , did you read all of it?

    README-capt-1.9xE.txt

    There are a number of things you need to have installed in Fedora before you install the TWO rpm files from inside the driver package, such as ghostscript and compat-libstdc++


    for instance from the readme:

    - If you are using the following distributions, you may not be able to install
    the printer driver successfully because "libstdc++.so.5" is not installed by
    default.
    In this case, perform the additional installation of the package.
    - For Fedora Core 4, Fedora Core 5, Fedora Core 6, Fedora 7, Fedora 8, Fedora
    9, Fedora 10, and RedHat Enterprise Linux 5.1
    -> Install the package (compat-libstdc++-33).
    - For Ubuntu 7.10 and Debian GNU/Linux 4.0
    -> Obtain the package (gcc-3.3-base or libstdc++5) from
    "http://lug.mtu.edu/ubuntu/pool/main/g/gcc-3.3/" to install it.
    Reference Information: http://ubuntuforums.org/showthread.php?t=674100
    - For Mandriva 2008 and Mandriva 2008 Spring
    -> Obtain the package (libstdc++5) from the standard mirror server etc. to
    install it.
    - For OpenSUSE 11.1
    -> Install the package (libstdc++33-.3.3-7.5.i586).

    - If you are using Fedora Core 5 or later, when SELinux is set to Enforcing or
    Permissive, you cannot print with the default settings. You can enable
    printing by changing the settings as follows.
    1) Open System menu ->[Administration] ->[Security Level and Firewall].
    2) Select [SELinux]tab ->[Modify SELinux Policy] ->[Printing].
    3) Check the 4 check boxes under [Printing].
    4) Click [OK] to close the window.

    - If you are using Fedora 7 or later, and if SELinux is set to Enforce, you need
    to install a policy package using the following method. (You do not need to
    install a policy package if Permissive is specified.)
    <Preparation>
    1) Install the printer driver package, then specify the settings for the
    printer.
    * Please see the online manual about the install method and the setting
    method.
    2) Check if the checkpolicy package is installed.
    # rpm -qa | grep checkpolicy
    If the package name is not displayed, install the package using the
    following command.
    # yum install checkpolicy
    3) Set SELinux to Enforcing.
    1. From the menu bar, select [System] - [Administration] - [SELinux
    Management].
    2. In the dialog box, set [System Default Enforcing Mode] to [Enforcing],
    and then click [OK].
    4) Restart Linux.
    <Creating and installing a policy package>
    1) Set SELinux to Permissive.
    # /usr/sbin/setenforce 0
    2) Print to the object printer.
    Example: Printing the CUPS text document to LBPxxxx
    # lpr -P LBPxxxx /usr/share/cups/data/testprint.ps
    3) Create a policy package.
    # audit2allow -M cncapt -l -i /var/log/audit/audit.log
    4) Install the policy package.
    # /usr/sbin/semodule -i cncapt.pp
    5) Restart Linux.

    - When performing banner printing in Fedora 8 or Fedora 9, if you specify a
    setting other than [none] for [End] under [Banner] in the [General] sheet, the
    print queue will stop.

    - If you are using Fedora 9, restarting the CCPD daemon may stop the kernel.
    You can avoid this problem by updating the kernel to
    "kernel-2.6.25.14-108.fc9".

    - If you are using Fedora 10, specifying [Pretty Print] in the text file printing
    options of the [Filter] sheet does not affect the print result.

    once you have installed the rpms , you should be able to turn the printer on , leave it on and reboot , and have everything come up.

    Can you detail out the steps you took in the install? Can you provide a screenshot of the properties page of your printer from inside teh system administration printing menu

  7. #7
    Join Date
    Feb 2008
    Location
    India
    Age
    36
    Posts
    210
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Steps I took are...

    1. First Checked for Ghostscript..

    2. Next downloaded drivers. Installed it.. It automatically asked to install dependency... I guess dependency had libstdc also

    That's all I did.

    Only one thing I din't did is SELinux configuration..

    - If you are using Fedora 7 or later, and if SELinux is set to Enforce, you need
    to install a policy package using the following method. (You do not need to
    install a policy package if Permissive is specified.)
    <Preparation>
    1) Install the printer driver package, then specify the settings for the
    printer.
    * Please see the online manual about the install method and the setting
    method.
    2) Check if the checkpolicy package is installed.
    # rpm -qa | grep checkpolicy
    If the package name is not displayed, install the package using the
    following command.
    # yum install checkpolicy
    3) Set SELinux to Enforcing.
    1. From the menu bar, select [System] - [Administration] - [SELinux
    Management].
    2. In the dialog box, set [System Default Enforcing Mode] to [Enforcing],
    and then click [OK].
    4) Restart Linux.
    <Creating and installing a policy package>
    1) Set SELinux to Permissive.
    # /usr/sbin/setenforce 0
    2) Print to the object printer.
    Example: Printing the CUPS text document to LBPxxxx
    # lpr -P LBPxxxx /usr/share/cups/data/testprint.ps
    3) Create a policy package.
    # audit2allow -M cncapt -l -i /var/log/audit/audit.log
    4) Install the policy package.
    # /usr/sbin/semodule -i cncapt.pp
    5) Restart Linux.
    I followed above steps for SELinux config. But this command "audit2allow -M cncapt -l -i /var/log/audit/audit.log" gave wired output.

    compilation failed:
    cncapt.te:6:ERROR 'syntax error' at token '' on line 6:


    /usr/bin/checkmodule: error(s) encountered while parsing configuration
    /usr/bin/checkmodule: loading policy configuration from cncapt.te
    Also now printing queue is behaving wiredly. Now when I press print and see print job queue. I can see job in queue but print job vanishes form queue with in few seconds.

  8. #8
    Join Date
    Dec 2007
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got this working. Check out my thread http://forums.fedoraforum.org/showthread.php?t=240307
    Mattywix

    "For once you have tasted flight you will walk the earth with your eyes turned skywards, for there you have been and there you will long to return." - Leonardo da Vinci speaks of his joy at experiencing Linux

  9. #9
    Join Date
    Jun 2009
    Posts
    472
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks mattywix

    Anji_fedora , the instructions for this from mattywix are for a Fedora 12 x86_64 install

    you will need to adjust the directions if you are using regular Fedora for 32 bit

    Recompiling the rpms for 64 fedora is simple enough , if you need to do that and need more help , i will be happy to lend a hand..

  10. #10
    Join Date
    Dec 2007
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    By the way Anji_fedora your problem of the print job vanishing is specifically because you havent set up SELinux correctly. I had the same thing! Do it the same way as my post - first set SELInux permissive, then print, that way you get the audit log message, then generate the policy, then load the policy, reboot.
    Mattywix

    "For once you have tasted flight you will walk the earth with your eyes turned skywards, for there you have been and there you will long to return." - Leonardo da Vinci speaks of his joy at experiencing Linux

  11. #11
    Join Date
    Dec 2007
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dont forget to set SELinux back to enforcing

    ---------- Post added at 04:09 PM CST ---------- Previous post was at 04:08 PM CST ----------

    Madhavdiwan, I moved my comment to my other thread were its about 64 bit, since this thread is 32bit, you might want to move your comment across there too?
    Mattywix

    "For once you have tasted flight you will walk the earth with your eyes turned skywards, for there you have been and there you will long to return." - Leonardo da Vinci speaks of his joy at experiencing Linux

  12. #12
    Join Date
    Feb 2008
    Location
    India
    Age
    36
    Posts
    210
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    After executing this command

    rpmbuild -ba cndrvcups-common.spec
    ( error was redirected $ rpmbuild -ba cndrvcups-common.spec 2> error.txt )

    + umask 022
    + cd /home/pavan/rpmbuild/BUILD
    + LANG=C
    + export LANG
    + unset DISPLAY
    + cd /home/pavan/rpmbuild/BUILD
    + rm -rf cndrvcups-common-1.90
    + /usr/bin/gzip -dc /home/pavan/rpmbuild/SOURCES/cndrvcups-common-1.90-1.tar.gz
    + /bin/tar -xf -
    + STATUS=0
    + '[' 0 -ne 0 ']'
    + cd cndrvcups-common-1.90
    + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
    + cd buftool
    + ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --libdir=/usr/lib64 --disable-shared --enable-static
    autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
    autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
    autoheader: WARNING: is deprecated and discouraged.
    autoheader:
    autoheader: WARNING: Using the third argument of `AC_DEFINE' and
    autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
    autoheader: WARNING: `acconfig.h':
    autoheader:
    autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
    autoheader: [Define if a function `main' is needed.])
    autoheader:
    autoheader: WARNING: More sophisticated templates can also be produced, see the
    autoheader: WARNING: documentation.
    configure.in:6: installing `./install-sh'
    configure.in:6: installing `./missing'
    Makefile.am: installing `./INSTALL'
    Makefile.am: installing `./COPYING' using GNU General Public License v3 file
    Makefile.am: Consider adding the COPYING file to the version control system
    Makefile.am: for your code, to avoid questions about which license your project uses.
    Makefile.am: installing `./depcomp'
    configure: WARNING: unrecognized options: --disable-shared, --enable-static
    configure: WARNING: unrecognized options: --disable-shared, --enable-static
    + cd ../cpca
    + ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --libdir=/usr/lib64 --enable-shared --disable-static
    autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
    autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
    autoheader: WARNING: is deprecated and discouraged.
    autoheader:
    autoheader: WARNING: Using the third argument of `AC_DEFINE' and
    autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
    autoheader: WARNING: `acconfig.h':
    autoheader:
    autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
    autoheader: [Define if a function `main' is needed.])
    autoheader:
    autoheader: WARNING: More sophisticated templates can also be produced, see the
    autoheader: WARNING: documentation.
    configure.in:24: installing `./config.guess'
    configure.in:24: installing `./config.sub'
    configure.in:5: installing `./install-sh'
    configure.in:5: installing `./missing'
    cnpklib/Makefile.am: installing `./depcomp'
    Makefile.am: installing `./INSTALL'
    Makefile.am: installing `./COPYING' using GNU General Public License v3 file
    Makefile.am: Consider adding the COPYING file to the version control system
    Makefile.am: for your code, to avoid questions about which license your project uses.
    + cd ../cngplp
    + ./autogen.sh --libdir=/usr/lib64
    autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
    autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
    autoheader: WARNING: is deprecated and discouraged.
    autoheader:
    autoheader: WARNING: Using the third argument of `AC_DEFINE' and
    autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
    autoheader: WARNING: `acconfig.h':
    autoheader:
    autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
    autoheader: [Define if a function `main' is needed.])
    autoheader:
    autoheader: WARNING: More sophisticated templates can also be produced, see the
    autoheader: WARNING: documentation.
    configure.in:12: installing `./config.guess'
    configure.in:12: installing `./config.sub'
    configure.in:4: installing `./install-sh'
    configure.in:4: installing `./missing'
    cngplpmod/Makefile.am: installing `./depcomp'
    + exit 0
    + umask 022
    + cd /home/pavan/rpmbuild/BUILD
    + cd cndrvcups-common-1.90
    + LANG=C
    + export LANG
    + unset DISPLAY
    + make
    In file included from cngplpmod.c:27:
    cngplpmod.h:31:23: error: cups/cups.h: No such file or directory
    cngplpmod.c:38: error: expected declaration specifiers or '...' before 'cups_dest_t'
    cngplpmod.c:39: error: expected declaration specifiers or '...' before 'cups_dest_t'
    cngplpmod.c:41: error: expected declaration specifiers or '...' before 'cups_dest_t'
    cngplpmod.c: In function 'cngplpInitOptions':
    cngplpmod.c:138: error: 'cups_dest_t' undeclared (first use in this function)
    cngplpmod.c:138: error: (Each undeclared identifier is reported only once
    cngplpmod.c:138: error: for each function it appears in.)
    cngplpmod.c:138: error: 'all_dests' undeclared (first use in this function)
    cngplpmod.c:139: error: 'curr_dest' undeclared (first use in this function)
    cngplpmod.c:142: warning: implicit declaration of function 'cupsGetDests'
    cngplpmod.c:147: warning: implicit declaration of function 'cupsGetDest'
    cngplpmod.c:160: error: too many arguments to function 'SetCupsStoreOption'
    cngplpmod.c:175: error: too many arguments to function 'SetPPDStoreOption'
    cngplpmod.c:179: error: too many arguments to function 'SetPPDStoreUIValue'
    cngplpmod.c:188: warning: implicit declaration of function 'cupsFreeDests'
    cngplpmod.c: In function 'GetPrinterInfo':
    cngplpmod.c:205: error: 'cups_dest_t' undeclared (first use in this function)
    cngplpmod.c:205: error: 'all_dests' undeclared (first use in this function)
    cngplpmod.c:206: error: 'curr_dest' undeclared (first use in this function)
    cngplpmod.c: At top level:
    cngplpmod.c:294: error: expected declaration specifiers or '...' before 'cups_dest_t'
    cngplpmod.c: In function 'SetPPDStoreOption':
    cngplpmod.c:298: error: 'cups_option_t' undeclared (first use in this function)
    cngplpmod.c:298: error: 'opt' undeclared (first use in this function)
    cngplpmod.c:313: error: 'curr_printer' undeclared (first use in this function)
    cngplpmod.c:330: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:330: warning: value computed is not used
    cngplpmod.c:330: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:342: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:342: warning: value computed is not used
    cngplpmod.c:342: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:344: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:344: warning: value computed is not used
    cngplpmod.c:344: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:374: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:374: warning: value computed is not used

  13. #13
    Join Date
    Feb 2008
    Location
    India
    Age
    36
    Posts
    210
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Continued...

    cngplpmod.c:374: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:377: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:377: warning: value computed is not used
    cngplpmod.c:377: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:379: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:379: warning: value computed is not used
    cngplpmod.c:379: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:381: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:381: warning: value computed is not used
    cngplpmod.c:381: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:388: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:388: warning: value computed is not used
    cngplpmod.c:388: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:390: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:390: warning: value computed is not used
    cngplpmod.c:390: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:396: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:396: warning: value computed is not used
    cngplpmod.c:396: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:398: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:398: warning: value computed is not used
    cngplpmod.c:398: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:400: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:400: warning: value computed is not used
    cngplpmod.c:400: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:403: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:403: warning: value computed is not used
    cngplpmod.c:403: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:406: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:406: warning: value computed is not used
    cngplpmod.c:406: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:409: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:409: warning: value computed is not used
    cngplpmod.c:409: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:412: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:412: warning: value computed is not used
    cngplpmod.c:412: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:415: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:415: warning: value computed is not used
    cngplpmod.c:415: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:418: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:418: warning: value computed is not used
    cngplpmod.c:418: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:421: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:421: warning: value computed is not used
    cngplpmod.c:421: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:424: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:424: warning: value computed is not used
    cngplpmod.c:424: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:426: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:426: warning: value computed is not used
    cngplpmod.c:426: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:427: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:427: warning: value computed is not used
    cngplpmod.c:427: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:429: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:429: warning: value computed is not used
    cngplpmod.c:429: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:431: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:431: warning: value computed is not used
    cngplpmod.c:431: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:446: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:446: warning: value computed is not used
    cngplpmod.c:446: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:448: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:448: warning: value computed is not used
    cngplpmod.c:448: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:450: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:450: warning: value computed is not used
    cngplpmod.c:450: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:452: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:452: warning: value computed is not used
    cngplpmod.c:452: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:454: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:454: warning: value computed is not used
    cngplpmod.c:454: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:456: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:456: warning: value computed is not used
    cngplpmod.c:456: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:458: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:458: warning: value computed is not used
    cngplpmod.c:458: warning: left-hand operand of comma expression has no effect
    cngplpmod.c: At top level:
    cngplpmod.c:496: error: expected declaration specifiers or '...' before 'cups_dest_t'
    cngplpmod.c: In function 'SetCupsStoreOption':
    cngplpmod.c:500: error: 'cups_option_t' undeclared (first use in this function)
    cngplpmod.c:500: error: 'opt' undeclared (first use in this function)
    cngplpmod.c:502: error: 'curr_printer' undeclared (first use in this function)
    cngplpmod.c:504: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:504: warning: value computed is not used
    cngplpmod.c:504: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:506: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:506: warning: value computed is not used
    cngplpmod.c:506: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:509: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:509: warning: value computed is not used
    cngplpmod.c:509: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:545: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:545: warning: value computed is not used
    cngplpmod.c:545: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:549: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:549: warning: value computed is not used
    cngplpmod.c:549: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:553: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:553: warning: value computed is not used
    cngplpmod.c:553: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:557: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:557: warning: value computed is not used
    cngplpmod.c:557: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:561: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:561: warning: value computed is not used
    cngplpmod.c:561: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:565: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:565: warning: value computed is not used
    cngplpmod.c:565: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:569: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:569: warning: value computed is not used
    cngplpmod.c:569: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:573: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:573: warning: value computed is not used
    cngplpmod.c:573: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:576: warning: left-hand operand of comma expression has no effect
    cngplpmod.c:576: warning: value computed is not used
    cngplpmod.c:576: warning: left-hand operand of comma expression has no effect
    cngplpmod.c: In function 'CreatePPDOptions':
    cngplpmod.c:596: warning: implicit declaration of function 'cupsGetPPD'
    cngplpmod.c:596: warning: cast to pointer from integer of different size
    cngplpmod.c: In function 'DeletePPDOptions':
    cngplpmod.c:664: warning: implicit declaration of function 'unlink'
    cngplpmod.c: At top level:
    cngplpmod.c:699: error: expected declaration specifiers or '...' before 'cups_dest_t'
    cngplpmod.c: In function 'SetPPDStoreUIValue':
    cngplpmod.c:702: error: 'cups_option_t' undeclared (first use in this function)
    cngplpmod.c:702: error: 'opt' undeclared (first use in this function)
    cngplpmod.c:702: error: 'curr_printer' undeclared (first use in this function)
    cngplpmod.c: In function 'CheckJobAccount':
    cngplpmod.c:762: warning: implicit declaration of function 'getuid'
    make[3]: *** [cngplpmod.lo] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all] Error 2
    make: *** [all] Error 1
    error: Bad exit status from /var/tmp/rpm-tmp.8cBbIq (%build)
    Bad exit status from /var/tmp/rpm-tmp.8cBbIq (%build)

  14. #14
    Join Date
    Dec 2007
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you have cups-libs and cups-devel installed?
    yum -y install cups-libs cups-devel
    Mattywix

    "For once you have tasted flight you will walk the earth with your eyes turned skywards, for there you have been and there you will long to return." - Leonardo da Vinci speaks of his joy at experiencing Linux

  15. #15
    Join Date
    Feb 2008
    Location
    India
    Age
    36
    Posts
    210
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Again I get same problem...

    # audit2allow -M cncapt -l -i /var/log/audit/audit.log

    compilation failed:
    cncapt.te:6:ERROR 'syntax error' at token '' on line 6:


    /usr/bin/checkmodule: error(s) encountered while parsing configuration
    /usr/bin/checkmodule: loading policy configuration from cncapt.te


    ---------- Post added at 08:00 PM CST ---------- Previous post was at 07:26 PM CST ----------

    SELinux setup over.

    But when I click enable in policy. It automatically gets dissabled.

    ---------- Post added at 08:04 PM CST ---------- Previous post was at 08:00 PM CST ----------

    Now
    # audit2allow -M cncapt -l -i /var/log/audit/audit.log
    executed successfully.

    But when I press enable in Policy of printer property and press print button it automatically gets unchecked.

Page 1 of 3 123 LastLast

Similar Threads

  1. Cannot print to canon LBP 3050 with F12
    By samuelpoon in forum Hardware
    Replies: 7
    Last Post: 19th October 2009, 03:27 PM
  2. No print output with Canon Pixma i4500
    By douwat in forum Hardware
    Replies: 3
    Last Post: 22nd November 2008, 01:10 PM
  3. Canon IP5200 print quality
    By Darthter in forum Using Fedora
    Replies: 1
    Last Post: 6th August 2007, 12:08 PM
  4. Canon i965 and CD Label Print
    By psyklops in forum Hardware
    Replies: 0
    Last Post: 15th May 2006, 02:09 PM
  5. Canon S300 printer - Print issue
    By crobard in forum Hardware
    Replies: 0
    Last Post: 19th May 2005, 05:52 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •