Printers

From: Robert Brown (eli_at_typhoon.xnet.com)
Date: 12/28/03

  • Next message: Robert Brown: "Re: tcpdump broken after rh9 2.4.20-27.9 kernel upgrade"
    To: redhat-list@redhat.com
    Date: Sat, 27 Dec 2003 22:54:57 -0600 (CST)
    
    

    redhat writes:
    > Well, I finally got a Linux compatible printer (Epson). Now I need to
    > find out again how to get it configured.
    >
    > I've tried PRINTERS, PRINTING, PRINTING MANAGER, SERVICES, NETWORK
    > DEVICE CONTROL and HARDWARE BROWSER.
    >
    > That's under KDE.
    >
    > I know I've seen it somewhere where you can tell which printer you have
    > so that it can chose the correct driver.

    I use an "Epson Stylus Color 600" printer (among others) on my
    network. It has a parallel interface, so the hardware is known as
    /dev/lp0 thru /dev/lp3 on my Red Hat 9 installation. I have the
    printer's interface cable plugged into the parallel port that Linux
    addresses as /dev/lp0. To send a file to the printer, I just use:

       # cat file /dev/lp0

    which will indeed transfer the file to the printer.

    Now I suspect when you used the work "driver", what you meant was the
    filter to transform a "normal" file into one that the printer can
    understand.

    Normally Epson printers can print a text file directly, so if you do
    this:

       # ls > /dev/lp0

    you should see a directory listing come out on your printer.

    However, you did not buy a color ink jet printer just to prin ugly
    black ascii text files, I am sure. In order to print graphics on
    these printers, you need to convert some other format into a raster
    that the printer can understand. Normally, Unix systems like to use
    postscript files as a standard way to talk to a printer. That is what
    I like to do. If the printer does not understand postscript
    internally, you have to convert the postscript into a printer raster
    by using ghostscript.

    The gory details of all this can be a pain, and it depends on what
    kind of printer you actually have. Even the model makes a differecne.
    You will have to determine what gostscript driver you need to use to
    generate a raster file that is compatible with your printer, and what
    options and parameters to feed it to make it work for you. The man
    page for ghostscript and the printing howto should be you starting
    point.

    I have always used the Berkeley printing setup -- for years -- but
    with my upgrade to redhat 9, I am going to try CUPS. As of yet, I
    have no experience with it. With the Berkeley setup, there is a nice
    thing called the magic filter that determines what kind of file you
    sent it and automatically converts it into the right format for your
    printer to understand. What this means in fact is that it converts
    everything into postscript, and then feeds it into your ghostscript
    printer filter you worked so hard to get working, and then sends the
    resulting raster file to the actual printer itself.

    The magic filter is nice, because then you can just send a gif or jpg
    file to the printer, and it "just works". If you use other formats,
    such as e.g. tex dvi pdf or whatever, you can set the filter up to
    work with them also.

    -- 
    --------  "And there came a writing to him from Elijah"  [2Ch 21:12]  --------
    R. J. Brown III  rj@elilabs.com http://www.elilabs.com/~rj  voice 859 567-7311
    Elijah Laboratories Inc.    P. O. Box 166, Warsaw KY 41095    fax 859 567-7311
    -----  M o d e l i n g   t h e   M e t h o d s   o f   t h e   M i n d  ------
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Robert Brown: "Re: tcpdump broken after rh9 2.4.20-27.9 kernel upgrade"

    Relevant Pages

    • Re: Setting up print margins with lprng
      ... you are really understanding the concept of a filter. ... > Today I find that my lpr (lprng) is broken. ... Your printer should be able to understand postscript level 2, ... In unix the standard language for printing is PostScript. ...
      (comp.os.linux.hardware)
    • Re: Howto add raw printer
      ... printing the postscript file itself...for example. ... Otherwise CUPS will filter it into the actual ... It is sometimes useful to diagnose printing problems as well. ...
      (Fedora)
    • Re: Howto add raw printer
      ... printing the postscript file itself...for example. ... Otherwise CUPS will filter it into the actual ... It is sometimes useful to diagnose printing problems as well. ...
      (Fedora)
    • Re: [SLE] Cleaning cups queue through ssh [SUSE 8.2]
      ... Regarding filter and backend in general, ... The problem is how to interrupt a printing job and leave the printer ... Often printing on a low-level inkjet printer with a generic driver ... is cups problem or gutenprint enhancement. ...
      (SuSE)
    • [SLE] N-up printing in KDE with Cups, OpenOffice, etc (was Re: [SLE] pdf booklet)
      ... > to buy adobe acrobat? ... CUPS N-Up printing, or specifically 4-up printing selected from the ... Click the "Add filter" button - it looks like a funnel. ... Command"), and then click the "Edit Command" button on the "Command edit ...
      (SuSE)