While the problem is very much ill-posed, since there is an infinite range of distributions satisfying these constraints, a possible solution is to find the maximum entropy distribution under the constraint of a support of $(80,12000)$ [thus using the uniform measure on that interval as the reference measure] and a mean of $\mathbb E[X]=500$ is of the form
$$p(x)=\exp\{\alpha+\beta x\}\,\mathbb I_{(80,1200)}(x)$$
with
$$\int_{80}^{12000} \exp\{\alpha+\beta x\}\,\text dx=1\qquad\text{and}\qquad
\int_{80}^{12000} x\exp\{\alpha+\beta x\}\,\text dx=500$$
which leads to
$$\exp\{-\alpha\}=\beta^{-1}[\exp\{12000\beta\}-\exp\{80\beta\}]$$
and$$\beta^{-1}\exp\{\alpha\}[12000\exp\{12000\beta\}-80\exp\{80\beta\}]-\beta^{-1}=500$$which can be solved numerically in $\beta$. Leading to
$$\beta^*=-.00238\quad\text{and}\quad\alpha^*=-5.850$$which can be easily simulated as a truncated exponential distribution, by inversion of the cdf, e.g., using qexp()
in R. For instance,
function(n=1)
return(qexp(pexp(80,.00238)+runif(n)*
(pexp(12000,.00238)-pexp(80,.00238)),.00238))
If the question is instead about simulating a sample $X_{1:2000}$ such that $$\min(X_{1:2000})=80,\quad\max(X_{1:2000})=1200,\quad\bar X_{1:2000}=500$$
there is again an infinite range of solutions, the simplest being a uniform Multinomial distribution constrained by its minimum $X_{(1)}$ being 80 and its maximum $X_{(2000)}$ being 12000 since
$$\underbrace{X_{(1)}}_{80}+\cdots+\underbrace{X_{(2000)}}_{12000} = 80 + 987920 + 12000= \underbrace{2000}_p\times 500=\underbrace{10^6}_n$$
namely proportional to
$${n\choose 80\,n_2\,\cdots\,n_{p-1}\,12000}\mathbb I_{80\le n_1\le\ldots\le n_{p-1}\le 1200}$$
This is equivalent to simulate a Multinomial
$$\mathcal M_{1998}(987920,1/1998,\ldots,1/1998)$$
constrained to $(80,1200)^{1998}$, ie
x=rmultinom(1,987920,rep(1,1998))
while (min(x)<80||max(x)>12000){
x=rmultinom(1,987920,rep(1,1998))}
As an additional remark, let me add that observing a range of (80,12000) for a Multinomial $\mathcal M(10⁶;2000)$ is extremely unlikely (in the above simulation, the first attempt is always successful) and a more satisfactory approach would be to infer first about the probability vector of a Multinomial $\mathcal M(10⁶;2000;p)$ before predicting the remaining 1998 categories.