gov.nih.nlm.util
Class Enscript
java.lang.Object
gov.nih.nlm.util.Enscript
- public class Enscript
- extends Object
Application entry point for printing HTML files.
- Author:
- MEME Group
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 |
Enscript
public Enscript()
main
public static void main(String[] s)
- Print a file based on the parameters
- Parameters:
s
- String
[]
which is
expected to have five parameters
- s[0] = the file name
- s[1] = printer name (or "no printer")
- s[2] = title
- s[3] = pages per sheet (1 or 2)
- s[4] = indicates whether or not to wrap content with tags.
- s[5] = indicates whether or not to scale the content.
- s[6] = scaling factor (higher number means smaller.
Copyright ©2005