Print Wizard Frequently Asked Questions - Keyboard remapping, macros and scripting

There are two options here.

If the print file has printer-specific escape sequences in the file, Print Wizard will pass this directly to the printer without trying to format or auto-fit any portion of the print job. So you need do nothing in this case.

If the print file contains control sequences and tag printing that Print Wizard does not see as printer-specific codes, you can still print direct to the printer by including the command-line switch to print to the spooler or to print raw:

/vlevel=spooler       or       /vlevel=raw
Back to top

 

PWML, Print Wizard Markup Language, can be added to the beginning of any file directly in the data stream or by specifying a PWML print "init" file. Print "init" files can be specified in a print profile file as well, or can be referenced on the command-line for the Print Wizard engine to use:

C:\Program files\Printwiz30\printwiz.exe /vinit=myinit.txt myfiletoprint
Back to top

 

It is possible to script all uses of the Print Wizard engine such that the user does not know what is happening.

  • From your own application or user script, you could set up Print Wizard to run multiple times against the same file, simply by preserving the file between runs.
  • You could set a script up that runs Print Wizard once to format a file to a specific type, such as creating a PCL file, then use Print Wizard to reprint it, fax it, email it, etc.
  • From the PWLPD or PWListen program, you could run a script upon receiving the file that would manipulate the file and output it to numerous sources (set up a Custom Program for output).
  • From a Print Wizard print profile, you can define a "By Custom" profile that actually ran a script that runs the Print Wizard engine several times instead of once for the file specified.

There are lots of options here. Call if you have a specific need.

Back to top

 

The Print Wizard engine is designed to be fully functional through the use of print profiles and command-line switches.

  • You can run Print Wizard through a shell execute or Exec command. With the "/q" command-line switch to prevent any dialogs from appearing and will return error codes to the hosting application.
  • You can run Print Wizard from a file association by specifying a specific extension as being printed with Print Wizard (see the Print Wizard manual on setting it up as a File Association). Then you simply start the file through a shell execute or Exec command.
  • You can include Print Wizard in a script that runs from your program, returning an error code if the print job should fail.
  • You can run the Print Wizard DLL, calling the various methods exposed to allow Print Wizard to handle all your printing needs.
  • You can run the Print Wizard ActiveX module from your program. WePO exposes a subset of the Print Wizard calls, allowing you to use it in your .NET or Windows application.

At present, Print Wizard does not support COM or DDE directly. We are working on this for the future. If you have any need let us know.

Back to top

 

Yes. All of the Print Wizard engine functionality can be run from within a script. With the "/q" command-line switch for quiet-mode, Print Wizard will display no dialogs, but will return error codes. See the Print Wizard manual for a complete list of error codes returned.

Back to top

 

The Print Wizard DLL is designed to interact with the many features of Print Wizard through program calls. These program calls are made by your own Windows program or script and result in Print Wizard doing all the print work for you. Check out our documentation on Using the Print Wizard DLL.

Back to top