Printer tray selection problem
Posted on 2004-04-15
I am using VB 5.0 on Windows XP home. I have a HP Laserjet 2300L, with an extra paper tray (2 paper trays and 1 manual feed), connected to the Parallel port using a bi-directional cable. The BIOS is set for ECP for the parallel port. I am trying to send a print job by first selecting a paper tray using the printer.paperbin=1, 2 or 3. I have also tried selecteing a paper tray using the printer.paperbin=vbPRBNUpper, vbPRBNLower and vbPRBNMiddle command. I get a run-time error 380, Invalid property value, when I select the paper try. I am able to use all other print commands successfully. I am using the HP PCL6 driver. I have tried the HP PCL5 driver, with the same result. Can you suggest another a method of tray selection?