lpr, still in use


The venerable (from 1979!) program, lpr, has been superseded by CUPS in many installations.  Francois Tigeot suggested removing it, but it’s still directly usable in specific situations and easier to just shift out of the way.  It’s staying, but it’s interesting to see how it still gets used.

Update: Predrag Punosevac has descriptions of the various tools involved.

Posted by     Categories: DragonFly, Goings-on     1 Comment
1 Comment on lpr, still in use

Respond | Trackback

  1. Mishka says:

    I use it to print from NetBSD to network attached Konica Minolta bizhub 223 and HP LaserJet 4350. Actually any PS capable printer should work like a charm. My /etc/printcap entries (difference only in paths and IP addresses):

    # Konika Minolta bizhub 223
    bh223|km223|bizhub223|Konica Minolta bizhub 223:\
    :sh:lp=9100@172.23.1.2:sd=/var/spool/output/bh223:\
    :lf=/var/log/lpd-errs:if=/usr/libexec/lpr/pjlfilter:
    # The same, but for PS over LPD
    lp|ps|bh223ps|km223ps|bizhub223ps|Konica Minolta bizhub 223 PostScript:\
    :sh:lp=:rm=172.23.1.2:rp=AUTO:mx#81920:\
    :sd=/var/spool/output/ps223:\
    :lf=/var/log/lpd-errs:

    # HP LaserJet 4350
    hp4350|lj4350|HP LaserJet 4350:\
    :sh:lp=9100@172.23.1.3:sd=/var/spool/output/hp4350:\
    :lf=/var/log/lpd-errs:if=/usr/libexec/lpr/pjlfilter:
    # The same, but for PS over LPD
    hp4350ps|lj4350ps|HP LaserJet 4350 PostScript:\
    :sh:lp=:rm=172.23.1.3:rp=AUTO:mx#81920:\
    :sd=/var/spool/output/ps4350:\
    :lf=/var/log/lpd-errs:

Respond

Comments

Comments