i dont know why (and dont really care :) ) but i setup another machine next to me (identical hardware) with mandrake 7, and it works fine.. and i saw it was using lpd, not lprng, so i did an apt-get instll lpd (had to change my sources.list as the main debian site doesnt appear to have it) it removed lprng and installed lpd and after a few quick tweaks it works fine now :)) so far at least only printed 1 text file.
thanks again! nate On Thu, 25 May 2000, [EMAIL PROTECTED] wrote: nate >after about 3 hours of playin with it i got the smbprint script to nate >work(part of the problem was the printer didnt like the laserjet filter so nate >im using a postscript filter now) i can do nate > nate >cat filename | smb-printredir-ascii nate > nate >and it prints.. nate > nate >if i try to set it up through lprng i get an error: nate > nate >IF filter msg - 'Make_passthrough: pid 6305, execve nate >'/bin/smb-printredir-ascii' failed - 'Exec format error'' at nate >2000-05-25-12:32:21.126 ## [EMAIL PROTECTED] 97+302 number=302 nate >process=6304 nate >IF filter problems, error 'JABORT' at 2000-05-25-12:32:21.126 nate >## [EMAIL PROTECTED] number=302 process=6304 subserver pid 6304 nate >exit status 'JABORT' at 2000-05-25-12:32:21.129 ## identifier =<NULL> nate >number=0 process=6303 nate >job '[EMAIL PROTECTED]' error 'aborting operations' at nate >2000-05-25-12:32:21.129 ## [EMAIL PROTECTED] number=302 nate >process=6303 removing job '[EMAIL PROTECTED]' - ABORT at nate >2000-05-25-12:32:21.130 ## identifier [EMAIL PROTECTED] number=302 nate >process=6303 nate > nate >to simplify things the script is currently(/bin/smb-printredir-ascii: nate > nate >logfile=/tmp/smb-print.log nate > nate >filter_name=aps-PS_800dpi-letter-ascii-mono nate > nate >server=printserver-noc nate >service=HPLASERJET4 nate >password="" nate > nate >echo " `date` : server $server, service $service, filter $filter_name" >> nate >$logfile nate > nate >( echo "print -" nate >/var/lib/apsfilter/filter/$filter_name ) | \ nate >/usr/bin/smbclient "\\\\$server\\$service" -N -P >> $logfile nate > nate > nate >and my printcap: nate > nate >ascii|PS_800dpi-letter-ascii-mono|PS_800dpi ascii mono:\ nate > :lp=/dev/null:\ nate > :sd=/var/spool/lpd/PS_800dpi-letter-ascii-mono:\ nate > :lf=/var/spool/lpd/PS_800dpi-letter-ascii-mono/log:\ nate > :if=/bin/smb-printredir-ascii:\ nate > :af=/var/spool/lpd/PS_800dpi-letter-ascii-mono/acct:\ nate > :mx#0:\ nate > :sf:\ nate > :sh: nate > nate >lp|lp2|PS_800dpi-letter-auto-mono|PS_800dpi auto mono:\ nate > :lp=/dev/null:\ nate > :sd=/var/spool/lpd/PS_800dpi-letter-auto-mono:\ nate > :if=/bin/smb-printredir-auto:\ nate > :af=/var/spool/lpd/PS_800dpi-letter-auto-mono/acct:\ nate > :mx#0:\ nate > :sh: nate > nate >im running potato with lprng 3.6.12-5, again i can use the smbprint script nate >fine but lprng rejects it for some reason, and i cant find any more nate >detailed info then the above from ascii.status nate > nate >any other ideas ?? nate > nate >thanks for the help im halfway there :) nate > nate >nate nate > nate > nate >On Thu, 25 May 2000, Radim Gelner wrote: nate > nate >radim. >I'm using a similar setup as you, with the difference, that I add an nate >radim. >apsfiter into the whole thing. I have had some troubles setting up nate >radim. >smbprint script so I have written another one. It's stored under nate >radim. >/bin/smb-printredir. I'm sending it to you together with my nate >radim. >/etc/printcap and /var/spool/lpd/ljet4-a4-auto-mono/config. nate >radim. > nate >radim. >Good luck nate >radim. > nate >radim. >Radim nate >radim. > nate > nate >::: nate >http://www.aphroland.org/ nate >http://www.linuxpowered.net/ nate >[EMAIL PROTECTED] nate >12:54pm up 1 day, 18:55, 2 users, load average: 1.00, 1.18, 1.17 nate > nate > nate >-- nate >Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null nate > ::: http://www.aphroland.org/ http://www.linuxpowered.net/ [EMAIL PROTECTED] 1:45pm up 1 day, 19:46, 1 user, load average: 1.02, 1.03, 1.00