• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to work with a printer using JNI

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
i want to connect and work with a printer which is connected in COM port.
Can i able to do that using JNI.
Please help me in this
 
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi shridhar,
I don't think that'll be simple. Your jni code will need to fight for the com port so really needs to be dll. I think Sun have a special download for talking to com port.
Or you could look at the java tutorial for printing,
but that is not simple either.
[ March 01, 2004: Message edited by: Eddie Vanda ]
 
shridhar subramanian
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
Thanks Eddie Vanda for your reply.
Can u give me some guidelines, so that i will atleast try that configuration.
And if i am going to use java printing,will i be able to get flexibility to print in landscape or portrait,control over page width etc..
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
shridhar s,
Welcome to JavaRanch!
We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy. We'd like display names to have last names of more than one character.
Thanks Pardner! Hope to see you 'round the Ranch!
reply
    Bookmark Topic Watch Topic
  • New Topic