* Samba printing to win98 pc printer
@ 1999-08-25 4:00 John Sheldrake
1999-08-25 4:00 ` Dr H. T. Leung
0 siblings, 1 reply; 2+ messages in thread
From: John Sheldrake @ 1999-08-25 4:00 UTC (permalink / raw)
Hi all
I want to be able to print from my Dec Alpha 1200 (DU 4.0d) to a shared
printer
on a windows98 pc. I've downloaded and installed samba 2.0.5.a
I've setup /etc/inetd.conf & /etc/services and then used swat to configure a
printer
which is attached to the win98 pc. Swat has updated
/usr/local/samba/lib/smb.conf
with the details for the printer, but now what?
I've no idea how to define a printer to use the samba setup
Can anybody give me a nudge in the right direction
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Samba printing to win98 pc printer
1999-08-25 4:00 Samba printing to win98 pc printer John Sheldrake
@ 1999-08-25 4:00 ` Dr H. T. Leung
0 siblings, 0 replies; 2+ messages in thread
From: Dr H. T. Leung @ 1999-08-25 4:00 UTC (permalink / raw)
To: John Sheldrake
You should verify that you can manually send print job over by generating the
appropriate printer driver-codes. For example, in my set up the windows printer
is actually HP5P which is PCL based rather than postscript, So I need to do
gs -sDEVICE=ljet4 -SOutputFile=tempjob.pcl My_postscipt_file.ps
Or something like that to generate the driver codes. Then I do
smbclient \\the_bloody_windows_machine\printer_share -P
plus the appropriate -U (windows user) option and if necessary, type in the
windows share's password.
Then at the smb prompt, I type "print tempjob.pcl". If things goes well, it would
come out at the printer. If you are luckily to have been blessed with a
postscript printer, you can just generate a little postscript file (latex, xfig,
whatever) and smbclient right away for testing.
Then you can automate this process by setting up a magic filter to do the
gs conversion, setting up your printcap file with an appropriate print queue, and
lastly, use smbprint (a little script from the samba source distribution, I
believe, or from the samba website) as a print filter which drives smbclient
with some default options. It would be useful for you to read the linux
printing-HOWTO for that particular section on printing to windows printers.
http://www.picante.com/~gtaylor/pht/current/pht.html
In article <7q123c$umt$1@news8.svr.pol.co.uk>, "John Sheldrake" <ajs@tandj.freeserve.co.uk> writes:
|> Hi all
|>
|> I want to be able to print from my Dec Alpha 1200 (DU 4.0d) to a shared
|> printer
|> on a windows98 pc. I've downloaded and installed samba 2.0.5.a
|>
|> I've setup /etc/inetd.conf & /etc/services and then used swat to configure a
|> printer
|> which is attached to the win98 pc. Swat has updated
|> /usr/local/samba/lib/smb.conf
|> with the details for the printer, but now what?
|>
|> I've no idea how to define a printer to use the samba setup
|>
|> Can anybody give me a nudge in the right direction
--
--------------------------------------------------
"What you don't care cannot hurt you." Chap. 7a, AMS-NS
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-08-25 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-25 4:00 Samba printing to win98 pc printer John Sheldrake
1999-08-25 4:00 ` Dr H. T. Leung
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox