The global
lpq
cache
time
option allows you to set the number of seconds that Samba will remember the current printer status. After this time elapses, Samba will issue an
lpq command (or whatever command you specify with the
lpq
command
option) to get a more up-to-date status. This defaults to 10 seconds, but can be increased if your
lpq
command
takes an unusually long time to run or you have lots of clients. The following example resets the time to 30 seconds:
[deskjet]
lpq cache time = 30