From owner-freebsd-questions Wed Sep 30 10:59:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA14340 for freebsd-questions-outgoing; Wed, 30 Sep 1998 10:59:49 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from davidv.iadfw.net (davidv.iadfw.net [206.138.229.16]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA14333 for ; Wed, 30 Sep 1998 10:59:45 -0700 (PDT) (envelope-from david@davidv.iadfw.net) Message-Id: <199809301800.NAA11214@davidv.iadfw.net> X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 In-Reply-To: Date: Wed, 30 Sep 1998 12:58:09 -0500 (CDT) Reply-To: david@davidv.iadfw.net Organization: My Little unix network at Home From: "David L. Vondrasek" To: Dan Busarow Subject: Re: Samba/WIN95/FREEBSD-Printing Cc: freebsd-questions@FreeBSD.ORG Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id KAA14336 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 30-Sep-98 Dan Busarow wrote: > On Wed, 30 Sep 1998, David L. Vondrasek wrote: >> I guess you didn't rean what I wrote did you ? >> >> >> >> Help ? Ideas ? ... I'm lost, spend 2 days playing and reading man >> >> pages and >> >> If you did you missed this part were * I read the man pages* >> but thanks for your helpful suggestion. > > If you tried smbclient \\server\printer -P (which is pretty clearly > what you want based on the man page), what happened? > > A little more detail is required. > > Dan This is what I get. david@workbox:/home/david : smbclient \\barstool\HP66C -P Usage: smbclient service [-p port] [-d debuglevel] [-l log] Version 1.9.18p8 -p port connect to the specified port -d debuglevel set the debuglevel -l log basename. Basename for log/debug files -n netbios name. Use this name as my netbios name -N don't ask for a password -P connect to service as a printer -M host send a winpopup message to the host -m max protocol set the max protocol level -L host get a list of shares available on a host -I dest IP use this IP to connect to -R name resolve order use these name resolution services only -E write messages to stderr instead of stdout -U username set the network username -W workgroup set the workgroup name -c command string execute semicolon separated commands -t terminal code terminal i/o code {sjis|euc|jis7|jis8|junet|hex} -TIXgbNa command line tar -D directory start from directory \barstoolHP66C: Not enough '\' characters in service And HP66C is the printers name: david@workbox:/home/david : smbclient -L barstool Added interface ip=10.124.239.13 bcast=10.124.239.255 nmask=255.255.255.0 startlmhosts: Can't open lmhosts file /usr/local/etc/lmhosts. Error was No such file or directory Got a positive name query response from 10.124.239.11 ( 10.124.239.11 ) Server time is Wed Sep 30 12:56:54 1998 Timezone is UTC-5.0 security=share Server=[BARSTOOL] User=[] Workgroup=[WORKGROUP] Domain=[] Sharename Type Comment --------- ---- ------- ADMIN$ Disk C-BARSTOOL Disk --->>> HP66C Printer IPC$ IPC Remote Inter Process Communication PRINTER$ Disk NOTE: There were share names longer than 8 chars. On older clients these may not be accessible or may give browsing errors This machine has a workgroup list: Workgroup Master --------- ------- WORKGROUP BARSTOOL Thanks.. --- David Vondrasek byteme@airmail.net --You mean you paid MONEY for Service Pack '98???? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message