OT - A Simple Separator Page For Printjobs

FYI - Here's the PCL5 code for a simple separator for printjobs, that is
easy to read and doesn't use too much ink. The ones that come with windows
didn't do it for me. Call it whatever you want, with a .sep extension.
You'll need to remove all comment lines (they start with an asterisk). This
prints the User Name in large type, and Date and Time in smaller type.

Turns out I won't be using it myself after all, so I thought somebody might
as well get some use from it. Naturally after I finished programming and
win98 failed the testing, I found that Windows NoHelp-Help says that Win98
only prints separator pages to shared local printers - and our printer is on
a jet-direct print server. W2K and NT4 worked fine - only Win98 had the
problem. We still have quite a few win98 workstations that will be printing
to that printer. Printjobs that don't have separators could easily be
misplaced, if most people are printing with separators. So it looks like
we're better off without using separators, if everyone can't use them.

If there's something I'm missing let me know - I would prefer to be able to
use the separator pages.

Gary Polvinale
Denton ATD


I wrote the separator page below from info I got from the links at this
page:
http://www.genicom.com/drivers/technotes/win/win-09.htm

and a PCL5 manual in PDF format I downloaded from this page:
http://www.ettl.co.at/heiligenblut/mike/progr.htm#pcl5




* Start of separator page code

* Define the command delimiter
\

* Setup the printer for PCL commands
\H1B\L%-12345X@PJL ENTER LANGUAGE=PCL

* Toggles printjob separation
\H1B\L&l1T

* Moves down 3 lines
\3

* Sets the font typeface and size
\H1B\L(19U\H1B\L(s1p16v0s0b16602T

* Sets left margin to 10 cols
\H1B\L&a10L

* Prints line of asterisks
\L* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * *

* Moves down 2 lines
\2

* Sets the font typeface and size
\H1B\L(19U\H1B\L(s1p70v0s1b16602T

* Sets left margin to 8 cols
\H1B\L&a8L\N

* Sets the font typeface and size
\H1B\L(19U\H1B\L(s1p16v0s0b16602T

* Moves down 2 lines
\2

* Sets left margin to 20 cols
\H1B\L&a20L

* Prints date and time
\LDate: \D\L Time: \T

* Moves down 2 lines
\2

* Sets left margin to 10 cols
\H1B\L&a10L

* Prints line of asterisks
\L* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * *

* Resets printer to default settings
\E


[Non-text portions of this message have been removed]