Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Hey guys, so I have a Lexmark C543 printer installed via CUPS on RHEL4. The printer works just fine and I'm able to print to it as I would expect. ...
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    15

    Print drivers asked for after each login

    Hey guys, so I have a Lexmark C543 printer installed via CUPS on RHEL4. The printer works just fine and I'm able to print to it as I would expect. But the one annoying thing is I always get asked for the printer drivers when I log into the machine. I just hit cancel and move on but I would like for that to go away. Any suggestions?

    Jacob

  2. #2
    Linux Newbie JosePF's Avatar
    Join Date
    Jun 2010
    Posts
    225
    Hi,
    How have you installed printer, system-config-printing or localhost:631, Where have you download driver from?

    Could you report?:
    ls -l /etc/cups/ppd
    cat /etc/cups/cupsd.conf
    sudo cat /etc/cups/printers.conf

    Regards

  3. #3
    Just Joined!
    Join Date
    Apr 2010
    Posts
    15
    I installed using the web interface, and the drivers I got from the CD included with the printer.

    ls -l /etc/cups/ppd
    Code:
    total 40
    -rw-r--r--  1 root root 18567 Sep  4 17:19 Calliope.ppd
    -rw-r--r--  1 root root 18652 Sep  4 17:19 Mercury.ppd
    cat /etc/cups/cupsd.conf
    Code:
    cat: /etc/cups/cupsd.conf: Permission denied
    cupsd.conf is attached.
    Attached Files Attached Files

  4. #4
    Linux Newbie JosePF's Avatar
    Join Date
    Jun 2010
    Posts
    225
    hi,
    sorry for inconvenience but,
    please could you report too?:
    lpinfo
    lpstat
    sudo updatedb
    sudo locate *.ppd
    ls -R /usr/share/ppd/*exmark*
    sudo cat /etc/cups/printers.conf

  5. #5
    Just Joined!
    Join Date
    Apr 2010
    Posts
    15
    Its no inconvenience if you are helping me out. Anyway lpinfo isn't a command we have installed. Should it be? lpstat doesn't return an output.

    locate *.ppd

    Code:
    /etc/cups/ppd/Calliope.ppd
    /etc/cups/ppd/Mercury.ppd
    /usr/share/ghostscript/7.07/lib/cbjc800.ppd
    /usr/share/ghostscript/7.07/lib/cbjc600.ppd
    /usr/share/cups/model/Lexmark_PPD/Lexmark_C544_en.ppd
    /usr/share/cups/model/Lexmark_PPD/Lexmark_C540_en.ppd
    /usr/share/cups/model/Lexmark_PPD/Lexmark_C546_en.ppd
    /usr/share/cups/model/Lexmark_PPD/Lexmark_C543_en.ppd
    /usr/share/cups/model/textonly.ppd
    /usr/share/wine/generic.ppd
    /usr/share/a2ps/ppd/level1.ppd
    /usr/share/a2ps/ppd/level2.ppd
    /root/ppd_files/GlobalPPD/Lexmark_C544.ppd
    /root/ppd_files/GlobalPPD/Lexmark_C540.ppd
    /root/ppd_files/GlobalPPD/Lexmark_C546.ppd
    /root/ppd_files/GlobalPPD/Lexmark_C543.ppd
    /root/ppd_files/ISO8859-1/it/Lexmark_C546_it.ppd
    /root/ppd_files/ISO8859-1/it/Lexmark_C540_it.ppd
    /root/ppd_files/ISO8859-1/it/Lexmark_C544_it.ppd
    /root/ppd_files/ISO8859-1/it/Lexmark_C543_it.ppd
    /root/ppd_files/ISO8859-1/es/Lexmark_C544_es.ppd
    /root/ppd_files/ISO8859-1/es/Lexmark_C546_es.ppd
    /root/ppd_files/ISO8859-1/es/Lexmark_C543_es.ppd
    /root/ppd_files/ISO8859-1/es/Lexmark_C540_es.ppd
    /root/ppd_files/ISO8859-1/pt/Lexmark_C543_pt.ppd
    /root/ppd_files/ISO8859-1/pt/Lexmark_C544_pt.ppd
    /root/ppd_files/ISO8859-1/pt/Lexmark_C546_pt.ppd
    /root/ppd_files/ISO8859-1/pt/Lexmark_C540_pt.ppd
    /root/ppd_files/ISO8859-1/en/Lexmark_C544_en.ppd
    /root/ppd_files/ISO8859-1/en/Lexmark_C540_en.ppd
    /root/ppd_files/ISO8859-1/en/Lexmark_C546_en.ppd
    /root/ppd_files/ISO8859-1/en/Lexmark_C543_en.ppd
    /root/ppd_files/ISO8859-1/de/Lexmark_C546_de.ppd
    /root/ppd_files/ISO8859-1/de/Lexmark_C544_de.ppd
    /root/ppd_files/ISO8859-1/de/Lexmark_C540_de.ppd
    /root/ppd_files/ISO8859-1/de/Lexmark_C543_de.ppd
    /root/ppd_files/ISO8859-1/fr/Lexmark_C546_fr.ppd
    /root/ppd_files/ISO8859-1/fr/Lexmark_C544_fr.ppd
    /root/ppd_files/ISO8859-1/fr/Lexmark_C540_fr.ppd
    /root/ppd_files/ISO8859-1/fr/Lexmark_C543_fr.ppd
    /root/ppd_files/UTF-8/it/Lexmark_C546_it.ppd
    /root/ppd_files/UTF-8/it/Lexmark_C540_it.ppd
    /root/ppd_files/UTF-8/it/Lexmark_C544_it.ppd
    /root/ppd_files/UTF-8/it/Lexmark_C543_it.ppd
    /root/ppd_files/UTF-8/es/Lexmark_C544_es.ppd
    /root/ppd_files/UTF-8/es/Lexmark_C546_es.ppd
    /root/ppd_files/UTF-8/es/Lexmark_C543_es.ppd
    /root/ppd_files/UTF-8/es/Lexmark_C540_es.ppd
    /root/ppd_files/UTF-8/pt/Lexmark_C543_pt.ppd
    /root/ppd_files/UTF-8/pt/Lexmark_C544_pt.ppd
    /root/ppd_files/UTF-8/pt/Lexmark_C546_pt.ppd
    /root/ppd_files/UTF-8/pt/Lexmark_C540_pt.ppd
    /root/ppd_files/UTF-8/en/Lexmark_C544_en.ppd
    /root/ppd_files/UTF-8/en/Lexmark_C540_en.ppd
    /root/ppd_files/UTF-8/en/Lexmark_C546_en.ppd
    /root/ppd_files/UTF-8/en/Lexmark_C543_en.ppd
    /root/ppd_files/UTF-8/de/Lexmark_C546_de.ppd
    /root/ppd_files/UTF-8/de/Lexmark_C544_de.ppd
    /root/ppd_files/UTF-8/de/Lexmark_C540_de.ppd
    /root/ppd_files/UTF-8/de/Lexmark_C543_de.ppd
    /root/ppd_files/UTF-8/fr/Lexmark_C546_fr.ppd
    /root/ppd_files/UTF-8/fr/Lexmark_C544_fr.ppd
    /root/ppd_files/UTF-8/fr/Lexmark_C540_fr.ppd
    /root/ppd_files/UTF-8/fr/Lexmark_C543_fr.ppd
    ls -R /usr/shar/ppd/*exmark*

    Code:
    ls: /usr/share/ppd/*exmark*: No such file or directory
    cat /etc/cups/printers.conf

    Code:
    # Printer configuration file for CUPS v1.1.22rc1
    # Written by cupsd on Sat 04 Sep 2010 03:13:05 PM EDT
    <DefaultPrinter Calliope>
    Info Created by redhat-config-printer 0.6.x
    DeviceURI usb://Lexmark/C543
    Location
    State Idle
    Accepting Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    </Printer>
    <Printer Mercury>
    Info Created by redhat-config-printer 0.6.x
    DeviceURI usb://Lexmark/C543
    Location
    State Idle
    Accepting Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    </Printer>

  6. #6
    Linux Newbie JosePF's Avatar
    Join Date
    Jun 2010
    Posts
    225
    sorry!,
    lpinfo has to be run as root.
    and please report lpoptions, cat /var/log/cups/access_log and cat /var/log/cups/error_log too.

    Regards
    Last edited by JosePF; 09-08-2010 at 07:39 AM.

  7. #7
    Just Joined!
    Join Date
    Apr 2010
    Posts
    15
    lpinfo has no output

    lpoptions
    Code:
    job-sheets=none,none cpi=12 lpi=7 page-bottom=86 page-left=57 page-right=57 page-top=72 scaling=100 wrap=true
    cat /var/log/cups/access_log
    Code:
    10.12.100.13 - - [06/Sep/2010:15:22:20 -0400] "GET /ppd/Calliope.ppd HTTP/1.1" 200 18567
    localhost - - [07/Sep/2010:10:36:54 -0400] "POST / HTTP/1.1" 200 112
    10.12.100.11 - - [07/Sep/2010:10:41:40 -0400] "POST /printers/Mercury HTTP/1.1" 200 297
    10.12.100.11 - - [07/Sep/2010:10:41:40 -0400] "POST /printers/Mercury HTTP/1.1" 200 434382
    10.12.100.11 - - [07/Sep/2010:10:41:40 -0400] "POST /printers/Mercury HTTP/1.1" 200 214
    10.12.100.11 - - [07/Sep/2010:10:41:40 -0400] "POST /printers/Mercury HTTP/1.1" 200 144
    10.12.100.11 - - [07/Sep/2010:10:41:40 -0400] "POST /printers/Mercury HTTP/1.1" 200 144
    10.12.100.11 - - [07/Sep/2010:10:42:25 -0400] "POST /printers/Mercury HTTP/1.1" 200 144
    10.12.100.13 - - [07/Sep/2010:12:00:02 -0400] "POST /printers/Calliope HTTP/1.1" 200 306
    10.12.100.13 - - [07/Sep/2010:12:00:02 -0400] "POST /printers/Calliope HTTP/1.1" 200 520308
    10.12.100.13 - - [07/Sep/2010:12:00:02 -0400] "POST /printers/Calliope HTTP/1.1" 200 255
    10.12.100.13 - - [07/Sep/2010:12:00:02 -0400] "POST /printers/Calliope HTTP/1.1" 200 221
    10.12.100.13 - - [07/Sep/2010:12:00:02 -0400] "POST /printers/Calliope HTTP/1.1" 200 142
    10.12.100.13 - - [07/Sep/2010:12:00:02 -0400] "POST /printers/Calliope HTTP/1.1" 200 142
    10.12.100.13 - - [07/Sep/2010:12:00:12 -0400] "POST /printers/Calliope HTTP/1.1" 200 255
    10.12.100.13 - - [07/Sep/2010:12:00:12 -0400] "POST /printers/Calliope HTTP/1.1" 200 221
    10.12.100.13 - - [07/Sep/2010:12:00:22 -0400] "POST /printers/Calliope HTTP/1.1" 200 255
    10.12.100.13 - - [07/Sep/2010:12:00:22 -0400] "POST /printers/Calliope HTTP/1.1" 200 221
    10.12.100.13 - - [07/Sep/2010:12:00:47 -0400] "POST /printers/Calliope HTTP/1.1" 200 142
    localhost - - [07/Sep/2010:15:22:23 -0400] "POST / HTTP/1.1" 200 268
    10.12.100.11 - - [07/Sep/2010:15:29:55 -0400] "POST /printers/Mercury HTTP/1.1" 200 297
    10.12.100.11 - - [07/Sep/2010:15:29:55 -0400] "POST /printers/Mercury HTTP/1.1" 200 207790
    10.12.100.11 - - [07/Sep/2010:15:29:55 -0400] "POST /printers/Mercury HTTP/1.1" 200 214
    10.12.100.11 - - [07/Sep/2010:15:29:55 -0400] "POST /printers/Mercury HTTP/1.1" 200 144
    10.12.100.11 - - [07/Sep/2010:15:29:55 -0400] "POST /printers/Mercury HTTP/1.1" 200 144
    10.12.100.11 - - [07/Sep/2010:15:30:40 -0400] "POST /printers/Mercury HTTP/1.1" 200 144
    10.12.100.11 - - [07/Sep/2010:16:57:53 -0400] "POST /printers/Mercury HTTP/1.1" 200 297
    10.12.100.11 - - [07/Sep/2010:16:57:53 -0400] "POST /printers/Mercury HTTP/1.1" 200 332556
    10.12.100.11 - - [07/Sep/2010:16:57:53 -0400] "POST /printers/Mercury HTTP/1.1" 200 214
    10.12.100.11 - - [07/Sep/2010:16:57:53 -0400] "POST /printers/Mercury HTTP/1.1" 200 144
    10.12.100.11 - - [07/Sep/2010:16:57:53 -0400] "POST /printers/Mercury HTTP/1.1" 200 144
    10.12.100.11 - - [07/Sep/2010:16:58:38 -0400] "POST /printers/Mercury HTTP/1.1" 200 144
    10.12.100.18 - - [07/Sep/2010:16:59:40 -0400] "GET /ppd/Calliope.ppd HTTP/1.1" 200 18567
    10.12.100.18 - - [07/Sep/2010:16:59:40 -0400] "GET /ppd/Mercury.ppd HTTP/1.1" 200 18652
    10.12.100.18 - - [07/Sep/2010:17:03:36 -0400] "GET /ppd/Calliope.ppd HTTP/1.1" 200 18567
    10.12.100.18 - - [07/Sep/2010:17:03:36 -0400] "GET /ppd/Mercury.ppd HTTP/1.1" 200 18652
    localhost - - [08/Sep/2010:09:43:52 -0400] "POST / HTTP/1.1" 200 135
    localhost - - [08/Sep/2010:09:43:52 -0400] "POST / HTTP/1.1" 200 135
    localhost - - [08/Sep/2010:09:43:52 -0400] "POST / HTTP/1.1" 200 75
    localhost - - [08/Sep/2010:09:43:56 -0400] "POST / HTTP/1.1" 200 135
    localhost - - [08/Sep/2010:09:43:56 -0400] "POST / HTTP/1.1" 200 135
    localhost - - [08/Sep/2010:09:43:56 -0400] "POST / HTTP/1.1" 200 75
    cat /var/log/cups/error_log
    Code:
    I [05/Sep/2010:04:02:06 -0400] Sending browsing info to ffffffff:631
    I [05/Sep/2010:04:02:06 -0400] Listening to 0:631
    I [05/Sep/2010:04:02:06 -0400] Loaded configuration file "/etc/cups/cupsd.conf"
    I [05/Sep/2010:04:02:06 -0400] Configured for up to 100 clients.
    I [05/Sep/2010:04:02:06 -0400] Allowing up to 100 client connections per host.
    I [05/Sep/2010:04:02:06 -0400] Full reload is required.
    I [05/Sep/2010:04:02:06 -0400] LoadPPDs: Read "/etc/cups/ppds.dat", 19 PPDs...
    I [05/Sep/2010:04:02:06 -0400] LoadPPDs: No new or changed PPDs...
    I [05/Sep/2010:04:02:06 -0400] Full reload complete.
    I [07/Sep/2010:10:41:40 -0400] Adding start banner page "none" to job 347.
    I [07/Sep/2010:10:41:40 -0400] Adding end banner page "none" to job 347.
    I [07/Sep/2010:10:41:40 -0400] Job 347 queued on 'Mercury' by 'jaharvey'.
    I [07/Sep/2010:10:41:40 -0400] Started backend /usr/lib/cups/backend/usb (PID 10585) for job 347.
    I [07/Sep/2010:12:00:02 -0400] Adding start banner page "none" to job 348.
    I [07/Sep/2010:12:00:02 -0400] Adding end banner page "none" to job 348.
    I [07/Sep/2010:12:00:02 -0400] Job 348 queued on 'Calliope' by 'vishal'.
    I [07/Sep/2010:12:00:02 -0400] Started filter /usr/lib/cups/filter/pstops (PID 11252) for job 348.
    I [07/Sep/2010:12:00:02 -0400] Started filter /usr/lib/cups/filter/foomatic-rip (PID 11253) for job 348.
    I [07/Sep/2010:12:00:02 -0400] Started backend /usr/lib/cups/backend/usb (PID 11254) for job 348.
    I [07/Sep/2010:15:29:55 -0400] Adding start banner page "none" to job 349.
    I [07/Sep/2010:15:29:55 -0400] Adding end banner page "none" to job 349.
    I [07/Sep/2010:15:29:55 -0400] Job 349 queued on 'Mercury' by 'jaharvey'.
    I [07/Sep/2010:15:29:55 -0400] Started backend /usr/lib/cups/backend/usb (PID 11866) for job 349.
    I [07/Sep/2010:16:57:53 -0400] Adding start banner page "none" to job 350.
    I [07/Sep/2010:16:57:53 -0400] Adding end banner page "none" to job 350.
    I [07/Sep/2010:16:57:53 -0400] Job 350 queued on 'Mercury' by 'jaharvey'.
    I [07/Sep/2010:16:57:53 -0400] Started backend /usr/lib/cups/backend/usb (PID 11926) for job 350.

  8. #8
    Linux Newbie JosePF's Avatar
    Join Date
    Jun 2010
    Posts
    225
    Hi,

    try:
    sudo lpadmin -p LexmarkC543 -E -v usb://Lexmark/C543 -m Lexmark_PPD/Lexmark_C543_en.ppd
    sudo lpadmin -d LexmarkC543

    and try to print with:
    lp "file"

  9. #9
    Just Joined!
    Join Date
    Apr 2010
    Posts
    15
    Neither of the lpadmin commands returns an output. I'm able to print just fine using the lp command. To note the lp command prints to the Calliope queue. I have set up two queues with the same printer. The reason why I did this is because I'd prefer people to print in black and white whenever possible. However, there isn't always a GUI for people to change print options and as far as I know there is no way to select a black and white print using the lp command. So what I did was created two queues, one for color and one for black and white, but both correspond to the same printer. Additionally there was no way to select black and white as the default from the lexmark drivers so I installed one queue (Calliope) using a generic PCL driver for black and white (default) and another queue (Mercury) using the lexmark drivers for color.

  10. #10
    Linux Newbie JosePF's Avatar
    Join Date
    Jun 2010
    Posts
    225
    Adjusting the Saturation (Color) of an Image

    The -o saturation=percent option adjusts the saturation of the colors in an image, much like the color knob on your television:

    lp -o saturation=percent filename ENTER
    lpr -o saturation=percent filename ENTER

    The percent argument specifies the color saturation from 0 to 200. A color saturation of 0 produces a black-and-white print, while a value of 200 will make the colors extremely intense.

    The default saturation is 100.

    EDIT: You can else adding to default printer options(or select another one with -d) with:
    lpoptions -o saturation=0

    Now, new printer LexmarkC543 created should be the default. lpadmin -d ... set default.
    Could you resport:
    lpstat -d
    Last edited by JosePF; 09-09-2010 at 07:14 AM.

Page 1 of 2 1 2 LastLast

Posting Permissions

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