Skip navigation

JSI Tip 0388 - How do I create a custom Separator Page for my printer?

Windows NT provides 3 .SEP files in the %SystemRoot%\System32 directory. You can modify these or create a new one using the following command syntax:

 Command   D e s c r i p t i o n 
 @   Escape character - Defined by typing any character as the 1st and only character on the 1st line of the file. @ is used in this example. 
 @N   Prints the %UserName% that submitted the job. 
 @I   Prints the job number. 
 @D   Prints the date in the format defined in Control Panel. 
 @T   Prints the time in the format defined in Control Panel. 
 @Lxxxx   Prints all the characters (xxx) until the next @ is encountered. 
 @Fpathname   Prints the contents of the file starting on the next line. 
 @Hnn   Sends a printer specific hexadecimal control code. 
 @Wnn   Sets the width of the separator page. The deault is 80 and the max is 256. 
 @U   Turns off block character printing. 
 @[email protected]   Prints text in single-width block characters until @U is encountered. 
 @E   Ends the page by ejecting it or starts a new one. 
 @n   Skips n lines (0-9). @0 starts a new line. 
 @[email protected]   Prints text in double-width block characters until @U is encountered. 

Here is a simple searator page I wrote for my HP1600C:

@[email protected]@[email protected]
@[email protected]
@[email protected]@L   @[email protected]

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.