Script or Batch to Print Test Page

  • Thread starter Thread starter PaulFXH
  • Start date Start date
P

PaulFXH

Hi

I can use the following command line:

RUNDLL32.EXE MSPrint2.DLL,RUNDLL_PrintTestPage

to easily print a Test Page from a machine runiing WinME to a Canon 200
BJ printer.
However, I just can`t find a similar command line that will do the same
from a box running WinXP (SP2) to an Epson PhotoStylus 830.

This command:

RUNDLL32.EXE SHELL32.DLL,SHHelpShortcuts_RunDLL PrintTestPage

which I got from Rob van der Woudes site
(http://www.robvanderwoude.com/) and is supposed to work for
essentially ALL versions of Windows just does not work for me (the site
actually suggests that this command does not ALWAYS work).

Can anybody help me find a command to include in a batch or script to
simplify printing test pages?

TIA
Paul
 
Christoph Lindemann escreveu:
Microsoft has included some nifty spooler stress test tools in their Windows
Server System Reference Architecture (WSSRA). You can also modify them to be
used by your testing scripts.

Hi Christoph
Thanks for your reply.
However, I really haven't found anything in the links you kindly
provided that would allow me to print a Test Page by means of a single
hotkey combo (or similar simplified app launcher).
If I missed something, please let me know.
Paul
 
Well you can define your own test pages and patterns, or use the existing
test cases. It is a test harnes which can be modified to suit most test
setups. It might be overkill - it depends on your testing needs.

Alternativly attach the printer to the "file" port, do a test print, save
that file, change the printer back to the old port. You can now just copy
the file to the port via bat file or similar. like "type print_test_file.prn
 
Christoph Lindemann escreveu:
Well you can define your own test pages and patterns, or use the existing
test cases. It is a test harnes which can be modified to suit most test
setups. It might be overkill - it depends on your testing needs.

Alternativly attach the printer to the "file" port, do a test print, save
that file, change the printer back to the old port. You can now just copy
the file to the port via bat file or similar. like "type print_test_file.prn

Thanks again, Christoph, for your advice.
However, when I saw you recommend writing a batch file, I decided it
would be easier, and more straightforward, just to write a batch (or,
in fact, a vbs script) to print the Test Page (by simply emulating what
I would have to do manually).
So, I've done this.
However, while one-key test page printing while I was using a Canon
S200 and a WinME OS involved no more than a 2-line batch file, with
WinXP I'm using a 38-line vbscript.
In any event, it does what I want and I'll only have to write it once.
However, I remain somewhat startled that there does not appear to be
any simple RUNDLL command for Test Page printing for NT OSs.
Thanks for your interest in my problem
Paul
 
Back
Top