I have been fighting with the printer object for the last few days - getting it to do what I want it to.
I think I have come accross a 'bug'
When attempting to change the printer paperbin property it 'sometimes' returns an error: Paperbin property read-only!
I think it could be that I may still have the spooler open - maby.
Is there a way of releasing the printer?
I have attempted to use both:
printer.paperbin = vbPRBNEnvelope
and
dim X as printer
set x = printer
x.paperbin = vbPRBNEnvelope
I think I have come accross a 'bug'
When attempting to change the printer paperbin property it 'sometimes' returns an error: Paperbin property read-only!
I think it could be that I may still have the spooler open - maby.
Is there a way of releasing the printer?
I have attempted to use both:
printer.paperbin = vbPRBNEnvelope
and
dim X as printer
set x = printer
x.paperbin = vbPRBNEnvelope