On Thu, Jan 14, 1999 at 04:35:54PM +0000, Richard A Nelson wrote: > Thanks... I can now print text to the printer - two problems: > 1) The hp dj870 doesn't complete the page, must need some kind > of EOF > > 2) I can only print text - If I send PS, it is printed as text! > > I guess this means I really need to be able to use magicfilter - but > can I send output from something like dj500c to windows? > > Thanks again, I'm getting there slowly > -- > Rick Nelson > > On Thu, 14 Jan 1999 [EMAIL PROTECTED] wrote: > > > Date: Thu, 14 Jan 1999 10:14:52 -0500 (EST) > > From: [EMAIL PROTECTED] > > To: [EMAIL PROTECTED] > > Cc: debian-user@lists.debian.org > > Subject: Re: printing to a win95 shared printer *sigh* > > > > Richard A Nelson writes: > > > > > > Has anyone setup lprng to print to a win95 shared printer? > > > The printer in question is a HP DeskJet 870. > > > > > > I've been printing to the printer locally, but had to move the printer > > > to a box that runs mostly lose 95. > > > > If you haven't already installed SAMBA, you should do it since SAMBA handles > > it correctly. Look at document /usr/doc/samba/examples/printing/smbprint > > It does work when all configuration (self-documented) is done. > > > > > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null >
I solved this problem the following way: 1. Create a printer entry called printername-remote that uses smbprint from SAMBA to print raw data to the printer. You'll need to follow the directions on top of the smbprint script. Tell any programs that speak your printer's native format to print to this printer (in my case, WP8) 2. Create a 'virtual' printer entry that prints to /dev/null, but runs the attatched shell script that runs magicfilter, then prints to the -remote printer. I've attached two files: 1. my /etc/printcap 2. a shell script called ljet-filter-remote that uses magicfilter and lpr together to print across the network. -- Stephen Pitts [EMAIL PROTECTED] webmaster - http://www.mschess.org
# # Copyright (c) 1983 Regents of the University of California. # All rights reserved. # # Redistribution and use in source and binary forms are permitted # provided that this notice is preserved and that due credit is given # to the University of California at Berkeley. The name of the University # may not be used to endorse or promote products derived from this # software without specific prior written permission. This software # is provided ``as is'' without express or implied warranty. # # @(#)etc.printcap 5.2 (Berkeley) 5/5/88 # # This file was generated by /usr/sbin/magicfilterconfig. # hplj3-remote:\ :lp=/dev/null:sd=/var/spool/lpd/hplj3-remote:\ :sh:pw#80:pl#66:px#1440:mx#0:\ :if=/usr/local/etc/smbprint:\ :af=/var/spool/lpd/hplj3-remote/acct:lf=/var/log/lp-errs: lp|hplj3:\ :lp=/dev/null:sd=/var/spool/lpd/hplj3:\ sh:if=/etc/magicfilter/ljet-filter-remote:rp=raw: lexmark:\ :lp=/dev/lp1:sd=/var/spool/lpd/lexmark:\ sh:if=/etc/magicfilter/dj550c-filter:rp=raw:
#! /bin/sh # redirect magicfilter to the network /etc/magicfilter/ljet3-filter | lpr -Phplj3-remote