| Barry MacDonnell's
Toolbox for WordPerfect
Macros, tips, and
templates for Corel® WordPerfect® for Windows®
| Page updated May 17, 2016
Main tips page | Browse more tips
How to quickly change printers (in WP8+) back to the default after printing to a different printer or faxing the document.
The Windows default printer is the one that shows in File, Print when you open WordPerfect.
However, if you select a different printer (or a fax driver) for temporary purposes then the new selection will be retained and might even be saved with the document. This is by design. From 2Trays.html:
"remembers" the last printer used -- but just for the current session
if you have enabled [which is the program default] "Reformat documents
for the WP default printer on open" in Tools, Settings, Environment and
you are using a printer different from the one set in Windows as the
default. Hence, if you have more than one printer you might need to
select another printer prior to a new print job. [For more on that
setting see here.]
So if you want to use a different printer (or fax driver), print (or fax) the document, and quickly restore the setting to your preferred (default) printer after printing, here are some ways to do it.
Basically, there are several situations where you might need to switch the program's output to a different tray or to a different device:
1: Same document -> same printer, but output for specified
document sections sent to a different tray or feed slot.
See "Print your letterhead page from one printer tray, and second and subsequent pages (or envelopes) from another tray or slot" here. This includes "How WordPerfect 'talks' to your printer's trays and manual feed slot (i.e., the functions of WordPerfect's Page Setup dialog)" and other topics.
The main takeaway from that page is that WordPerfect does not use the tray (or slot) specified in the printer's [Properties] settings (if it did it could not mix various paper sizes/types in a document); rather, it uses its own page definitions to control the printer, which you can specify in the document itself.
Hence it is worth reading that material in order to use the program as it was designed.
• Situation 2: Same document -> different printer (or fax driver) for all output.
For example, you might want to fax the entire document directly from your computer (or print it to a PDF driver) but you want the program to automatically return its settings to the current physical printer when you are done rather than retain the temporary output selection as the "default" in File, Print. (Note that this is not an issue with File, Publish to PDF since using WordPerfect's PDF feature is smart enough to return to your physical printer.)
See this thread
on WordPerfect Universe. It demonstrates a couple of macros using the
example of printing an envelope to a separate envelope printer. [The
macro code there can be copied into WordPerfect; see here for instructions.]
Or see the final download post here
by frequent contributor Klaus Pfeiffer for the ready-to-use expanded
version of the macro found on the above WordPerfect Universe thread. It
can be used to switch temporarily to a different printer or fax driver,
then return the File, Print setting to the original printer. It has
several options you can choose at print time.
[There's an old alternative macro to print the document to a different printer: See Footnote 1.]
• Situation 3: Same document -> part of output to current printer, part to a different printer.
For example, you
might want to print a section of the document to a dedicated printer
that prints on special paper, and print the other section to the
currently selected printer.
Below is a macro to do it.
¤ To copy the macro code into your WordPerfect program to create a working macro, see here.
¤ You will need to replace the two "dummy" printer names in the macro code and enter the exact, case-sensitive names of the two printers in the two commands in the top section of the code (shown in bold).
¤ The macro
displays two small dialogs to ask for the first page number and last
page number of the section to print to the alternate printer, then it
prints the chosen pages to the first printer named in vPrinter1 below, then it prints the rest of the document to the printer named in vPrinter2.
¤ If you wish to print only the first page to the alternate printer, enter a "1" (without quotes) in both dialogs.
¤ There is
very little error-checking done such as ascertaining the printers are
available, etc. The macro below is merely designed to illustrate some
basic steps. Test it with a small document to see how it works.
// Macro begins here
// Display messages if needed -
// Store name of current "default" printer for the document:
Older alternative (continued from above):
Below is a macro solution based on the FAXIT macro in the Library.
 Select and Copy all of the following lines
of macro code.
// (Macro code begins)
OnCancel(End@) OnError(End@) vPrinterName:=""
// Check if the document
// Exit from any header,
note, text box, etc.:
// Change "Your New
Printer" to the exact name
vPrinterName := PrinterSelectbyName ("Your New Printer")
// The last command
above will return the setting to your