Re: public cluster printing?

Shawn Bayern (shawn.bayern@yale.edu)
Thu, 5 Nov 1998 01:08:38 -0500 (EST)

On Thu, 5 Nov 1998, chimera wrote:

> Hi linux list,
>
> Have any of you figured out if it's possible to print from a public
> printer over the network? If so, how?

The printers are shared on NT servers, and they're accessible over SMB,
Microsoft's "server message block" protocol. You can use smbclient, part
of the Samba distribution, to print to the cluster printers.

The syntax is

smbclient '\\server\printer' -P

This brings you to an interactive prompt, where you can enter

print filename

to send the job to the printer. The printers understand text and
postscript, though if you're printing text you may need to issue the
'translate' command at smbclient's prompt before printing.

The two public ITS print servers are currently Uniprint3.its.yale.edu and
Uniprint4.its.yale.edu; you can see which printers are where by using
smbclient to get a list of shares on each server:

smbclient -L server

Hope that helps,

Shawn