Find Jobs
Hire Freelancers

asp.net print page task

$10 USD

Cerrado
Publicado hace alrededor de 10 años

$10 USD

Pagado a la entrega
I have a small task on asp.net, I want to print a text data to receipt printer from web page, I used the following code and it works fine on my local machine: Service service = null; protected void Page_Load(object sender, EventArgs e) { try { ServiceFunc serv = new ServiceFunc(); service = [login to view URL]([login to view URL](Session["servid"])); printpage(); } catch (Exception ex) { } } public void printpage() { PrintDialog pd = new PrintDialog(); PrintDocument pdoc = null; pdoc = new PrintDocument(); [login to view URL]("1"); PrinterSettings ps = new PrinterSettings(); Font font = new Font("Courier New", 12); PaperSize psize = new PaperSize("Custom", 300, 400); [login to view URL] = pdoc; [login to view URL] = psize; [login to view URL] = 600; [login to view URL] = 300; [login to view URL]("2"); [login to view URL] += new PrintPageEventHandler(pdoc_PrintPage); [login to view URL]("3"); PrintPreviewDialog pp = new PrintPreviewDialog(); [login to view URL] = pdoc; [login to view URL]("4"); [login to view URL](); [login to view URL]("5"); } void pdoc_PrintPage(object sender, PrintPageEventArgs e) { Graphics graphics = [login to view URL]; Font font = new Font("Courier New", 10); [login to view URL]("XXX", new Font("Courier New", 9), new SolidBrush([login to view URL]), startX, startY + Offset); } but on Server it gives me : Forbidden: You don't have permission to access cache on this server. ... 403 . if you have a solution or another way to print, I will award the task to you.
ID del proyecto: 5361147

Información sobre el proyecto

17 propuestas
Proyecto remoto
Activo hace 10 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
17 freelancers están ofertando un promedio de $15 USD por este trabajo
Avatar del usuario
Hello, I have reviewed your project posting and are very much excited to assist you in your project. I would appreciate if we can connect over private message or other medium to discuss about the project and provide you with accurate details. We are a professional company with experience of over 7 years. We have worked with MNCs and government counties to develop solutions for them. We can be a one stop shop for all your development needs. We have expert developers for all the technologies and platforms mentioned in the project. Unlike an individual freelancer, we are a professional company with proven track record. We can provide timely, scalable and cost effective solutions. We have state of the art development center. We have wide range of mobile devices & tablets on Android, iOS, Windows, RIM & Symbian platforms. We have latest windows & MAC PCs and servers. So you can associate with us and get the advantage of this technology without requiring a big investment at your end. Regards Starco Enterprise
$19 USD en 1 día
5,0 (7 comentarios)
4,8
4,8
Avatar del usuario
There can be multiple reasons you could get that error. If you have full administrative access to the server, it should be an easy and quick fix. I'm sure I can fix this for you quickly. Thanks
$15 USD en 1 día
5,0 (3 comentarios)
2,5
2,5
Avatar del usuario
Just run the above code on the server it would start working, since you are accessing the server from local machine this type of error comes. PM me if it didn't work.
$10 USD en 0 día
5,0 (2 comentarios)
1,1
1,1
Avatar del usuario
A proposal has not yet been provided
$15 USD en 7 días
0,0 (1 comentario)
0,0
0,0
Avatar del usuario
Dear, i can use print as you use but it will be better if you use crystal report but any way i can help please contact me and it will be done with in 3 hour thanks amr wafa
$10 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$15 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Company Name: SHREEDHOON INFOTECH Description of Company: Shreedhoon infotech is a IT development company with extremely talented employees. Our office is located in Gandhinagar, Gujarat, West India. We take a bottom-line approach to each project. Our clients consistently see increased traffic, enhanced brand loyalty and new leads thanks to our work. We'd like to think that we're the kind of people you can come to enjoy spending time with and be trusted to achieve your business objectives. Our Process that works for our business is consisting of six stages from concept to completion without unnecessary delays and cost overruns. Company Services: • Web Developing • Web Development Services • Graphics Design Services • Internet Marketing • Web Hosting Services • Web Maintenance Services • Software Developing and Testing • IPhone and Android Development • ERP Solutions
$15 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hello friend i think its better to print page using java script function you can send id of table,div to that function and print it.
$15 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Dear Reader, I can provide you small and easy solutions within 4 hours. As on server side you need to know your Printer Name. Regards, Imran
$15 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$15 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hi, What I understand is that you are trying to copy the code from a desktop application to a code behind of a web page. What happens in the desktop application is that you are running the application as owner so you can access the printer or do other priviliged tasks while for a web application that resides on a server (IIS) you dont get those priviliges. Hope you get the explanation. I know about a solution. If you are interested then I can share the details or get it done for you Regards, Waqas
$15 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
hello sir.... i'm manjeet kaur... i can make it in 1 hour.... if you give me complete description of this thanks sir
$15 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$20 USD en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
You have to use javascript print function. 1. whatever you want to print that is written into your page using div tag. 2. print the div tag. Thank You.
$15 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de EGYPT
Abu Dhabi, Egypt
5,0
1
Forma de pago verificada
Miembro desde feb 14, 2003

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.