Preview Change
Re: Preview Change
Ok, I will get to this later today. I don't expect this to be an easy fix, that's why I've been putting it off.
The eXpress train is coming - and it has more cars.
Re: Preview Change
Thanks. I thought that may be the case. The prc.prg that does work in case it will help is 254. All my clients on 1.9 use that express version. I do not think I can just replace that program in dclipx without crashing due to some method changes I saw using file compare in multiedit, and really did not want to do that anyway.
Re: Preview Change
Please call me on this.
I don't know which sample of mine you are referring to.
Also, I want to see this on your computer via Teamviewer.
I don't know which sample of mine you are referring to.
Also, I want to see this on your computer via Teamviewer.
The eXpress train is coming - and it has more cars.
Re: Preview Change
We can schedule that connection when its convenient. I am here the rest of today and all day tomorrow, except lunchtime (eastern time).
I can show you your prchoice.prg that is samples, or mine with some changes, but the preview window does not have anything to do with the program code since its handled by dclipx. I can also show how it works with a prior version by logging into one of our user sites if you want to see that. should not take long at all.
Fred
I can show you your prchoice.prg that is samples, or mine with some changes, but the preview window does not have anything to do with the program code since its handled by dclipx. I can also show how it works with a prior version by logging into one of our user sites if you want to see that. should not take long at all.
Fred
Re: Preview Change
I tried writing several sample programs to reproduce the problem and I cannot replicate your problem.
I need to have you write me a small sample program that shows the problem.
I need to have you write me a small sample program that shows the problem.
The eXpress train is coming - and it has more cars.
Re: Preview Change
Here is a testprt program and xpj. No files needed. It prints two pages in preview mode with our button settings.
When first page opens, max the screen and click on the page until the font looks good and it fits. Then go to the second page. That will duplicate what is happening. The distance between the characters changes , which is the problem, and the right 3rd of the page goes off and cannot be seen without scrolling.
The calculation for magnification (zoom factor) is not working as it did before on the spacing, apparently.
Fred
When first page opens, max the screen and click on the page until the font looks good and it fits. Then go to the second page. That will duplicate what is happening. The distance between the characters changes , which is the problem, and the right 3rd of the page goes off and cannot be seen without scrolling.
The calculation for magnification (zoom factor) is not working as it did before on the spacing, apparently.
Fred
- Attachments
-
- testprt.zip
- (1.34 KiB) Downloaded 601 times
Re: Preview Change
I think I have a fix for you. You will need to make a change to _DCPRC.PRG. (line 1157).
Make the below change and then rebuild DCLIPX.DLL by running BUILD19_SL1.BAT or BUILD20.BAT.
WAS:
IS:
Make the below change and then rebuild DCLIPX.DLL by running BUILD19_SL1.BAT or BUILD20.BAT.
WAS:
Code: Select all
IF !::lTextOnly .AND. !::lExcel
::aPageSize := ::oPS:SetPageSize()[1]
IF ::lPreview
::nColSize := ( ::aPageSize[ 1 ] * ::nColDivider ) / ::nCols
ELSE
::nColSize := ::aPageSize[ 1 ] / ::nCols
ENDIF
::nRowSize := ::Offset() / ::nRows
ENDIF
Code: Select all
IF !::lTextOnly .AND. !::lExcel
IF ::lPreview
::nColSize := ( ::aPageSize[ 1 ] * ::nColDivider ) / ::nCols
ELSE
::aPageSize := ::oPS:SetPageSize()[1]
::nColSize := ::aPageSize[ 1 ] / ::nCols
ENDIF
::nRowSize := ::Offset() / ::nRows
ENDIF
The eXpress train is coming - and it has more cars.
Re: Preview Change
dclipx would not rebuild. in my case it is build19. Build 20 worked fine. Says about 10 times module not found. dclipx.def is in the ...bin19 folder but no other files,and it was moved to the lib folder. Compiled the prgs and all the obj files are there. Tried in various locations that I have that express version and it does the same thing. 263 version
fred
fred
Last edited by omni on Fri May 20, 2016 8:50 am, edited 1 time in total.
Re: Preview Change
I'm not going to try to figure out your environment problems. This always takes me too much time.
Here is an updated DCLIPX.DLL (Xbase++ build 355)
Here is an updated DCLIPX.DLL (Xbase++ build 355)
- Attachments
-
- dclipx.zip
- (2.65 MiB) Downloaded 585 times
The eXpress train is coming - and it has more cars.
Re: Preview Change
Thanks Roger, both 1.9 and 2.0 work. Will that be part of the next release?
Have a good weekend.
Have a good weekend.