Link to home
Create AccountLog in
Visual Basic Classic

Visual Basic Classic

--

Questions

--

Followers

Top Experts

Avatar of frogboy5
frogboy5

VB PaperBin
Hello,
I have a Tektronix Phaser 850DP printer with two trays.
My vb application prints fine to the upper tray (default), but I'm now trying to
direct print to the lower tray. I've tried the .paperbin property, but get error 380 - Invalid property value.
I'm able to select this tray and print OK using other applications i.e Word etc.
Anyone have any ideas on this?
Cheers,

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of sanjaykashyap19sanjaykashyap19🇯🇵

.PaperBin value is from 1 to 14.

Try with vbPRBNLower.
if not work. try from 1 to 14 and test.

Following are the setting

Returns or sets a value indicating the default paper bin on the printer from which paper is fed when printing. Not available at design time.

Syntax

object.PaperBin [= value]

The PaperBin property syntax has these parts:

Part Description
Object An object expression that evaluates to an object in the Applies To list.
Value A value or constant specifying the default paper bin, as described in Settings.


Settings

The settings for value are:

Constant Value Description
vbPRBNUpper 1 Use paper from the upper bin.
vbPRBNLower 2 Use paper from the lower bin.
vbPRBNMiddle 3 Use paper from the middle bin.
vbPRBNManual 4 Wait for manual insertion of each sheet of paper.
vbPRBNEnvelope 5 Use envelopes from the envelope feeder.
vbPRBNEnvManual 6 Use envelopes from the envelope feeder, but wait for manual insertion.
vbPRBNAuto 7 (Default) Use paper from the current default bin.
vbPRBNTractor 8 Use paper fed from the tractor feeder.
vbPRBNSmallFmt 9 Use paper from the small paper feeder.
vbPRBNLargeFmt 10 Use paper from the large paper bin.
vbPRBNLargeCapacity 11 Use paper from the large capacity feeder.
vbPRBNCassette 14 Use paper from the attached cassette cartridge.


Remarks

These constants are listed in the Visual Basic (VB) object library in the Object Browser.

Not all of the bin options are available on every printer. Check the printer documentation for more specific descriptions of these options.

Note   The effect of the properties of the Printer object depends on the driver supplied by the printer manufacturer. Some property settings may have no effect, or several different property settings may all have the same effect. Settings outside the accepted range may or may not produce an error. For more information, see the manufacturer's documentation for the specific driver.


ASKER CERTIFIED SOLUTION
Avatar of inthedarkinthedark🇬🇧

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

This question has been classified as abandoned.  I will make a recommendation to the moderators on its resolution in approximately one week.  I would appreciate any comments by the experts that would help me in making a recommendation.

It is assumed that any participant not responding to this request is no longer interested in its final deposition.

If the asker does not know how to close the question, the options are here:
https://www.experts-exchange.com/help/closing.jsp

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER

GPrentice00
Cleanup Volunteer

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

 -->Accept inthedark's comment as Answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER

GPrentice00
Cleanup Volunteer

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

Visual Basic Classic

Visual Basic Classic

--

Questions

--

Followers

Top Experts

Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.