[Samba] Samba spoolfile name
Joel Hammer
Joel at HammersHome.com
Sun Jan 26 15:57:00 GMT 2003
I don't understand your setup but:
The original file name is sent to samba as the %J variable. This is the
banner, I believe.
With LPRng, the command lpr -J"My job name" will put "My job name" into the
print queue as the job name.
So, maybe, if you change your print command in your smb.conf file to include:
-J"%J"
you might get what you want.
Joel
On Sun, Jan 26, 2003 at 03:26:18PM +0100, megaprint2 at planet.nl wrote:
> L.S.
>
> Situation:
> I am running Samba 2.2.7a as my DPC in a small business network with win98/ME clients.
> A big Fiery printer/scanner/copier device is also part of this network. It has its own printserver.
> Since Win98/ME can not print to an LPD queue directly, I have setup Samba to spool the printjobs send by the clients to the Fiery server.
> All is working well, but there is a small problem.
> This Fiery server is controlled by its own control software, installed on one of the clients.
> The program shows all jobs in the server's queue, but they all have names like 'smbprn.57834772.sefkjbv'.
> Since I sometimes have to print the same job hundreds if times, I am not always able to find the right job in the list, because of those abstract names.
>
> So my question is: How can I make Samba spool files with the original jobname, as sent by the client, to the Fiery server?
> I know it is possible to echo the original jobname to a file, but I would be forced to keep a complete listing of all printjobs that way.
>
> Can Anyone help me?
More information about the samba
mailing list