Hi Roger,
This is the error of DCPRINT with new Alaska and new Express. It's happens after job is send to printer… now I released that this error occurs only if you change printer properties on print dialog screen (for example I changed to print in Duplex on both sides..).
br, Goran
DC Print Error
DC Print Error
- Attachments
-
- XPPERROR.zip
- log
- (716 Bytes) Downloaded 684 times
-
- Print_uplate.zip
- source function
- (1.58 KiB) Downloaded 688 times
-
- Print Screen
- Picture.png (37.73 KiB) Viewed 9415 times
Goran Radosic
Re: DC Print Error
Goran -
I can't compile and run your sample program.
I'm missing many files.
I'll try to reproduce this error but it probably will not be easy.
Are you saying that you can preview in 1.9 but not in 2.0?
I don't have a printer that prints in duplex mode.
Can you write a smaller sample that I can compile and run?
Are you saying that this happens if you change any property on the printer or only if you select duplex mode?
This code has been in eXpress++ for many years and I have not seen a report of a problem like this.
Is the preview window visible when this error occurs?
If it is visible, then the error should not occur.
If it is not visible, then the error would occur.
What I don't understand is how the window would get destroyed before arriving at line 1531 in the code. I would think that would happen only if the preview had a parent that was destroyed but the parent is always the AppDeskTop() so that would be impossible.
I suggest that you make the following change to \exp20\source\dclipx\_dcprc.prg
Line 1529
Was
Is
Then run BUILD20.BAT to rebuild DCLIPX.DLL.
I can't compile and run your sample program.
I'm missing many files.
I'll try to reproduce this error but it probably will not be easy.
Are you saying that you can preview in 1.9 but not in 2.0?
I don't have a printer that prints in duplex mode.
Can you write a smaller sample that I can compile and run?
Are you saying that this happens if you change any property on the printer or only if you select duplex mode?
This code has been in eXpress++ for many years and I have not seen a report of a problem like this.
Is the preview window visible when this error occurs?
If it is visible, then the error should not occur.
If it is not visible, then the error would occur.
What I don't understand is how the window would get destroyed before arriving at line 1531 in the code. I would think that would happen only if the preview had a parent that was destroyed but the parent is always the AppDeskTop() so that would be impossible.
I suggest that you make the following change to \exp20\source\dclipx\_dcprc.prg
Line 1529
Was
Code: Select all
IF ::lPreview .AND. ::oDlg:status() > 0
::oDlg:setModalState(XBP_DISP_MODELESS)
::oDlg:destroy()
ENDIF
Code: Select all
IF ::lPreview .AND. ::oDlg:status() == XBP_STAT_CREATE
::oDlg:setModalState(XBP_DISP_MODELESS)
::oDlg:destroy()
ENDIF
The eXpress train is coming - and it has more cars.
Re: DC Print Error
Hi Roger!
Answers in RED color:
I'll try to reproduce this error but it probably will not be easy.
Are you saying that you can preview in 1.9 but not in 2.0?
-No, same error in both versions
I don't have a printer that prints in duplex mode.
-I'll bring it to you in Boise if you want
Can you write a smaller sample that I can compile and run?
-No need, code change resolve problem (this problem)...
Are you saying that this happens if you change any property on the printer or only if you select duplex mode?
-Not only duplex... duplex and some other (non standard) properties.
This code has been in eXpress++ for many years and I have not seen a report of a problem like this.
-Me also, but in last few months I had lot's of problem with DCprint. for example similar problem in December that you solve me...
Is the preview window visible when this error occurs?
-Yes, but without content of print... only white window, look at printscreen that i attach to board
If it is visible, then the error should not occur.
If it is not visible, then the error would occur.
What I don't understand is how the window would get destroyed before arriving at line 1531 in the code. I would think that would happen only if the preview had a parent that was destroyed but the parent is always the AppDeskTop() so that would be impossible.
-I realy don't know why this occur but after I change as you tell me, everything is working fine...
I suggest that you make the following change to \exp20\source\dclipx\_dcprc.prg
-I did, and it's working OK. Please change that in source code for future updates...
Answers in RED color:
I'll try to reproduce this error but it probably will not be easy.
Are you saying that you can preview in 1.9 but not in 2.0?
-No, same error in both versions
I don't have a printer that prints in duplex mode.
-I'll bring it to you in Boise if you want



Can you write a smaller sample that I can compile and run?
-No need, code change resolve problem (this problem)...
Are you saying that this happens if you change any property on the printer or only if you select duplex mode?
-Not only duplex... duplex and some other (non standard) properties.
This code has been in eXpress++ for many years and I have not seen a report of a problem like this.
-Me also, but in last few months I had lot's of problem with DCprint. for example similar problem in December that you solve me...
Is the preview window visible when this error occurs?
-Yes, but without content of print... only white window, look at printscreen that i attach to board
If it is visible, then the error should not occur.
If it is not visible, then the error would occur.
What I don't understand is how the window would get destroyed before arriving at line 1531 in the code. I would think that would happen only if the preview had a parent that was destroyed but the parent is always the AppDeskTop() so that would be impossible.
-I realy don't know why this occur but after I change as you tell me, everything is working fine...
I suggest that you make the following change to \exp20\source\dclipx\_dcprc.prg
-I did, and it's working OK. Please change that in source code for future updates...
Goran Radosic
Re: DC Print Error
I have already done so.I suggest that you make the following change to \exp20\source\dclipx\_dcprc.prg
-I did, and it's working OK. Please change that in source code for future updates...
I'm glad it fixed your problem.
The eXpress train is coming - and it has more cars.