Printer help... :O

I tried everything to make my golden printer code to work.
I added money in the db.sq.
I modified the cl_init

Now I can’t make it show the user name and type of printer when roll over.
I added this to the cl_init.
[lua]function DrawGoldenPrinterInfo(ent)
local pos = ent:GetPos()

pos.z = pos.z + 8
pos = pos:ToScreen()

local owner = "N/A!"
if ValidEntity(ent.dt.owning_ent) then
	owner = ent.dt.owning_ent:Nick()
end
local text = owner .. "'s

Golden Printer"

draw.DrawText(text, "TargetID", pos.x + 1, pos.y + 1, Color(0, 0, 0, 200), 1)
draw.DrawText(text, "TargetID", pos.x, pos.y, Color(255, 255, 255, 200), 1)

end[/lua]

And.

[lua]
if class == “golden_printer” then
DrawGoldenPrinterInfo(tr.Entity)
end
[/lua]

The full entity code, please…?