Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with printing "stuff"

Status
Not open for further replies.

mhch2005

Technical User
May 4, 2003
15
US
Hi.

I am running a Win2k server with Win XP Pro ws's. I have 2 network printers. I need every printed document to come out with their username at the top or the bottom (I'm not too picky) I would apprecieate the help with this.

Thank you in advance...

Michael

Thanx in advance,
Michael

Knowledge is given to the one who asks.
 
The standard solution is to use separator pages for shared printers. Windows 2000 and Windows XP includes 4 pre-defined separator pages in the winnt\system32 directory:

pcl.sep
Changes the printer to PCL mode and prints the separator page (for HP PCL printers)

pscript.sep
Changes the printer to PostScript mode but does not print a separator page

sysprint.sep
Changes the printer to PostScript mode and prints a separator page

sysprtj.sep
variant of sysprint.sep but uses Japanese fonts (if available).


You implement a separator page by

Right-clicking the shared printer you want to add a separator page;
Click Properties
On the Advanced tab, click the "Separator Page" button
Browse to or enter the name of the separator page file.

If you want to modify a .sep control file, the first line must be a single character which defines the delimiter character (any character can be the delimiter). Follows is pcl.sep :

\H1B\L%-12345X@PJL ENTER LANGUAGE=PCL
\H1B\L&l1T\0
\M\B\S\N\U
\U\LJob : \I
\U\LDate: \D
\U\LTime: \T
\E

The codes are (continuing to use \ as delimiter):

\N : prints name of person submitting print job
\I : prints job number
\D : prints date (in format defined by Regional option of Control Panel)
\T : prints time (in format defined by Regional option of Control Panel)
\L : prints chars between code and next delimiter
\Ffqfn : prints contents of file specified by fqfn
\Hnn : prints printer specific control code where nn is in hex, \H1B is HP esc char
\Wnn : sets max width of separator page
\B\S : prints single-width block chars
\B\M : prints double-width block chars
\U : turns of block-char printing
\E : ejects current page
\n : skips n lines. Legal values are 0-9
 
This is great information. but I've tried it and it won't work. I have tried all of the "things" that come with windows such as sysprtj.sep. i've tried alll of them. i just dopn't know what to od. i would apprecieate the help

thank you


michae


Thanx in advance,
Michael

Knowledge is given to the one who asks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top