Create Custom Separator Pages in Windows Server 2012
Updated: May 31, 2012
Applies To: Windows Server 2012
Windows allows you to specify a separator page file to print at the start of each print job. Several separator page files are included with Windows in the %windir%\system32 folder. In addition, you can create custom separator page files to suit your individual needs.
In a Branch Office Direct Printing environment, the specified separator page is copied automatically from the print server to the print client if the file size is less than 64 KB. The print client then uses the separator page when printing directly to the local printer. For more information about Branch Office Direct Printing, see Branch Office Direct Printing Overview.
Use a text editor such as Notepad to create a custom separator page file. On the first line, type a single character, and then press ENTER. The character on this line defines the character used as an escape character. For example, the examples in this article assume that the escape character is the forward slash character (/).
Use the following procedure to create a custom separator page file.
To create a custom separator page file
Open your separator page file.
Type your escape character on the first line.
Type the escape codes for the functions you want, and then save the file with an .sep extension in the Windows SYSTEM32 subfolder.
In Print Management, right-click the printer that you want to use the separator page file with, and then click Properties.
Click the Advanced tab, and then click Separator Page.
Type the path for your separator page file, or click Browse to browse for the file and then click OK.
Click OK to close the Properties page.
The following table describes the escape codes and their functions that can be used in a separator page file:
Prints the domain name of the person that submitted the job.
Available only to print queues located on Windows Server 2012 or Windows 8. Previous operating systems will ignore this escape code. In a Branch Office Direct Printing environment, /J only works if the print job originates from a computer running Windows Server 2012 or Windows 8.
For more information about Branch Office Direct Printing, see Branch Office Direct Printing Overview.
Prints the user name of the person that submitted the job
Prints the job number.
Prints the date the job was printed. The representation of the date is the same as the Date Format in the International section in Control Panel.
Prints the time the job was printed. The representation of the time is the same as the Time Format in the International section in Control Panel.
Prints all the characters (xxxx) following it until another escape code is encountered.
Prints the contents of the file specified by pathname, starting on an empty line. The contents of this file are copied directly to the printer without any processing.
The file will print only if the path specifies a file in one of the following locations:
Sets a printer-specific control sequence, where nn is a hexadecimal ASCII code sent directly to the printer. To determine the specific numbers, see your printer manual.
Sets the width of the separator page. The default width is 80; the maximum width is 256. Any printable characters beyond this width are truncated.
Turns off block character printing.
Prints text in single-width block characters until @U is encountered.
Prints text in double-width block characters until /U is encountered.
Ejects a page from the printer. Use this code to start a new separator page or to end the separator page file. If you get an extra blank separator page when you print, remove this code from your separator page file.
Skips n number of lines (from 0 through 9). Skipping 0 lines moves printing to the next line.