Printing to a Lanier LD160c does not work

ajphanks at comcast.net ajphanks at comcast.net
Tue Oct 21 08:24:27 PDT 2008




----- "Warren Block" <wblock at wonkity.com> wrote: 
> On Fri, 17 Oct 2008, ajphanks at comcast.net wrote: 
> > I have tried the reccomendations that you guys have suggested with no luck. 
> > Here is my current printcap. 
> > admincolor|LANIER LD160c RPCS:\ 
> >         :lp=\ 
> >         :mx#0:\ 
> >         :sd=/var/spool/output/admincolor:\ 
> >         :rm=admincolor:\ 
> >         :lf=/var/log/lpd-errs:\ 
> >         :if=/usr/local/libexec/crfilter:\ 
> >         :sh:\ 
> >         :tr=\f: 
> Please trim your responses and don't top-post, as it makes responding to 
> your messages difficult. 
> The printcap still has no :rp=lp: line.  HP printers aren't picky about 
> that, but other brands sometimes are. 
> You've also added a filter and kept the multiple printer names.  Things 
> like that make more complexity to debug.  Wait until you have basic 
> communication working.  The exact suggested printcap entry: 
> admincolor:\ 
>           :lp=:\ 
>           :sh:\ 
>           :mx#0:\ 
>           :rm=admincolor:\ 
>           :rp=lp:\ 
>           :sd=/var/spool/output/admincolor:\ 
>           :lf=/var/log/lpd-errs: 
> Note: one printer name (who needs more than one, really?).  rm= and rp= 
> entries.  No filter; I think that printer can handle PostScript and PCL. 
> Put that printcap entry in /etc/printcap, then send a PostScript test to 
> the printer (all one line): 
> printf "%%\!PS\n/Courier findfont 20 scalefont setfont 72 72 moveto (Test!) show showpage\f" | lpr -P admincolor 
> -Warren Block * Rapid City, South Dakota USA 


I took your block above and replaced my block in the printcap, then sent the exact command above with the same failure. The queue is drained and the printer's log has a generic message "The job was reset." message.  

My current printcap file. 

corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\ 
        :lp=\ 
        :sd=/var/spool/output/corp-admin:\ 
        :rm=corp-admin:\ 
        :lf=/var/log/lpd-errs:\ 
        :if=/usr/local/libexec/crlfilter:\ 
        :sh:\ 
        :tr=\f:\ 
        :mx#0: 

admincolor:\ 
        :lp=:\ 
        :sh:\ 
        :mx#0:\ 
        :rm=admincolor:\ 
        :rp=lp:\ 
        :sd=/var/spool/output/admincolor:\ 
        :lf=/var/log/lpd-errs: 

Queue status after print job is sent.
# lpc status all 
corp-admin: 
        queuing is enabled 
        printing is enabled 
        no entries in spool area 
        printer idle 
admincolor: 
        queuing is enabled 
        printing is enabled 
        no entries in spool area 
        printer idle 


More information about the freebsd-questions mailing list