> From [EMAIL PROTECTED] Sat Oct 14 10:57:19 2000
> Date: Sat, 14 Oct 2000 18:05:26 +0100
> From: "ML Smersi" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: LPRng: Printing to local WINxx printer [no Samba]
>
> Hello --
> this is my scenario:
> Ethernet LAN with Linux box [RH6.2, LPRng 3.6.23] and AcuCobol
> accounting application up and running. All the PC connected on local LAN
> are able to print from acctng software to the NetPort boxes and HP
> JetDirect-cards.
>
> On the LAN I use also a Cisco 1720 router, with ISDN interfaces for
> DIAL-IN connections (Remote-Users to LAN). Generic remote user can use
> accounting software (via NetTerm emulator with telnet session) on a PPP
> connection, without any problem.
>
> Main goal:
> remote user [with single stand-alone PC (WIN9x or WINNT OS)] now must
> be able to print (from AcuCobol application) to your local parallel
> printer directly connected [LPTx port] on remote PC. All print-job are
> text-based.
>
> I'm note sure if this functionality is defined like "Transparent
> Printing".
>
> Anyone can suggest me any step-by-step guide to accomplish my goal
> without using Samba?
>
> Many thanks for your suggest!
> Alex/
This is an approach, but not step by step:
a) set up SAMBA on the server. This now allows the applications
to print via the *&())(*& Microsoft printing stuff.
b) for each user machine, define a print queue:
.user_x:
:sd=/var/spool/lpd/%P
user_lp:
:lp=/dev/null
:sd=/var/spool/lpd/%P
:filter= -$ /usr/local/samba/bin/smbclient //user/lp -c 'print -' -N -E
(note: this is off the top of my head, -E might not be correct).
the smbclient program will send the job. Now if you need to have
a user login and password, then you put them in a file,
/var/spool/lpd/smbauth and add:
:filter= -$ /usr/local/samba/bin/smbclient //user/lp -c 'print -' -N -E -A smbauth
This seems to work, as I just tried it here with Samba, but the 2.0.7
may not have the -A support.
Patrick
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------