• Post Reply Bookmark Topic Watch Topic
  • New Topic

HOW TO SET THE DEFULT PRINTER IS 'HP LaserJet 1020'  RSS feed

 
ned him
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the code for set a printer


PrintService[] service=PrinterJob.lookupPrintServices();
for(int i=0;i<service.length;i++)
System.out.println(" "+service[i].getName());

i gives out put :
TVS MSP 245/Classic/XL Classic
HP LaserJet 1020



BUT I WANT HOW TO SET THE PRINTER IS 'HP LaserJet 1020'
 
Ro Ah
Greenhorn
Posts: 15
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!