print filenames aren't unique

andrew morgan morgan at
Wed Oct 11 16:18:56 GMT 2000

A problem with samba was recently posted to the LPRng mailing list.  In
older versions of samba, when someone printed, samba created a temporary
file in the 'path' for that printer share with a filename like
'machinename.xxxxxx', where xxxxxx was six random characters.  In this
way, each filename was unique.

With samba 2.0.x, it uses the name of the document as supplied by the
windows client.  Unfortunately, you can imagine how many of these are
named "Microsoft Word - Document 1".

I could make separate spool directories for each printer share, but this
gets very tedious and doesn't completely eliminate the problem.

Can we have a compromise on this?  Maybe "machinename.documentname"?  


More information about the samba mailing list