Try using the paperbin property of the printer object.
For more details try msdn online help.
You will find the code for the same.
Regards
Deepak
>From: Suhandi Wijaya <suhandi.wijaya@a...>
>Reply-To: "professional vb" <pro_vb@p...>
>To: "professional vb" <pro_vb@p...>
>Subject: [pro_vb] Run time printing
>Date: Wed, 2 Aug 2000 14:04:19 +0700
>
>G'day pro VBs,
>
>Does anyone here know how to set what tray to print at run time from VB,
>any
>dll/ocx/books ?
>Our letter application needs to print from different trays of different
>pre-printed paper source.
>In current situation now, we need additional time and resources to
>rearrange, sorting and binding those papers manually.
>
>TIA.
>
>Regards,
>Handi.
>