I can't give you a short answer, but some pointers:
The basic command to print is:
cat file | smbclient //server/printer passwordstuff -c 'print -'
The file has be be filtered before it is sent.
There may be a script, smbprint, I believe, with the samba sources which
will do this for you and which
hi
I have configure samba server in my sun ultra 5
Samba server working fine (it share file with windows m/c)
I want to configure printer through samba. The printer which I want
configure on my sun ultra 5 m/c that is
directly contected windows m/c through paralell port
so pls give me solution, h