[Samba] *sighs* I can print directly but not with lpd
Joel at HammersHome.com
Tue Feb 5 07:02:25 GMT 2002
I put in the wrong client queue.
This queue does what you want to do. This is the client side print filter.
echo `date` > time
set > shellvalues
enscript -Z -p - | /usr/local/samba/bin/smbclient //hammer2/text -N -c "print -" 1>junk 2>junk
The client side queue is:
> -----BEGIN PGP SIGNED MESSAGE-----
> ok thanks.
> I'm trying to make lpr deliver the text file to the
> win98se's local printer, via smbclient. I can manually
> run smbclient and interactively tell it translate, then
> print filename and have it print on the printer. when
> I try to make that happen with lpr/lpd and the smbprint
> filter it appears to try to execute the lines of the file
> as commands, so it never finishes properly. I have
> /etc/lmhosts and /etc/hosts mapping POOH and EEYORE
> to thier IPs, and DSN maps them also. I can put them
> in //EEYORE/c/windows/LMHOSTS.SAM if that would help.
> IP DNS NetBIOS OS
> client: 188.8.131.52 pooh.asarian.org POOH FreeBSD4.4 Samba2.2.2
> server: 184.108.40.206 eeyore.asarian.org EEYORE Windows/98SE
> printer server/support lpd / lpr / lpq / lprm / lpc
> printer device Apollo P2200 (HP brain) //eeyore/apollo
> the file is a text/plain us-ascii text file
> On Mon, 4 Feb 2002, Joel Hammer wrote:
> > If you can be more specific, you might get some specific advice.
> > I don't think most folks are going to read through all the stuff you have
> > attached below. (I think it is several hundred lines long.)Tell us:
> > 1. What machine are you trying to print from and how you want to print.
> > (lpr, or a big smbclient command or something else?)
> > 2. What you have for a print server.
> > 3. What type of printer you are using.
> > 4. What kind of file you are trying to print.
> > If you want a black box solution, I can't help, (black box printing
> > solutions usually defeat me, and you can't debug them.)
> > Joel
> - --
> _____ __ __ ____ ____ __ __
> / ___// // //__ )/__ )\ \/ /
> / __/ / // / / /__ / /__\ /
> (_/ (____/ <____/<____//_/
> President, ASARian Inc.
> Sys Admin, ASARian.org
> Admin Contact for the
> ASARian.org domain.
> fuzzy at asarian.org
> - --
> PGP 2.6.3 Key fingerprint = 56 64 1D D9 65 53 B2 20 79 97 EF 45 18 FE 19 4E
> finger fuzzy at pooh.ASARian.org for public key.
> ASARian Inc. provides free internet access to survivors of sexual abuse.
> We are a not-for-profit organization (501(c)3). ASARian.org takes its name
> from the usenet newsgroup alt.sexual.abuse.recovery, (since replaced by
> alt.sexual.abuse.recovery.moderated due to spam).
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.3ia
> Charset: noconv
> Comment: Made with pgp4pine 1.76
> -----END PGP SIGNATURE-----
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba