Oroboros Cearkoorow

Greenhorn
+ Follow
since Nov 15, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Oroboros Cearkoorow

I've got a problem with Java Printing Service (javax.print.*). Nobody could answer my question on other coding websites, maybe here I'll get some help.

I need to pass some data from Java to printer's driver. As far as I know, this can be done with Attributes. I decided to use JPS as client and Cups as server. It works, but all my custom attributes are ignored, and even are not transfered to Cups. That's because these are not in getSupportedAttributeCategories() list, I guess. Beacuse all standard attributes (like javax.print.attributes.standard.Copies) are passed.

How can I pass my custom print request (job or doc) attributes to Cups (actually, to Cups filter)? I'm bound to JPS (as being standard way of printing, so I can't use Cups4j or else).
11 years ago