ChangePrinter
David Thompson
dthmpsn1 at illinois.edu
Tue Jul 8 07:22:51 PDT 2008
>The ChangePrinter command is not listed in the Panorama Reference.
>
>Following the steps outlined in the Panorama Handbook, I can't get it
>to work - is there a hidden pitfall?
Looking at the Panorama Handbook, I see only one
step, so I'm not sure which steps you are
referring to.
With a database that has at least one form in
front, open the Default Printer wizard. It can be
found on the Preferences sub-menu of the Wizards
menu. Click on one of the pop-up menus, and look
to see if the printer you wanted is listed. If it
is, then the name you see in the menu is the
exact name you should be using in the
ChangePrinter statement.
The list of printers in the Default Printer
wizard, and the ChangePrinter command, both rely
on the ListPrinters command. This command doesn't
work for everyone. If the list of printers that
appeared in the Default Printers wizard's menu
was blank, or didn't list all of the available
printers, then it doesn't work for you.
ListPrinters is a custom statement. It's code
contains an alternate method for listing the
printers that will probably work if the usual
method doesn't.
Search for the ListPrinters command - not the
listprinters( function - in the Programming
Reference wizard, and select it. Then press
command-1 to open the procedure. Near the top you
will see a statement that reads
if 1=0
Change that to
if 1=1
or any other condition that is guaranteed to be
true. Then save and quit from Panorama. When you
re-launch, try the Default Printers wizard again,
to see if your printer is listed now.
Dave
More information about the Qna
mailing list