java-native-access / java-native-access/jna
Add DEVMODE structure
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 8.9k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Some of the PRINTER_INFO_X have pointers to DEVMODE structures. It will be good to have a way to access them too.
Here I found code for .NET.
My knowledge on JNA is minimal, I add this as a Feature Request.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked DEVMODE documentation and the PRINTER_INFO_X structures mentioned in the issue, then compare the linked .NET printing example with JNA's existing Windows printer mappings. Identify which structures expose DEVMODE pointers and define how callers should access them; done means the requested structures are accessible through JNA with coverage for the relevant printer information types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100