I'm trying to printer to a printer whitch is not the default one (I don't care makeing it the default one and then print).
I'm trying to use the code givven in the VB help:
"Dim X As Printer
For Each X In Printers
If X.Orientation = vbPRORPortrait Then
' Set printer as system default.
Set Printer = X
' Stop looking for a printer.
But it seems to be not working.
Sometimes the printer is neing change and sometimes not.
Is it a bug?
What can I do else?