We present a full next-to-leading order code to calculate the photoproducti
on of prompt photons. The code is a general purpose program of "partonic ev
ent generator" type with large flexibility. We study the possibility to con
strain the photon structure functions and comment on isolation issues. A co
mparison to the ZEUS data is also shown.