On Tue, 19 Feb 2002, Behdad Esfahbod wrote:

> Hi,
>
> I'm trying to share a HP 1100 Laserjet printer for the Window$
> mahcines with samba, but I've not been successful yet, so:
>
> 1. As I have found, the printer is shared as a postscript
> printer, not a laserjet one, right?

>From linux you send files as postscript and ghostscript translates them to
the printers's driver. You can have the windows machines do the same (send
postscript).

If the windows drivers for HP1100 are better than those for postscript, it
may be better to let the windows machines use that driver, and then you
skip the use of ghostscript in the print filter. I'm not exactly sure how
to configure this.

>
> 2. When I install the remote printer on the win2000 machine and
> select the driver (1100's driver, or a postscript one), and print
> a page it simply ignores it, lpstat gives a line like this
> sometimes:
>
>  Status: removing job 'cfA966gilas.bamdad.org' - ABORT at 03:11:04.416
>
> What's wrong?

I have no idea. But increase the debug level in smb.conf(say, to 3) and
look atthe log of the connection from that client. Maybe this will provide
more hints.

>
> 3. There is an option on window$ machines, that the remote
> machine can automatically download the driver, does samba support
> something like this?

I haven't tried it yet. I believe that it depends if your clients are
win9x or NTs. I also saw something in the samba docs about samba 2.2
adding some important feature there. But I'm not sure. Check samba's docs.

Generally you should create a share called 'printer$' or something that
will have the printer driver in some predefined location.

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to