estoy probando el sgte codigo
request.aspx
Código PHP:
   <%@ Page Language="VB" Debug="True" %>
<%@ Import Namespace="System.Drawing" %>
<%@ Import Namespace="System.Drawing.Imaging" %>
<%@ Import Namespace="System.Drawing.Text" %>
<%
' Declare Vars
Dim objBMP        As System.Drawing.Bitmap
    Dim objGraphics As System.Drawing.Graphics
   
    Dim font_c As System.Drawing.Font
    Dim codigo_ingreso As String
    
' Create new image - bitmap
    objBMP = New Bitmap(450, 30)
 
' Create a graphics object to work with from the BMP
objGraphics = System.Drawing.Graphics.FromImage(objBMP)
 
' Fill the image with background color
objGraphics.Clear(Color.White)
 
' Set anti-aliasing for text to make it better looking
objGraphics.TextRenderingHint = TextRenderingHint.AntiAlias
 
    ' Configure font to use for text
    font_c = New Font("Code128", 18, FontStyle.Regular)
   
 
    ' Write out the text
    codigo_ingreso = Replace(Request.QueryString("text"), "'", "")
    objGraphics.DrawString(codigo_ingreso, font_c, Brushes.Black, 3, 3)
 
 
' Set the content type and return the image
Response.ContentType = "image/GIF"
objBMP.Save(Response.OutputStream, ImageFormat.Gif)
 
    ' Kill our objects
    font_c.Dispose()
objGraphics.Dispose()
objBMP.Dispose()
%> 
    Código PHP:
   <html>
<head>
<title>ASP 101s Generating Text Images on the Fly with ASP.NET Sample Code</title>
</head>
<body>
 
<p>
The image tags and their attributes are the same as they
would be for any other image... just point at the .aspx
file instead of the .gif.
</p>
<br />
<img src="request.aspx?text=1234567890123456789012345678901234567890" />
 
</body>
</html> 
    eso funciona,, la cosa es que quiero utilizar un tipo de fuente extraño (para codigo de barras)
y pense que si agregaba esta fuente en el sistema y ponia esta linea funcionaria
Código PHP:
   font_c = New Font("Code128", 18, FontStyle.Regular) 
    ¿Que hago mal?
¿Existe alguan otra manera?
¿Que sistema utilizo para no necesitar que la fuente este instalada en el sistema?
Gracias---->
 
 
