Jump to content
Changes to the Jaspersoft community edition download ×

Problem with MediaTray


AlfredSniff

Recommended Posts

Hi,

 

I've got a problem with selecting Media Tray.

Here is the code that I'm using :

 

Code:

printRequestAttributeSet.add(MediaTray.BOTTOM);

 

Unfortunately, this doesn't work even if I choose "Top", "Middle"... The paper is always taken from the same tray.

 

When I have two tray and if they have different paper format (A4/A3), this works because I specify MediaSizeName, but if there is A4 in all tray of the printer, this doesn't work anymore.

Can someone help me ? How can I choose a different tray without specify the MediaSizeName?

 

Thanks in advance for your anwsers

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...