:: Re: [DNG] Printing without CUPS. Do…
Top Page
Delete this message
Reply to this message
Author: karl
Date:  
To: dng
Subject: Re: [DNG] Printing without CUPS. Does it still work?
terryc:
> As per subject and how do you set it up.


I use lprng and lpr, postscript printers, works very well; and an
A2 inkjet, can be run thrugh gimp/gutenprint.

> I have a few headless servers and sometimes I need to see files/logs/etc
> printed on paper.


Like a2ps <file> | lpr ?

Works best with an all postscript workflow, if you have inkjets, there
will be some headaches. Old matrix type printer, no problem, just maka
sure \n is converted to \r\n on output.

> I am still vaguely familiar with setting up
> /etc/printcap but after a few system upgrades, hardware changes and
> cups installations, a current lack a working example. So, f anyone has
> a exampe with remote printer sans cups, a look would be good.


lprng printcap (one host):
lp|magnetit|Kyocera TASKalfa 2552ci:lp=:rm=magnetit:rp=lp:sd=/var/spool/lpd/magnetit:mx#0:sh
#lp|karbon|Brother MFC-8370DN:lp=:rm=karbon:rp=lp:sd=/var/spool/lpd/karbon:mx#0:sh:
smaragd|Epson SC-P800:lp=:rm=smaragd:rp=lp:sd=/var/spool/lpd/smaragd:mx#0:sh:
#granat|QMS PagePro 9100:rm=granat:sd=/var/spool/lpd/granat:rp=lp:lp=:sh:mx#0:
#oki:sd=/var/spool/lpd/oki:lp=/dev/lp0:sh:mx#0:if=/usr/local/bin/oki.lp:
#epson895|Epson stylus photo 895|Epson Stylus Photo 895|Tegelhagen:sd=/var/spool/lpd/epson895:lp=/dev/usb/lp0:sh:mx#0:
#file|Print to file:sd=/var/spool/lpd/lp:lp=/var/spool/lpd/a.ps:sh:mx#0:
#fax:lp=/dev/null:sd=/var/spool/fax:if=/usr/bin/faxlpr:
iridium:lp=:rm=iridium:mx=0:sh:sd=/var/spool/lpd/kobolt:

lpr (another host) printcap:
#granat|QMS PagePro 9100:rm=granat:sd=/var/spool/lpd/granat:rp=lp:lp=:sh:mx#0:
#oki:sd=/var/spool/lpd/oki:lp=/dev/lp0:sh:mx#0:if=/usr/local/bin/oki.lp:
#epson895|Epson stylus photo 895|Epson Stylus Photo 895|Tegelhagen:sd=/var/spool/lpd/epson895:lp=/dev/usb/lp0:sh:mx#0:
#kyrkan:rm=10.48.96.12:sd=/var/spool/lpd/karbon:rp=lp:lp=:sh:mx#0:
#lp|karbon|Brother MFC-8370DN:lp=:rm=karbon:rp=lp:sd=/var/spool/lpd/karbon:mx#0:sh:
#file|Print to file:sd=/var/spool/lpd/lp:lp=/var/spool/lpd/a.ps:sh:mx#0:
#fax:lp=/dev/null:sd=/var/spool/fax:if=/usr/bin/faxlpr:
iridium:lp=:rm=iridium:mx=0:sh:sd=/var/spool/lpd/iridium:
lp|magnetit:lp=:rm=magnetit:mx=0:sh:sd=/var/spool/lpd/magnetit:

The oki.lp if was (out of toner...):
gs -dSAFER -dNOPAUSE -sOutputFile=- -sDEVICE=oki4w -r300x300 -sPAPERSIZE=a4 - -c quit

faxlpr is now removed since the plain old telephone system is
decommissioned...

Regards,
/Karl Hammar