[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lprng needed by AUCTeX?



Lprng provides lpr and is characterized as a BSD "spooling system". 
CUPS, on the other hand, is described as a "printing system". I 
installed CUPS but not lpr/lprng. 

I cannot print from AUCTeX:

  Running `Print' on `test' with 
    ``dvips -P hp_Laserjet_1320_series_USB_1  test''
    dvips: warning: no config file for `hp_Laserjet_1320_series_USB_1'
    This is dvips(k) 5.96.1 Copyright 2007 Radical Eye Software 
	(www.radicaleye.com)
    ' TeX output 2009.09.04:1059' -> | lpr 
        -Php_Laserjet_1320_series_USB_1
    sh: lpr: command not found
    </usr/share/texmf-texlive/dvips/base/tex.pro>
    </usr/share/texmf-texlive/dvips/base/texps.pro>
    Print broken pipe at Fri Sep  4 11:52:06

However, I do have /etc/cups/printers.conf that has:

  # Printer configuration file for CUPS v1.3.8
  # Written by cupsd on 2009-09-04 11:39
  <DefaultPrinter hp_Laserjet_1320_series_USB_1>
  Info hp LaserJet 1320 series
  Location Local Printer
  DeviceURI usb://HP/LaserJet%201320%20series
  State Idle
  StateTime 1252078723
  Accepting Yes
  Shared Yes
  JobSheets none none
  QuotaPeriod 0
  PageLimit 0
  KLimit 0
  OpPolicy default
  ErrorPolicy stop-printer
  </Printer>

Does this imply that dvips requires the installation of lpr/lprng in 
addition to CUPS? Is the warning about no config file for my printer 
only the result of not having lpr installed? What is implied here by 
the "broken pipe"?

Haines Brown


Reply to: