LPR

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I would like to add the job name on the burst page
(separator page) while printing. I am using the
sysprtj.sep separator page.

Also when using the LPR command the IP address of the
user's machine is appended to the owner of the print job.
I would love to remove it becasue it makes the owner's
name print off the page.
 
LPD adds the IP address. There is no way to configure that. I am not sure
on 3rd party LPD solutions.

regarding sep pages, I do not see that job name is supported, just job ID.

http://support.microsoft.com/default.aspx?scid=kb;en-us;102712
SUMMARY
Windows allows the specification of a separator page file to be printed at
the start of each print job. Several of these files are included with
Windows. In addition, custom separator page files may be created to suit
individual needs. The Windows "Concepts and Planning Guide" documents how to
create such files.

NOTE: The Windows NT Workstation documentation does not address this topic.
MORE INFORMATION
To create a custom separator page file, use a text editor such as Notepad.
On the very first line, type one single character, and then press ENTER. The
character on this line defines the character used as an escape character.
For example, the following list assumes that this character is the at sign
(@).


1.. Enter the escape codes for the functions you want, and then save the
file with an .sep extension in the Windows SYSTEM32 subfolder.
2.. In Print Manager, select the printer that you want to use the
separator page file with, and then click Choose Properties on the Printer
menu.
3.. Click Details, specify the name of the desired separator page file in
the Separator File box, and then click OK.
The following list describes the escape codes that can be used in a
separator page file and their functions:
a.. @N: Prints the user name of the person that submitted the job.
b.. @I: Prints the job number.
c.. @D: 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.
d.. @T: 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.
e.. @Lxxxx: Prints all the characters (xxxx) following it until another
escape code is encountered.
f.. @Fpathname: Prints the contents of the file specified by path,
starting on an empty line. The contents of this file are copied directly to
the printer without any processing.
g.. @Hnn: 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.
h.. @Wnn: 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.
i.. @U: Turns off block character printing.
j.. @B@S: Prints text in single-width block characters until @U is
encountered.
k.. @E: 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.
l.. @n: Skips n number of lines (from 0 through 9). Skipping 0 lines moves
printing to the next line.
m.. @B@M: Prints text in double-width block characters until @U is
encountered.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top