Mike:
I've not done anything with VFP9 as of yet but in previous versions of VFP the 
first record of the FRX stores printer info. Perhaps there is an issue between 
the preview and the printer.
I run the following code before compiling:

local i, lnCount
local array laFrxs(1,5)
lnCount = 0
lnCount = adir(laFrxs,"*.frx")
if lnCount > 0  then
  for i = 1 to lnCount
    use (laFrxs(i,1))
    replace tag with "", tag2 with ""
    use
  endfor
  wait window "Reset " + alltrim(transform(lnCount,"99,999")) + " Reports..." 
timeout 2
else
  wait window "No Reports In This Folder..." timeout 2
endif

This resets the printer driver info that gets stored in the FRX.
Not sure if this is relevant but I thought I would offer it anyway.
Regards,

Jack Skelley
________________________________________
From: [email protected] [[email protected]] On Behalf Of 
MB Software Solutions General Account 
[[email protected]]
Sent: Wednesday, March 25, 2009 4:13 PM
To: [email protected]
Subject: VFP9SP1 Report prints in portrait instead of landscape

We've got a client in Canada who has a weird printing issue with a report
that is designed to print in landscape orientation.  If she previews the
report and then hits the printer icon, it prints landscape as expected.
However, if she just prints it (without previewing), it comes out in
portrait.  The code is basically just the following:

report form (cSCRepPath + cRepFile) ;
                        to print &cPrintHow NOCONSOLE

and the value of cPrintHow is "prompt"

It CAN'T be the code because this isn't a problem at any other center AND
it had been working fine for this center some time ago.  Not sure what
changed???  All workstations using this common report file on their
server.  Printer allegedly hasn't been changed.

Ideas?

tia,
--Mike



[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/0b957900b2b8194d998a441195b6603838655b5...@drdsrv03.drdad.thenewarkarena.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to