• 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

java intrepretation of pcl code

 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Their is something called the "pcl code" which is understood by the printers to print a percicular file. this pcl code comes in a lot many different formats. this pcl code basically lets the printer know how it has to print the file where by haveing all the code for printing a word in bold,page break ,itallics, underline and many more.
all i am tying to ask is does java understand this code and if it does what should i have in order to make my prg to understand this.
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try the Toolkit.getPrintJob(); method. It looks like it will give you all the handles you need to render graphics on a PCL printer.
Go here for the Sun documentation:
http://java.sun.com/j2se/1.3/docs/api/java/awt/PrintJob.html
Have a happy and a healthy! :-)
------------------
Tom McComb
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I looked over the pieces of the API as suggested above, but it didn't address what I am trying to do:
I would like to be able to send a file to a WIndows printer in PCL format from my Java app (I've already constructed and verified the PCL in Unix), but am at a loss... anyone have experience with this?
 
reply
    Bookmark Topic Watch Topic
  • New Topic