Connecting Tech Pros Worldwide Help | Site Map

Printing to an HP PCL printer from VB6 - Selecting a Tray?

Newbie
 
Join Date: Oct 2007
Posts: 1
#1: Oct 2 '07
I am attempting to print from a VB6 program to an HP 4240n LaserJet printer. When I try to select a paper input tray using
Quote:
Printer.PaperBin = vbPRBNLower
I get an error message
Quote:
Run-time error '380': Invalid property value
. I get the same error for vbPRBNUpper and vbPRBNMiddle.

Can anyone tell me how to determine the correct values to supply to the PaperBin property to select the desired tray for output? Thanks for your help.
Reply