Posted 9 October 2018, 1:30 am EST
Hi,
I have an active x control that I am using on vb6:
We currently updated this control from vaSpread version: 2.5.0.1, to the new fpSpread version 8.0.28.
When we printing spread grids with the new control, most of the time everything is OK.
There is one spread grid that when we print it, we are getting a page that contains error instead of the printing page:
PCL XL error
Subsystem: IMAGE
Error: ExtraData
Operator: ReadImage
Position: 451
It only happen on printer: HP laser jet 4050n
When we print the same page with the old control on the same printer, there is no problem.
The code:
With MySpread
.PrintBorder = True .PrintColHeaders = True .PrintRowHeaders = True .PrintColor = False .PrintGrid = True .PrintJobName = "Configuration" .PrintShadows = True .PrintType = 3 'SS_PRINT_PAGE_RANGE .PrintPageStart = 1 .PrintPageEnd = 2 .PrintUseDataMax = True .PrintHeader = "/c/fn"Times New Roman"/fz"18"/fb1/fk0Configuration/n/fz"12"/fb1/fk0/lBio-Rad Laboratories/rV_Default /n/lVARIANT/rInstrument #1 /n/n/lReport Generated: 09//10//2018 17:21/n/nHbA1c Units Settings/n/nMaster Equation: DCM HbA1c = (a × IFCC HbA1c " .PrintFooter = "/n/l/fn"Times New Roman"/fz"12"/fb1/fk009//10//2018 17:21/cPage /p" .PrintMarginTop = 30 .PrintMarginBottom = 30 .PrintMarginLeft = 500 .PrintMarginRight = 500 .PrintAbortMsg = "Printing ......." .Action = 32 'SS_ACTION_SMARTPRINT
End With
What is the problem ?
I’m afraid that clients will not be able to print this page.
Thanks,
Dror Farhi