This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting Default Printer attribute setting  RSS feed

 
Prem Bhazee
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I was wondering how it is possible to get the default printer attribute setting using PrintServiceAttributeSet . For example before printing from a printer i need to know the current printer attribute setting like simplex or duplex setting. Based on that return value I need to set the printer to the new attribute setting.
Can anyone help me out. Is it possible to get some sample code to get and set this attributes.

Thanks in advance
Bhazee
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!