Re: [PARPORT] Another Newbie

From: C. J. Martoff (
Date: Sun Dec 23 2001 - 21:57:19 EST

  • Next message: Tom Perkins: "Re: [PARPORT] Another Newbie"

    Thanks to Dave Strauss and Tom Perkins for suggestions. I did a "print to
    file" under windows and then >cat file.prn > /dev/lp0. This produced
    correct printed output. I then did >lpr -Plp-raw file.prn (lp-raw is the
    SuSE setup tool's name for a raw print queue) and this too produced
    printout. So the problem seems to be with the filter/driver.

    SuSE sets up apsfilter. The SuSE setup under YAST2 offers Lexmark 3200 as
    a "known" printer but warns that there are some devices sold under this
    model number that do work and some that don't work with their setup (?? I
    find this hard to believe). When I do gs --help I also get lex3200 listed
    as a useable printer. So I'm betting that the SuSE tool is broken and I
    can get this thing to work.

    So now I am trying to figure out what their setup tool is doing when it
    sets up this printer. The only references to lex3200 I find are in
    /etc/gs.upp/y2prn_lp.yast2 and y2prn_lp.upp. These are given below.
    According to /var/lib/apsfilter/bin/y2prn_lp.upp--ascii-lp, the file
    .upp is parsed for gs options; .yast2 is not mentioned. Does this look at
    all right? Maybe I need to delve into the gs options?

    Thanks again.

    root@linux:/etc/gs.upp > more y2prn_lp.upp
    -supModel="Lexmark 3200"

    root@linux:/etc/gs.upp > more y2prn_lp.yast2
    "apsfilterrc":$["ENCODING":"", "FEATURE":"2"],
    "connection":$["device":"/dev/lp0", "type":"parallel"],
    \n-r600x600 ", "name":"drivers (using macro 'lex3200')",
    "values":[$["name":"monochrome driv er 'lex3200' at '600x600' dpi",
    00"]]], $["default":"-sPAPERSIZE=a4dj", "name":"paper size",
    "'a4' for inkjet printers (using 'a4dj' with bigger margins than 'a4')",
    :"-sPAPERSIZE=a4dj"], $["name":"'a4'", "value":"-sPAPERSIZE=a4"],
    ter' for inkjet printers (using 'letterdj' with bigger margins than
    "value":"-sPAPERSIZE=letterdj"], $["name":"'letter'",
    r"], $["name":"'a5'", "value":"-sPAPERSIZE=a5"], $["name":"'a6'",
    ERSIZE=a6"], $["name":"'a7'", "value":"-sPAPERSIZE=a7"], $["name":"'a8'",
    ":"-sPAPERSIZE=a8"], $["name":"'a9'", "value":"-sPAPERSIZE=a9"],
    ", "value":"-sPAPERSIZE=a10"], $["name":"'archA'",
     $["name":"'b4'", "value":"-sPAPERSIZE=b4"], $["name":"'b5'",
    ZE=b5"], $["name":"'flsa'", "value":"-sPAPERSIZE=flsa"],
    $["name":"'flse'", "val
    ue":"-sPAPERSIZE=flse"], $["name":"'halfletter'",
    "value":"-sPAPERSIZE=halfletter"], $["name":"'legal'",
    "value":"-sPAPERSIZE=legal"], $["name":"'note'", "value



    C. J. Martoff Phone: (215) 204-3180
    Professor of Physics, Temple University FAX: (215) 204-5652
    Barton Hall, Temple University
    1900 N. 13-th St.
    Philadelphia, PA 19122-6082

    Web Site:


    -- To unsubscribe, send mail to: --
    -- with the single word "unsubscribe" in the body of the message. --

    This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 22:02:40 EST