gdi32 call to "escape" (api-printing)

Chris Kelleher

Administrator
Staff member
I'm trying to use the escape / extescape functions to send some pcl
printercommands directly to the printer, because this will gives us a
way to gradualy convert our printer-escapecode-style-printing to
device-context-style-printing.

when I try to run the escape procedure, progress tells me I have the
datatypes wrong. I have tried numerous combinations, but I can't get
it right.

Can anyone shine some light over this one?

Thanks,

Alexander Noteboom,
Technical Support Engineer,
AllSolution Business Applications

(ps: progress 9.0A / win32)
 

Chris Kelleher

Administrator
Staff member
Alexander,

It would appear that you have one additional parameter being passed to the
function. It only requires 4 input, 1 out and 1 return. You have the
definition correct but you are passing it and extra value of '0' as the
third parameter currently. If you remove it I believe that your function
should work.

HTH,

Todd G. Nist
tnist@fbos.com
 
Top