Let me at the outset thank Suresh & Philip for giving
tips on configuring the gateway and mailserver
configuration.
Ok , here's another one. I was wondering if i could
access a windows printer (attached to WIN98) through
Linux. I got the followig info on the net
-----------------
3. Client (Linux)
The setup of the client is almost the same when you
are setting up the printcap to print linux to linux,
with some changes.
3.1 Standard lpr
The simplest way to do it is adding an entry in
/etc/printcap. As a quick example, the entry for a
generic matricial printer would be:
# EPSON LX300
epson:\
:sd=/var/spool/lpd/epson:\
:mx#0:\
:sh:\
:if=/var/spool/lpd/epson/filter:\
:lp=/dev/null:
* Make sure you are using the correct filter, or the
right generic one.
Be sure you have created the directory
/var/spool/lpd/epson, and the users you wish to use
the printer have the right access to this.
For example, let the Windows Print Server be called by
meriadoc, it IP=192.168.1.49 and the printer (at
Windows) are shared as epsonLX.
So, you have to configure /var/spool/lpd/epson/.config
like this:
share='\\meriadoc\epsonLX'
hostip=192.168.1.49
Where:
share='\\windows-print-server-name\print-share-name'
hostip=windows-print-server-IP
Once your /etc/printcap is configured, you have to
enable the print share:
[localhost]$ lpc up epson
[localhost]$ lpc enable epson
If everything is ok, you can send jobs to the queue:
[localhost]$ lpr -Pepson <file>
The SERVER IS THE WINDOWS PRINT SERVER.
The query is regarding the filter. What entries are
reqd. in filter file. i am getting the following
warning
cannot stat 'if' filter 'var/spool/lpd/hp/filter' No
such file or directory. What should i include in this
file. Even if i remove the filter entry it does not
work.
It also says Missing lp and rp entry for local
printer.
Permissions of /var/spool/lpd/hp are 0711, not 0700
Pls. spread some light on the above if possible
Regds
Amit
__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help