gov.nih.nlm.util
Class Enscript

java.lang.Object
  extended bygov.nih.nlm.util.Enscript

public class Enscript
extends Object

Application entry point for printing HTML files.

Author:
MEME Group

Constructor Summary
Enscript()
           
 
Method Summary
static void main(String[] s)
          Print a file based on the parameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Enscript

public Enscript()
Method Detail

main

public static void main(String[] s)
Print a file based on the parameters

Parameters:
s - String[] which is expected to have five parameters
  1. s[0] = the file name
  2. s[1] = printer name (or "no printer")
  3. s[2] = title
  4. s[3] = pages per sheet (1 or 2)
  5. s[4] = indicates whether or not to wrap content with tags.
  6. s[5] = indicates whether or not to scale the content.
  7. s[6] = scaling factor (higher number means smaller.


Copyright ©2005