Browse Source

Adding NEWLINE and NEWPAGE constants

Matt Sparks 15 years ago
parent
commit
d8e11d6d88
1 changed files with 4 additions and 1 deletions
  1. 4 1
      alphasign/constants.py

+ 4 - 1
alphasign/constants.py

@@ -43,8 +43,11 @@ LF                    = "\x0A"  # Line Feed
 NL                    = "\x0A"  # New Line
 VT                    = "\x0B"  # Vertical Tab
 #FF                    = "\x0C"  # Form Feed
-#NP                    = "\x0C"  # New Page
+NP                    = "\x0C"  # New Page
 CR                    = "\x0D"  # Carriage Return
 CAN                   = "\x18"  # Cancel
 SUB                   = "\x1A"  # Substitute (select charset)
 ESC                   = "\x1B"  # Escape character
+
+NEWLINE               = NL
+NEWPAGE               = NP