Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to select a printer's media tray? #2

Open
leandrosilva opened this issue Oct 13, 2017 · 2 comments
Open

Is it possible to select a printer's media tray? #2

leandrosilva opened this issue Oct 13, 2017 · 2 comments

Comments

@leandrosilva
Copy link

I'm working with a printer with multiple media trays and so I'd like to select one according to the paper size. Is it possible?

And also, is it fine to insert a PDF file into LPRDocument?

Thanks!

-- It is much appreciated to have access to this lib. Thanks for sharing it with us all.

@steven166
Copy link
Contributor

Hello Leandro,

I'm not sure how you can select a media tray or print a PDF through LPR. I think you should read the documentation about this from the LPR standard or from the printer manufacturer.

You can insert LPR command directly into the LPRDocument, but maybe for a PDF file you need to alter the header. Currently that is not supported in this library. https://github.com/MaxxtonGroup/internet-printer-library/blob/master/src/main/java/com/maxxton/printer/lpr/LPRPrintJob.java#L78

@leandrosilva
Copy link
Author

Thanks, bud. Really appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants