Re: VFP 9.0 report template returns printer to default by Cathy
Cathy
Thu Jul 10 07:38:43 CDT 2008
When you save a report .. if the Printer Environment option is checked on
the menu .. the VFP default printer is saved with the report.
Notice I said "VFP" default printer. VFP's default printer may not be the
same as "Windows" default printer. At the time you start VFP up, it sets its
default printer to the same as Windows. If you later change the Windows
default printer .. it does NOT change the VFP default printer of that active
VFP instance.
? SET('Printer',2) shows the Windows default printer
? SET('Printer',3) shows the VFP default printer
If you want to change the VFP default printer while in a VFP instance, issue
this command:
SET PRINTER TO NAME 'XYZ Printer Full Name'
Cathy Pountney
"Marty" <mbills@ttecht(removethis).com> wrote in message
news:56F551B9-CFCA-4985-92D5-661C93C1A4A9@microsoft.com...
>I have a third party application that uses vfp9.0. When i try to save a
> printer to the report template, it goes back to the default printer. i am
> unable to save the non default printer. we use this application to print
> labels using a datamax printer. we need to be able to save the datamax
> printer because it uses labels different then 81/2 X11.
>
> in trying to resolve this, i contacted teh third party, and they responded
> that this was a vfp 9.0 bug and not their bug. they had a vfp application
> that was supposed to solve this, but it didn't.
>
> i went to vfp 9 and created a sample report. i then tried to save a non
> default printer, and it did the same thing. after closing and opening the
> report, the default printer was selected again. is there any patches to
> fix
> this? any help would be appreciated. thanks