Printer

Joel Hammer Joel at HammersHome.com
Tue Jan 22 20:09:03 GMT 2002


You can print to a windows printer. It can be tricky to set up. There are
scripts available, which may not always work. The basic command is:

smbclient //server/printshare -Uuser%password -c "print FileToPrint"

I am never sure of the password stuff because I don't use them on my home
system. If you don't need a password, use -N instead of -Uuser%password.

The FileToPrint must be formatted for your printer. Windows will not, I
believe, do any filtering for you.

You can get creative and put this command into a printer filter, so you can
just print with lpr. Of course, you will need to filter the job for your
windows printer. If you have a postscript printer, this won't be too
difficult to do.

Joel


On Tue, Jan 22, 2002 at 03:19:29PM -0300, Supervisor wrote:
> Hi,
> 
>     I want to know if there's a thay i can do to my linuxbox use a printer installed in a win2k server(this computer is acting as print-server in my domain).
> 
> Thanks in advance,
> 
> Rafael




More information about the samba mailing list