  We present a full next-to-leading order code to calculate the photoproduction
of prompt photons. The code is a general purpose program of partonic event
generator type with large flexibility. We study the possibility to constrain
the photon structure functions and comment on isolation issues. A comparison to
ZEUS data is also shown.
