Thread: LPD printing
View Single Post
  #7   (View Single Post)  
Old 21st December 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
Join Date: May 2008
Location: USA
Posts: 6,423

My reversion to lpd(8) includes foomatic-rip in "direct" mode, using the JetDirect port 9100.
  1. This allows me to print PDFs as well as Postscript files, and
  2. I can set print options by spool queue.
# Default printer.  Postscript or PDF only, using foomatic-rip (print/cups-filters).

lp|m451mw|HP LaserJet Pro 400 model m451mw:\

# Same printer, using No. 10 Envelope and manual feed.
# These are 4.25" high and 9.5" wide.  

env|m451mw|HP LaserJet Pro 400 model m451mw:\

/usr/local/bin/foomatic-rip --ppd /etc/foomatic/direct/hp-lj_300_400_color_m351_m451-ps.ppd

/usr/local/bin/foomatic-rip --ppd /etc/foomatic/direct/hp-lj_300_400_color_m351_m451-ps.ppd \
  -o InputSlot=Tray1_man -o PageSize=Env10
Reply With Quote