I'm having trouble setting the paper size and the paper bin in the printer object. I've tried the following code.
If cboPaperSize.ListIndex = 0 Then
Printer.PaperSize = 1
Printer.PaperSize = 5
If cboPaperSource.ListIndex = 0 Then
Printer.PaperBin = 7
Printer.PaperBin = 4
This works fine at my workstation, but when I run it on a clients computer it crashes here. I haven't really had time to debug it, because I can only make the changes here, and test them there. It's really inefficient. So It may just be one of the two. I'm thinking it might be a paperbin problem, for example if the printers in their collection only have the one bin (manual) then it might crash. Please help.