printing - java pdfbox setting printer tray -


i have been having problem setting paper source on printer directly java. want able print printer's non-default paper source, using custom size paper source. default source may be, tray 1 contains a4, want program choose tray 2 non-standard paper size.

i have managed tray id using code based on https://github.com/marco76/mediatraytest/blob/master/src/main.java changes make work pdfbox.

i have tried code using id need, printer still prints default tray.

any thoughts?


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -