dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dolibarr-dev] Ayuda


From: Laurent Destailleur (eldy)
Subject: Re: [Dolibarr-dev] Ayuda
Date: Sat, 24 Sep 2011 23:32:33 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13

On 24/09/2011 03:08, Manuel Muñoz wrote:
Estimado Juanjo:

I have a lot of clients who have dotmatrix printers  (ticket printer, and cashdrawers). Sometimes their transactional volume is high so they use preprinted forms.
When we try to print from a pdf (with fpdf), we get a bad and slow imprint. (it's not useful, 'cause it's treated like an image)

i've been trying to design a printing service using jzebra (which is a java applet , _javascript_ interfaced, that can be used to sen RAW commands to a printer). It's the only plugin i know, that allows a webapp to print directly to a POS/label printer.

To be honest, i don't know where to begin. It seems to me that developping this kind of service means a modification to the wole set of fiche.php
  (third party, invoices,  etcetera....).
Do you mean you want a button to print the screen on a printer ?
I'm afraid i can't really help you for that because sending raw data to a device from a php application is not a feature available "by design" of PHP.

i've been taking a look to the webservices module, but i could barely get information about the services (examples of the autentication part).

http://demo.dolibarr.org/webservices/

It occurs to me that provissionally i could create a webclient including jzebra which sends requests to them webservices (example. to print a certain invoice) and then use the menu editor to include this client "transparently" in dolibarr.
web service of dolibarr are designed to ask dolibarr to execute silent code to add, get or update a third party or an invoice.
If you want to do something else, you must build your own.

*new note:

'been examinig the printig system (printing models): i could generate an html file. but how do i do, so the java applet does not load every time?
maybe to write _javascript_  which looks for a special frame name?

any help will be really appreciated.



From: Laurent Destailleur <address@hidden>
To: address@hidden
Sent: Friday, September 23, 2011 6:06 PM
Subject: Re: [Dolibarr-dev] Ayuda

Can you provide you question in english ?
This should increase probability for an answer.


On 22/09/2011 00:22, Manuel Muñoz wrote:
Estimado Juanjo:

Tengo muchos clientes que tienen impresoras matriciales. El volumen transaccional es a veces elevado, y algunos tienen formas preimpresas.
Cuando se imprime desde los pdf, la impresión es de mala calidad y demasiado lenta.
Ademas muchos usan impresoras POS y cajones portamonedas que es una discusión que ya habíamos tenido.

He estado pensando en diseñar un servicio de impresión para jzebra que es el único plugin que conozco hasta el momento que permite comunicación RAW con las impresoras de los clientes.
Pero lo cierto es que no sé por donde empezar. un Servicio de esta naturaleza implicaría una modificiación a todas las fichas (terceros, presupuestos, facturas, pedidos, etc....).

He estado observando el modulo de webservices pero lastimosamente no hay mucha información acerca de los servicios. sobretodo la parte de autenticación.

http://demo.dolibarr.org/webservices/

Se me ocurre provisionalmente crear un cliente que incluya jzebra y envie solicitudes al los webservices (p.ej el de imprimir una factura) y luego utilizar el editor de menus para agregar un link a este cliente.

La verdad es que me gustaría asesoría de vuestra parte, en la parte de webservices, con consumo de créditos, para poder elaborar de forma mas practica el diseño

Espero tu retroalimentación

_______________________________________________ Dolibarr-dev mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/dolibarr-dev


_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev


_______________________________________________ Dolibarr-dev mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/dolibarr-dev


-- 
Eldy (Laurent Destailleur).
---------------------------------------------------------------
EMail: address@hidden
Web: http://www.destailleur.fr

Dolibarr (Project leader): http://www.dolibarr.org
To make a donation for Dolibarr project via Paypal: address@hidden
AWStats (Author) : http://awstats.sourceforge.net
To make a donation for AWStats project via Paypal: address@hidden
AWBot (Author) : http://awbot.sourceforge.net
CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net

reply via email to

[Prev in Thread] Current Thread [Next in Thread]