Hi Guys!
I would like to know how to redefine printer functions because I am making a custom printer and I want to overwrite the printer functions to support the custom printer
Thanks!
How do I redefine printer functions
Started by houseofkraft, Sep 30 2016 12:19 PM
2 replies to this topic
#1
Posted 30 September 2016 - 12:19 PM
#2
Posted 30 September 2016 - 12:40 PM
The same way you would overwrite any functions. Make a variable pointing to the old function, and call that in your custom function.
#3
Posted 30 September 2016 - 02:21 PM
Example:
-- API has the function foo local native_API_foo = API.foo API.foo = function (...) <CODE> native_API_foo(...) end
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users











