A script-enabled browser is required for this page to function properly.

gen_string

This variable is described for two types of printers:

Character printers

For character printers, <gen_string> is a combination of the following in any order:

  1. string, for example, "abc"
  2. integer, for example, 10
  3. dec(decimal_number), for example, dec(10)
  4. octal(octal_number), for example, octal(10)
  5. hex(hex_number), for example, hex(1A)
  6. ^control_character, for example, ^L
  7. control(control_character), for example, control(L)
  8. esc escape_string, for example, esc "abc"

PostScript printers

For PostScript printers, <gen_string> is a combination of the following, in any order, that must be surrounded by double quotes:

  1. BOLD, that is, switches to bold
  2. BOLDFONT, that is, switches to bold font
  3. BOLDOBLIQUE, that is, switches to bold italics
  4. BOLDOBLIQUEFONT, that is, switches to bold italic font
  5. BOTTOMMARGIN, that is, switches the bottom margin
  6. BOX, that is, switches to box font
  7. FONTSIZE, that is, switches the font size
  8. LANDSCAPE, that is, switches to landscape mode
  9. LEFTMARGIN, that is, sets the size of the non-printable margin
  10. MONOSPACE, that is, switches to monospace spacing (enforce character matrix)
  11. NORMAL, that is, switches to normal
  12. NORMALFONT, that is, switches to normal font
  13. OBLIQUE, that is, switches to italics
  14. OBLIQUEFONT, that is, switches to italic font
  15. PAGEHT, that is, sets the number of characters to be fitted on the page vertically
  16. PAGEWD, that is, sets the number of characters to be fitted on the page horizontally
  17. PAPERHT, that is, sets the paper height in inches
  18. PAPERWD, that is, sets the paper width in inches
  19. PORTRAIT, that is, switches to portrait mode
  20. PROPORTIONAL, that is, switches to proportional spacing (don't enforce character matrix)
  21. RIGHTMARGIN, that is, sets the width of the right margin
  22. ROTATE2, that is, prints two pages per page rotated
  23. TOPMARGIN, that is, sets width of top margins
  24. UNDERLINE, that is, switches to underlining
  25. UNDERLINESTOP, that is, switches off underlining