Find the answer to your Linux question:
Results 1 to 1 of 1
Hello. A week ago, I installed a application written in Java, which caused me such problems to the system, that I had to reinstall it, and not install that application, ...
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    86

    [SOLVED] Connection to CUPS Server: Yes. But printer not printing.

    Hello.
    A week ago, I installed a application written in Java, which caused me such problems to the system, that I had to reinstall it, and not install that application, for the moment.

    Then I missconfigured the settings of my printer server, and had to get a new default cupsd.conf file, to get connected again with the printer server.

    I deleted all the old cupsd.conf files, and got a sample configuration file for the Common UNIX Printing System (CUPS) (cupsd.conf file) from the Internet.

    Then did this from the console:

    root@MM6:~# grep -v '^#' /etc/cups/cupsd.conf |strings
    ServerName 127.0.0.1
    LogLevel info
    ConfigFilePerm 0644
    Listen 127.0.0.1:631
    BrowseShortNames No
    BrowseAllow 127.0.0.1
    BrowseAllow @LOCAL
    BrowseDeny All
    ImplicitClasses Off
    RootCertDuration 43200
    <Location />
    Order Deny,Allow
    Deny From All
    Allow From 127.0.0.1
    </Location>
    <Location /admin>
    AuthType None
    AuthClass Anonymous
    Order Deny,Allow
    Deny From All
    Allow From 127.0.0.1
    </Location>
    root@MM6:~#


    .
    .
    Password:
    root@MM6:~# /etc/init.d/cupsys start
    Starting Common Unix Printing System: cupsd.
    root@MM6:~# /etc/init.d/cupsys status
    Status of Common Unix Printing System: cupsd is running.



    I had installed the printer by the KDE-"Add Printer Wizard", and I can see, that it is all like before, before, I lost connection to the printer server.
    So I am going from there again.

    The printers.conf file shows:

    # Printer configuration file for CUPS v1.2.7
    # Written by cupsd on 2008-08-09 21:21
    <Printer Lexmark_E350d_Apricot>
    Info Lexmark Lexmark E350d - en
    Location home_office_Apricot
    DeviceURI parallel:/dev/lp0
    State Stopped
    StateMessage Unable to open parallel port device file "/dev/lp0": Permission denied
    StateTime 1218331280
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    AllowUser Apricot
    OpPolicy default
    ErrorPolicy stop-printer
    </Printer>


    I am on the CUPS website:
    http://localhost:631/printers/Lexmark_E350d_Apricot

    And seeing, if I can get my printer working, with some help and information, from there.

    The output is:

    Description: Lexmark Lexmark E350d - en
    Location: home_office_Apricot
    Make and Model: Local System V Printer
    Printer State: stopped, accepting jobs, published.
    Device URI: parallel:/dev/lp0

    The error message is:

    Lexmark_E350d_Apricot "Unable to open parallel port device file "/dev/lp0": Permission denied"

    Via Properties/Permissions, I made that file /dev/lp0 "executable". It is a empty file.
    No progress, though...

    User of /dev/lp0 is root, and Group is lp.


    The problem is, that the print jobs do not get printed, and that they get queued in a job-folder.

    The state of the print jobs stay pending.
    .
    My operation system is SimplyMepis 7.0, which is based on Debian.
    It has KDE 3.5 as the KMenu.

    Please help me get my printer to print again.

    Thank you.


    Edit:
    I complemented this out, on the printers.conf file:
    OpPolicy default
    #ErrorPolicy stop-printer
    </Printer>

    Edit:
    I reinstalled the operation system, and the printer.

    The printer is printing again.

    .
    .
    Last edited by Grandebasta; 08-11-2008 at 12:33 AM. Reason: Solved

Posting Permissions

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