printing help
I am trying to set up an epson stylus 800 printer on a G3 upgraded 8500 running woody on 2.4. I had a look through the mailing list and found info on how to set up the printer using printtool. I have followed these instructions but i get an error when i try to print. The error is lpr:connect:No such file or directory, jobs queued but cannot start daemon. I have tried using /dev/ttyS0 & S1 and /dev/cua0 & cua1 but no luck. PS. the page i found is at http://members.nbci.com/MacPlusG3/linux/epsonprinters.html As always any help really appreciated. Rolf Schatzmann Director of Operations Eftel Radio Trading as Radiowan Office: 08 9386 Fax: 08 93868200 Mob: 0410 577 664 Radiowan - Biggest Pipes, lowest Prices. Get a 128K Internet Connection with burst to 384K for a fraction of the cost of ISDN. Link multiple Metro or Regional sites with our VPN connections.
Printing Help Needed
Hi, I have two AppleTalk printers (LaserWriter 12/640 and Tektronix Phaser 740L), which needs to be working with Linux and Samba. I have created two printcap entries (shown below), spool directories, .paprc files inside spool directories, and updated papd.conf file. Problems: 1) After sending PostScript job (with lpr) from Linux virtually nothing happen (although spool file DOES EXIST inside spool directory). lpd and Netatalk 1.499 are running (I can even send postscript file directly to both printers with pap, but not lpr). Checking printers with papstatus reports that both printers are OK. I have restarted Linux, but it did not helped either. All permissions are also OK. 2) Printing from Mac results PostScript error. What could be the problem? Any help appreciated. Thanks in advance. Andrei. "<- comments" do not exist in config files, I've added them only in this e-mail. /etc/printcap LW640|LW640:\ :sd=/var/spool/lpd/LW640:\ <- .paprc is OK :lp=/dev/null:\ :sh:sf:\ :mx#0:\ :of=/etc/atalk/filters/ofpap: <- filter exists Phaser740L|Phaser740L:\ :sd=/var/spool/lpd/Phaser740L:\ <- .paprc is OK :lp=/dev/null:\ :sh:sf:\ :mx#0:\ :if=/var/log/lpd-errs:\ <- created and exist :of=/etc/atalk/filters/ofpap: <- filter exists /etc/atalk/papd.conf LW640 Linux:\ :pr=LW640:\ :pd=/etc/PPD/LaserWriter-12-640-PS.PPD: <- PPD file OK Phaser740L Linux:\ :pr=Phaser740L:\ :pd=/etc/PPD/TEK740L.PPD:<- PPD file OK
Re: Printing Help Needed
On Tue, Apr 10, 2001 at 02:01:33PM +0300, Andrei Verovski wrote: > Hi, > > > I have two AppleTalk printers (LaserWriter 12/640 and Tektronix Phaser the LaserWriter 12/640 is a TCP/IP printer with a BSD lpd running on it. you don't need to fsck with appletalk garbage to print to it. [snip problems] > > 2) Printing from Mac results PostScript error. install the LW_8.6.1 package from apple, and use the Desktop printer utility to create a printer icon. use tcp/ip and LPD not appletalk as the protocol. > What could be the problem? Any help appreciated. Thanks in advance. > Andrei. > > > > > "<- comments" do not exist in config files, I've added them only in this > e-mail. > > /etc/printcap > > > LW640|LW640:\ > :sd=/var/spool/lpd/LW640:\ <- .paprc is OK > :lp=/dev/null:\ > :sh:sf:\ > :mx#0:\ > :of=/etc/atalk/filters/ofpap: <- filter exists for the laserwriter here is my lprng printcap entry, i reccommend lprng, its quite nice. catbert|Laserwriter 12/640 :[EMAIL PROTECTED] :sd=/var/spool/lpd/catbert :lf=/var/log/lp-errs :mx#0 :sh :lpr_bounce :ifhp=model=ps,config=/etc/ifhp.conf :if=/usr/lib/filters/ifhp :filter=/usr/lib/filters/ifhp catbert is in /etc/hosts. note i had to patch /etc/ifhp.conf, the debian maintainer forgot to change the path to a2ps from /usr/local/bin to /usr/bin. as for configuring tcp/ip on the laserwriter do this: get its MAC address from the startup page it prints when you power it on. add an entry to /etc/hosts for the printer and the ip you wish to give it: 192.168.0.6 catbert.local.lan catbert run (as root): # arp -s catbert '08:00:07:34:60:01' ^-- MAC address you found on the startup page # ping -c 1 catbert # ping -c 1 catbert the first ping will timeout, the second ping should succeed, now you can telnet to the printer and set the ip address permanently, the tcp/ip telnet configuration screen is pretty straightforward. now that you have tcp/ip configured try out the lprng entry and all should work well. i am not sure if windows can print to remote lpds or not, that would be the simplest way. if not setup samba to just pipe the print jobs to the local lpr command. lprng will do the right thing. i can't help you with the other printer, you should check to see if it really does not support tcp/ip and lpd. appletalk is a PAIN to get working right. certainly save yourself the pain on the laserwriter by using tcp/ip and lpd. -- Ethan Benson http://www.alaska.net/~erbenson/ pgp5QYfF5PeHG.pgp Description: PGP signature
Re: Printing Help Needed
>the LaserWriter 12/640 is a TCP/IP printer with a BSD lpd running on >it. you don't need to fsck with appletalk garbage to print to it. Thanks, Ethan, Somehow I am need to manage it through Netatalk, because the second one, Tektronix 740L, has awkward TCP/IP support, at least, it does not work well with Windows unless connected through MacLan. I would like to get rid of MacLan by means of Linux print server. Andrei
Re: Printing Help Needed
On Tue, 10 Apr 2001, Ethan Benson wrote: > On Tue, Apr 10, 2001 at 02:01:33PM +0300, Andrei Verovski wrote: > > Hi, > > > > > > I have two AppleTalk printers (LaserWriter 12/640 and Tektronix Phaser > > the LaserWriter 12/640 is a TCP/IP printer with a BSD lpd running on > it. you don't need to fsck with appletalk garbage to print to it. > > [snip problems] > > > > 2) Printing from Mac results PostScript error. > > install the LW_8.6.1 package from apple, and use the Desktop printer > utility to create a printer icon. use tcp/ip and LPD not appletalk as > the protocol. [cut] > i can't help you with the other printer, you should check to see if it > really does not support tcp/ip and lpd. appletalk is a PAIN to get > working right. certainly save yourself the pain on the laserwriter by > using tcp/ip and lpd. The netatalk .deb currently in Debian (both Potato, Woody and Sid) does not correctly handle binary print jobs. It is however not always the optimal solution to avoid AppleTalk IMHO: If you have non-geek Mac users on the network it is not very userfriendly to ask them to use lpd. Mac users expect printers to show up in the chooser, and Windows users expect them to show up in Network Neighbourhood. What I have done (and sure, for the admin it is not as straight forward, but nicer for others on the LAN) is compile netatalk from http://netatalk.sourceforge.org/ and use cupsys (to have a userfriendly way to stop already spooled jobs) with cupsys-bsd (so that samba works almost out-of-the-debian-box). --- /etc/netatalk/papd.conf --- lp:minolta_bw:\ :pr=|/usr/bin/lp -d lp:\ :op=daemon:\ :pd=/etc/cups/ppd/lp.ppd --- In samba.conf you should probably only change these: printing = bsd printcap name = /etc/printcap.cups load printers = yes If you are interested, I have quite recent (and stable) netatalk binaries here: deb http://debian.jones.dk/debian/local {potato|progeny|sid} misc Kind regards, Jonas -- Jonas Smedegaard <[EMAIL PROTECTED]> http://www.jones.dk/~jonas/ IT-guide dr. Jones<[EMAIL PROTECTED]> http://dr.jones.dk/+45 40843136 Debian GNU/Linux<[EMAIL PROTECTED]> http://www.debian.org/ GnuPG(1024D/C02440B8): 9A98 C6EB C098 9ED0 3085 ECA9 9FB0 DB32 C024 40B8
Re: Printing Help Needed
On Tue, Apr 10, 2001 at 04:53:25PM +0300, Andrei Verovski wrote: > >the LaserWriter 12/640 is a TCP/IP printer with a BSD lpd running on > >it. you don't need to fsck with appletalk garbage to print to it. > > Thanks, Ethan, > > Somehow I am need to manage it through Netatalk, because the second one, > Tektronix 740L, has awkward TCP/IP support, at least, it does not work > well with Windows unless connected through MacLan. I would like to get > rid of MacLan by means of Linux print server. why not run the laserwriter in tcp/ip mode and the second one in netatalk mode. then you only have to have one nightmare setup instead of two. -- Ethan Benson http://www.alaska.net/~erbenson/ pgpBlxArTX5rn.pgp Description: PGP signature
Re: Printing Help Needed
On Tue, Apr 10, 2001 at 04:21:03PM +0200, Jonas Smedegaard wrote: > It is however not always the optimal solution to avoid AppleTalk IMHO: If > you have non-geek Mac users on the network it is not very userfriendly to > ask them to use lpd. Mac users expect printers to show up in the chooser, > and Windows users expect them to show up in Network Neighbourhood. you certainly won't be allowed into the secret cabal of the BOFH. ;-) seriously though, appletalk is a nightmare, and apple's current OSes and laserwriter packages support LPD very nicely, setup a desktop printer icon for the mac users and they won't know the difference. user should not have access to the chooser anyway, all they ever do is screw things up. as for windows users samba is not so much of a pain to get working, you have it setup a windows print spool and tell it to pipe all the jobs to lpr, bang done, simple. but netatalk/appletalk is an unreliable nightmare to mess with, any time its possible to remove appletalk entirely it should be done. apple has already very much deprecated appletalk in OSX so mac users are just going to have let it go sooner or later, might as well be sooner. -- Ethan Benson http://www.alaska.net/~erbenson/ pgp2YiWo1uvSQ.pgp Description: PGP signature