This is a sample file for testing printsrc.exe.
Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
line 4

line 6
	line 7 - indent 1
	line 8 - indent 1
	line 9 - indent 1
		line 10 - indent 2 - Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
	line 11 - indent 1 - Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
	line 12 - indent 1
	line 13 - indent 1
line 14
line 15
line 16
line 17
line 18
line 19
line 20
line 21
line 22
line 23
line 24
line 25
line 26
line 27
line 28
line 29
	line 30 - indent 1 - Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
	line 31 - indent 1 - Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
	line 32 - indent 1 - Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
	line 33 - indent 1 - Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
	line 34 - indent 1 - Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
	line 35 - indent 1 - Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
	line 36 - indent 1 - Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
	line 37 - indent 1 - Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
		line 38 - indent 2 - Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
			line 39 - indent 3 - Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
Line 40 Distribution:
	line 41 - indent 1 - Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
		line 42 - indent 2 - Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
			line 43 - indent 3 - Print Source For Windows NT is a native Windows NT console application. It prints standardized source code listings (or other text files) from the NT command prompt on Laserjet series printers. Designed for programmers, Print Source For Windows NT includes essential file information on each page of a source listing and can be three hole punched without loss of information. Options may be invoked via switches or environment variables - switches take precedence.
line 44
//	$Id: test.txt 1.4 1994/05/28 18:49:56 mike Raw $
//	$Date: 1994/05/28 18:49:56 $
//	language: Microsoft Visual C++ 32 Bit Edition
//	copyright: (c)1994, Software For You, Inc. All Rights Reserved.
//	creation date: 10/06/1993
line 50
//	$Log: test.txt $
Revision 1.4  1994/05/28  18:49:56  mike
Initial revision

Revision 1.3  1994/05/13  03:26:42  mike
Added word at end of line.
Fixed file name and path.

#include "nt_prn.hpp"

static char _rcs_id[] = "$Id";
char TMP_FILE_PREFIX[] = "~PSRC_";
line 60
// constructors
NTPrinter::NTPrinter(CString PrinterName)
{
	_BufferFilename = _tempnam(".", TMP_FILE_PREFIX);

	fp.open(_BufferFilename);

	_StartTime = CTime::GetCurrentTime();
	_StartTimeString = _StartTime.Format("%#c");

	_PrinterName = PrinterName;
}
		

// destructor
NTPrinter::~NTPrinter()
{
	int i;

	if (fp.is_open())		//line 80
	{
		fp.close();
	}

	{
		{
			{
				{
					{
						{
							{
								if (!GetErrorStatus())
								{
									for (i = 0; i < GetCopies(); i++)
									{
										CString CommandString;

										CommandString =	"print /D:" + _PrinterName + " " + _BufferFilename + " >nul\n" + abc->defghijklmnop->qstuvw->xyz->abcdef.ghijklmno->pqrstuvwxyz;
	
										system(CommandString);	// line 100
									}
								}
							}
						}
					}
				}
			}
		}
	}
line 110	
	remove(_BufferFilename);
}


CString NTPrinter::GetBufferFilename() const
{
	return _BufferFilename;
}

line 120
CTime NTPrinter::GetStartTime() const
{
	return _StartTime;
}


CString NTPrinter::GetStartTimeString() const
{
	return _StartTimeString;
}


CString NTPrinter::GetPrinterName() const
{
	return _PrinterName;
}
line 137 - LAST LINE!!!!