From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 04:56:19 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD01116A4CE for ; Mon, 22 Dec 2003 04:56:19 -0800 (PST) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id A776443D31 for ; Mon, 22 Dec 2003 04:56:17 -0800 (PST) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp109-47.lns1.adl1.internode.on.net [150.101.109.47])hBMCuCp5027676; Mon, 22 Dec 2003 23:26:13 +1030 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: Luke Kearney , FreeBSD Questions Date: Mon, 22 Dec 2003 23:26:12 +1030 User-Agent: KMail/1.4.3 References: <20031222153127.B949.LUKEK@meibin.net> <200312222013.36285.malcolm.kay@internode.on.net> <20031222191148.06DD.LUKEK@meibin.net> In-Reply-To: <20031222191148.06DD.LUKEK@meibin.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200312222326.12043.malcolm.kay@internode.on.net> Subject: Re: Cups X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2003 12:56:19 -0000 On Mon, 22 Dec 2003 20:46, Luke Kearney wrote: > On Mon, 22 Dec 2003 20:13:36 +1030 > > Malcolm Kay 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 degre= e. I > > > can print test pages like there is no tomorrow but I cannot print f= rom > > > desktop applications let alone from any of the networked machines v= ia > > > 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 di= dn'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 o= f > > its names as in: lp|pm780c|EPSON PM780C:\ > > > > > :sd=3D/var/spool/lpd/pm780c:\ > > > :mx#0:\ > > > :sh:\ > > > :lp=3D/dev/ulpt0:\ > > > :if=3D/usr/local/libexec/pips780/filter780.rev:\ > > > :lf=3D/var/log/lpd-errs: > > > > > > # pips780 end > > > > > > actually having installed the pips780 file from ports I ran the set= up > > > script to get this into printcap. If I modify the printer via the C= UPS > > > 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 > Sounds as though the pm780c driver produces some incompatible code. Think the pm-740du might be more or less Japanese equivalent of=20 Stylus Photo 915 for which you may be able to find a driver. (This is partly (largely) guess work, but is probably worth a try). Malcolm Kay