Gracias
Gracias
Que tal, usando la versión mas actual (FoxyPreviewer v2.99z35) veo un problema con la conversión de la fecha al exportar a Excel, problema que en esta liga se mencionó http://foxypreviewer.codeplex.com/workitem/9674, pero sigue igual el problema. tengo manera de comprobarlo, puede alguien apoyarme. La verdad es que acabo de ver la herramienta y es muy buena.
Gracias
Hi, friend.
Yes: you can prevente the 'Initializing' message.
Please see the nThermType, nThermFormWidth and lQuietMode properties.
And also maybe nShowToolBar, lOpenViewer, but I am not sure.
But I consider that the waiting will be boring... you shuold let see that message.... my opinion.
By.
Hi, friend.
Your bug is strange. May be your (default) printer does not have different orientations... or so...
I can click on Print when I use PDFCreator or a real (laser or dot-matrix) printer.
Sorry....
You can resolve your doubts if you see these two files:
```
Test_Simplified_MakePDF.prg
Test_Simplified_MakePDF2.prg
```
By.
Did some more research, line 7738 seems to be in FoxyInitForm.Init():
```
m.loHelper = CREATEOBJECT("PreviewHelper", .T.)
```
I think it fails on:
```
cPrinterName = SET("Printer",3)
```
I've checked on the server: opened a VFP IDE and executed `SET("Printer",3)` in the command window: observed a slight delay first time, no delay on subsequent calls.
After this I restarted the exe COM server: OK, no error
Maybe a COM server does not accept waiting until printer is ready.
Testing this workaround:
```
Sys(13) && 2016-10-12 thn -- {FiC V 2.22.0-beta.8} {en} added as workaround to error # 125 ('Printer is not ready') at line 7738 of foxyPreviewer.app - https://foxypreviewer.codeplex.com/workitem/10921
do foxyPreviewer.app
```
Will report whether it works
Cheers,
thn
[Test Form](http://foxincloud.com/tutotest/report.tuto)
Sys(13) does not seem to fix the issue consistently;
sometimes work, sometimes does not.
opening a session on the server and viewing the printer's property seems to be a valid, though unpractical, workaround.
Solved by using the "Complete Mode":
instead of:
```
m.ccadena = "REPORT FORM lli_chk OBJECT TYPE " + cdestino + " TO FILE 'c:\gam\" + m_lch.codi_vhi + '-' + LTRIM(STR(RECNO('m_lch'))) + cext + "'"
&cCadena
```
now i do:
```
loReport = CREATEOBJECT("PreviewHelper")
WITH loReport as ReportHelper
.AddReport("lli_chk.frx", "NODIALOG")
.cDestFile = "c:\gam\" + m_lch.codi_vhi + '-' + LTRIM(STR(RECNO('m_lch'))) + cext
.RunReport()
ENDWITH
loReport = NULL
```
On the SCAN ALL
And at the beggining:
```
SET PROCEDURE TO LOCFILE("FoxyPreviewer.App") ADDITIVE
LOCAL loReport as "PreviewHelper" OF "FoxyPreviewer.App"
```