Cups

Luke Kearney lukek at meibin.net
Mon Dec 22 02:24:34 PST 2003


On Mon, 22 Dec 2003 20:13:36 +1030
Malcolm Kay <malcolm.kay at internode.on.net> spake thus:

> On Mon, 22 Dec 2003 17:12, Luke Kearney wrote:
> > Hello,
> > I am having a troublesome time with CUPS and printing to an Epson
> > PM-740DU inkjet printer. I have set up cups and it works to a degree. I
> > can print test pages like there is no tomorrow but I cannot print from
> > desktop applications let alone from any of the networked machines via
> > samba. The client machines can browse and add the printer but they
> > cannot print to it. I am using a fairly generic PPD for the printer as I
> > could not find one for BSD in the ports and  linuxprinting.org didn't
> > offer much joy. I understand that the printer is roughly equivalent to
> > the Stylus Photo 780 ( max dpi 2880x720 , 6 colours ).
> >
> > When trying to print a txt file from the cmd line I get
> >
> > lpr: lp: unknown printer
> >
> 
> lpr is looking for the default printer named 'lp'. It seems you don't have one ;)
> 
> > /etc/printcap shows
> >
> > tamachi: $ cat /etc/printcap
> > # This file was automatically generated by cupsd(8) from the
> > # /usr/local/etc/cups/printers.conf file.  All changes to this file
> > # will be lost.
> > # written for pips780
> > pm780c|EPSON PM780C:\
> 
> As it stands you will need to nominate the specific printer each time it's used.
> # lpr -P pm780c 
> or
> # lp -d pm780c
> 
> To make it use this printer by default you must give it 'lp' as one of its names as in:
>     lp|pm780c|EPSON PM780C:\
> >
> >         :sd=/var/spool/lpd/pm780c:\
> >         :mx#0:\
> >         :sh:\
> >         :lp=/dev/ulpt0:\
> >         :if=/usr/local/libexec/pips780/filter780.rev:\
> >         :lf=/var/log/lpd-errs:
> >
> > # pips780  end
> >
> > actually having installed the pips780 file from ports I ran the setup
> > script to get this into printcap. If I modify the printer via the CUPS
> > interface it scraps all of the above and replaces it with one line which
> > is the name I gave the printer in the setup.
> >
> 
> 
> Malcolm Kay

Thanks for the tip. I followed your suggestion and added the lp to the
beginning of the printcap file and now it does spit out paper but the
only text it outputs is 

Abort trap

Does anyone have a recommendation for a howto written for printing
newbies like me ? When sending a printjob from say opera there is no
output whatsoever and no error log so I don't even have the luxury of
trying to interpret logs for errors.

TIA

LukeK
-- 
Luke Kearney <lukek at meibin.net>



More information about the freebsd-questions mailing list