Configure printer on OFBiz for direct printing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

Configure printer on OFBiz for direct printing

Malin Nicolas
Hi all,

For various customer projects, I defined entities so printing on
different queues for a CUPS server on an action. This means that the
client browser is not used, an action is triggering the printing, eg,
for postal stickers, etc...

I'm trying to make this and rely on the OFBiz standard, as I did it
already for 2 projects. I'm thinking this should be something really
generic, and I have to do it one more time. I didn't found anything in
the model to manage this. So has someone did this on a standard OFBiz
implementation or should I suggest some model improvements ?

Enumeration -- PrinterAction -- UserLogin
                                |
                           Printer

Nicolas

--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/

Reply | Threaded
Open this post in threaded view
|

Re: Configure printer on OFBiz for direct printing

Jacques Le Roux
Administrator
Using Samba we could connect from Windows as well...

Jacques

From: "Nicolas Malin" <[hidden email]>

> Hi all,
>
> For various customer projects, I defined entities so printing on different queues for a CUPS server on an action. This means that
> the client browser is not used, an action is triggering the printing, eg, for postal stickers, etc...
>
> I'm trying to make this and rely on the OFBiz standard, as I did it already for 2 projects. I'm thinking this should be something
> really generic, and I have to do it one more time. I didn't found anything in the model to manage this. So has someone did this on
> a standard OFBiz implementation or should I suggest some model improvements ?
>
> Enumeration -- PrinterAction -- UserLogin
>                                |
>                           Printer
>
> Nicolas
>
> --
> Nicolas MALIN
> Consultant
> Tél : 06.17.66.40.06
> Site projet : http://www.neogia.org/
> -------
> Société LibrenBerry
> Tél : 02.48.02.56.12
> Site : http://www.librenberry.net/
>


Reply | Threaded
Open this post in threaded view
|

Re: Configure printer on OFBiz for direct printing

Malin Nicolas
My problem isn't technical ;) : samba, cups, lpr, etc ... , for me it's
the same. I need just a printing queues by a functionnal environnement
(user, workflow, status, etc ... )

Nicolas

Le 19/08/2010 10:45, Jacques Le Roux a écrit :

> Using Samba we could connect from Windows as well...
>
> Jacques
>
> From: "Nicolas Malin" <[hidden email]>
>> Hi all,
>>
>> For various customer projects, I defined entities so printing on
>> different queues for a CUPS server on an action. This means that the
>> client browser is not used, an action is triggering the printing, eg,
>> for postal stickers, etc...
>>
>> I'm trying to make this and rely on the OFBiz standard, as I did it
>> already for 2 projects. I'm thinking this should be something really
>> generic, and I have to do it one more time. I didn't found anything
>> in the model to manage this. So has someone did this on a standard
>> OFBiz implementation or should I suggest some model improvements ?
>>
>> Enumeration -- PrinterAction -- UserLogin
>>                                |
>>                           Printer
>>
>> Nicolas
>>
>> --
>> Nicolas MALIN
>> Consultant
>> Tél : 06.17.66.40.06
>> Site projet : http://www.neogia.org/
>> -------
>> Société LibrenBerry
>> Tél : 02.48.02.56.12
>> Site : http://www.librenberry.net/
>>
>
>


--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/

Reply | Threaded
Open this post in threaded view
|

Re: Configure printer on OFBiz for direct printing

Scott Gray-2
Hi Nicolas

I'm actually a little curious about the technical side, are the servers remote from the printers?  If so, have you found connecting to them over the net to be very problematic?

Thanks
Scott

HotWax Media
http://www.hotwaxmedia.com

On 19/08/2010, at 8:50 PM, Nicolas Malin wrote:

> My problem isn't technical ;) : samba, cups, lpr, etc ... , for me it's the same. I need just a printing queues by a functionnal environnement (user, workflow, status, etc ... )
>
> Nicolas
>
> Le 19/08/2010 10:45, Jacques Le Roux a écrit :
>> Using Samba we could connect from Windows as well...
>>
>> Jacques
>>
>> From: "Nicolas Malin" <[hidden email]>
>>> Hi all,
>>>
>>> For various customer projects, I defined entities so printing on different queues for a CUPS server on an action. This means that the client browser is not used, an action is triggering the printing, eg, for postal stickers, etc...
>>>
>>> I'm trying to make this and rely on the OFBiz standard, as I did it already for 2 projects. I'm thinking this should be something really generic, and I have to do it one more time. I didn't found anything in the model to manage this. So has someone did this on a standard OFBiz implementation or should I suggest some model improvements ?
>>>
>>> Enumeration -- PrinterAction -- UserLogin
>>>                               |
>>>                          Printer
>>>
>>> Nicolas
>>>
>>> --
>>> Nicolas MALIN
>>> Consultant
>>> Tél : 06.17.66.40.06
>>> Site projet : http://www.neogia.org/
>>> -------
>>> Société LibrenBerry
>>> Tél : 02.48.02.56.12
>>> Site : http://www.librenberry.net/
>>>
>>
>>
>
>
> --
> Nicolas MALIN
> Consultant
> Tél : 06.17.66.40.06
> Site projet : http://www.neogia.org/
> -------
> Société LibrenBerry
> Tél : 02.48.02.56.12
> Site : http://www.librenberry.net/
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Configure printer on OFBiz for direct printing

Malin Nicolas
Yes Scott,

I print over the net with cups server hierarchy. I embedded a cups
server with the OFBiz instance and all cups server on site give to
embedded cups server their queues. The problem is'nt really this
strucutre ;) but how when user make an action, I select the good queue
which is printed next to him.

Nicolas

Le 19/08/2010 11:07, Scott Gray a écrit :

> Hi Nicolas
>
> I'm actually a little curious about the technical side, are the servers remote from the printers?  If so, have you found connecting to them over the net to be very problematic?
>
> Thanks
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>
> On 19/08/2010, at 8:50 PM, Nicolas Malin wrote:
>
>    
>> My problem isn't technical ;) : samba, cups, lpr, etc ... , for me it's the same. I need just a printing queues by a functionnal environnement (user, workflow, status, etc ... )
>>
>> Nicolas
>>
>> Le 19/08/2010 10:45, Jacques Le Roux a écrit :
>>      
>>> Using Samba we could connect from Windows as well...
>>>
>>> Jacques
>>>
>>> From: "Nicolas Malin"<[hidden email]>
>>>        
>>>> Hi all,
>>>>
>>>> For various customer projects, I defined entities so printing on different queues for a CUPS server on an action. This means that the client browser is not used, an action is triggering the printing, eg, for postal stickers, etc...
>>>>
>>>> I'm trying to make this and rely on the OFBiz standard, as I did it already for 2 projects. I'm thinking this should be something really generic, and I have to do it one more time. I didn't found anything in the model to manage this. So has someone did this on a standard OFBiz implementation or should I suggest some model improvements ?
>>>>
>>>> Enumeration -- PrinterAction -- UserLogin
>>>>                                |
>>>>                           Printer
>>>>
>>>> Nicolas
>>>>
>>>> --
>>>> Nicolas MALIN
>>>> Consultant
>>>> Tél : 06.17.66.40.06
>>>> Site projet : http://www.neogia.org/
>>>> -------
>>>> Société LibrenBerry
>>>> Tél : 02.48.02.56.12
>>>> Site : http://www.librenberry.net/
>>>>
>>>>          
>>>
>>>        
>>
>> --
>> Nicolas MALIN
>> Consultant
>> Tél : 06.17.66.40.06
>> Site projet : http://www.neogia.org/
>> -------
>> Société LibrenBerry
>> Tél : 02.48.02.56.12
>> Site : http://www.librenberry.net/
>>
>>      
>    


--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/

Reply | Threaded
Open this post in threaded view
|

Re: Configure printer on OFBiz for direct printing

Bruno Busco
Are you thinking about a printers management tool inside OFBiz that would
allow to define printers so that they would be available in the OFBiz user
preferences to be selected as default printer ?

This would make sense if the user is supposed to get prints from a service
directly and not only from the browser thorough a PDF file download.
I think this feature would be useful.

-Bruno




2010/8/19 Nicolas Malin <[hidden email]>

> Yes Scott,
>
> I print over the net with cups server hierarchy. I embedded a cups server
> with the OFBiz instance and all cups server on site give to embedded cups
> server their queues. The problem is'nt really this strucutre ;) but how when
> user make an action, I select the good queue which is printed next to him.
>
> Nicolas
>
> Le 19/08/2010 11:07, Scott Gray a écrit :
>
>  Hi Nicolas
>>
>> I'm actually a little curious about the technical side, are the servers
>> remote from the printers?  If so, have you found connecting to them over the
>> net to be very problematic?
>>
>> Thanks
>> Scott
>>
>> HotWax Media
>> http://www.hotwaxmedia.com
>>
>> On 19/08/2010, at 8:50 PM, Nicolas Malin wrote:
>>
>>
>>
>>> My problem isn't technical ;) : samba, cups, lpr, etc ... , for me it's
>>> the same. I need just a printing queues by a functionnal environnement
>>> (user, workflow, status, etc ... )
>>>
>>> Nicolas
>>>
>>> Le 19/08/2010 10:45, Jacques Le Roux a écrit :
>>>
>>>
>>>> Using Samba we could connect from Windows as well...
>>>>
>>>> Jacques
>>>>
>>>> From: "Nicolas Malin"<[hidden email]>
>>>>
>>>>
>>>>> Hi all,
>>>>>
>>>>> For various customer projects, I defined entities so printing on
>>>>> different queues for a CUPS server on an action. This means that the client
>>>>> browser is not used, an action is triggering the printing, eg, for postal
>>>>> stickers, etc...
>>>>>
>>>>> I'm trying to make this and rely on the OFBiz standard, as I did it
>>>>> already for 2 projects. I'm thinking this should be something really
>>>>> generic, and I have to do it one more time. I didn't found anything in the
>>>>> model to manage this. So has someone did this on a standard OFBiz
>>>>> implementation or should I suggest some model improvements ?
>>>>>
>>>>> Enumeration -- PrinterAction -- UserLogin
>>>>>                               |
>>>>>                          Printer
>>>>>
>>>>> Nicolas
>>>>>
>>>>> --
>>>>> Nicolas MALIN
>>>>> Consultant
>>>>> Tél : 06.17.66.40.06
>>>>> Site projet : http://www.neogia.org/
>>>>> -------
>>>>> Société LibrenBerry
>>>>> Tél : 02.48.02.56.12
>>>>> Site : http://www.librenberry.net/
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> Nicolas MALIN
>>> Consultant
>>> Tél : 06.17.66.40.06
>>> Site projet : http://www.neogia.org/
>>> -------
>>> Société LibrenBerry
>>> Tél : 02.48.02.56.12
>>> Site : http://www.librenberry.net/
>>>
>>>
>>>
>>
>>
>
>
> --
> Nicolas MALIN
> Consultant
> Tél : 06.17.66.40.06
> Site projet : http://www.neogia.org/
> -------
> Société LibrenBerry
> Tél : 02.48.02.56.12
> Site : http://www.librenberry.net/
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Configure printer on OFBiz for direct printing

Jacques Le Roux
Administrator
+1!

Jacques

From: "Bruno Busco" <[hidden email]>
Are you thinking about a printers management tool inside OFBiz that would
allow to define printers so that they would be available in the OFBiz user
preferences to be selected as default printer ?

This would make sense if the user is supposed to get prints from a service
directly and not only from the browser thorough a PDF file download.
I think this feature would be useful.

-Bruno




2010/8/19 Nicolas Malin <[hidden email]>

> Yes Scott,
>
> I print over the net with cups server hierarchy. I embedded a cups server
> with the OFBiz instance and all cups server on site give to embedded cups
> server their queues. The problem is'nt really this strucutre ;) but how when
> user make an action, I select the good queue which is printed next to him.
>
> Nicolas
>
> Le 19/08/2010 11:07, Scott Gray a écrit :
>
>  Hi Nicolas
>>
>> I'm actually a little curious about the technical side, are the servers
>> remote from the printers?  If so, have you found connecting to them over the
>> net to be very problematic?
>>
>> Thanks
>> Scott
>>
>> HotWax Media
>> http://www.hotwaxmedia.com
>>
>> On 19/08/2010, at 8:50 PM, Nicolas Malin wrote:
>>
>>
>>
>>> My problem isn't technical ;) : samba, cups, lpr, etc ... , for me it's
>>> the same. I need just a printing queues by a functionnal environnement
>>> (user, workflow, status, etc ... )
>>>
>>> Nicolas
>>>
>>> Le 19/08/2010 10:45, Jacques Le Roux a écrit :
>>>
>>>
>>>> Using Samba we could connect from Windows as well...
>>>>
>>>> Jacques
>>>>
>>>> From: "Nicolas Malin"<[hidden email]>
>>>>
>>>>
>>>>> Hi all,
>>>>>
>>>>> For various customer projects, I defined entities so printing on
>>>>> different queues for a CUPS server on an action. This means that the client
>>>>> browser is not used, an action is triggering the printing, eg, for postal
>>>>> stickers, etc...
>>>>>
>>>>> I'm trying to make this and rely on the OFBiz standard, as I did it
>>>>> already for 2 projects. I'm thinking this should be something really
>>>>> generic, and I have to do it one more time. I didn't found anything in the
>>>>> model to manage this. So has someone did this on a standard OFBiz
>>>>> implementation or should I suggest some model improvements ?
>>>>>
>>>>> Enumeration -- PrinterAction -- UserLogin
>>>>>                               |
>>>>>                          Printer
>>>>>
>>>>> Nicolas
>>>>>
>>>>> --
>>>>> Nicolas MALIN
>>>>> Consultant
>>>>> Tél : 06.17.66.40.06
>>>>> Site projet : http://www.neogia.org/
>>>>> -------
>>>>> Société LibrenBerry
>>>>> Tél : 02.48.02.56.12
>>>>> Site : http://www.librenberry.net/
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> Nicolas MALIN
>>> Consultant
>>> Tél : 06.17.66.40.06
>>> Site projet : http://www.neogia.org/
>>> -------
>>> Société LibrenBerry
>>> Tél : 02.48.02.56.12
>>> Site : http://www.librenberry.net/
>>>
>>>
>>>
>>
>>
>
>
> --
> Nicolas MALIN
> Consultant
> Tél : 06.17.66.40.06
> Site projet : http://www.neogia.org/
> -------
> Société LibrenBerry
> Tél : 02.48.02.56.12
> Site : http://www.librenberry.net/
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Configure printer on OFBiz for direct printing

Scott Gray-2
In reply to this post by Bruno Busco
I'm interested in how well that remote printing setup works, particularly in windows based client networks.  The are a few other options for auto-printing, such as applets and also the reverse of a remote print server, where you basically have the printers (via some type of proxy client) maintaining a persistent connection to OFBiz.

Regards
Scott

On 19/08/2010, at 11:01 PM, Bruno Busco wrote:

> Are you thinking about a printers management tool inside OFBiz that would
> allow to define printers so that they would be available in the OFBiz user
> preferences to be selected as default printer ?
>
> This would make sense if the user is supposed to get prints from a service
> directly and not only from the browser thorough a PDF file download.
> I think this feature would be useful.
>
> -Bruno
>
>
>
>
> 2010/8/19 Nicolas Malin <[hidden email]>
>
>> Yes Scott,
>>
>> I print over the net with cups server hierarchy. I embedded a cups server
>> with the OFBiz instance and all cups server on site give to embedded cups
>> server their queues. The problem is'nt really this strucutre ;) but how when
>> user make an action, I select the good queue which is printed next to him.
>>
>> Nicolas
>>
>> Le 19/08/2010 11:07, Scott Gray a écrit :
>>
>> Hi Nicolas
>>>
>>> I'm actually a little curious about the technical side, are the servers
>>> remote from the printers?  If so, have you found connecting to them over the
>>> net to be very problematic?
>>>
>>> Thanks
>>> Scott
>>>
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>>
>>> On 19/08/2010, at 8:50 PM, Nicolas Malin wrote:
>>>
>>>
>>>
>>>> My problem isn't technical ;) : samba, cups, lpr, etc ... , for me it's
>>>> the same. I need just a printing queues by a functionnal environnement
>>>> (user, workflow, status, etc ... )
>>>>
>>>> Nicolas
>>>>
>>>> Le 19/08/2010 10:45, Jacques Le Roux a écrit :
>>>>
>>>>
>>>>> Using Samba we could connect from Windows as well...
>>>>>
>>>>> Jacques
>>>>>
>>>>> From: "Nicolas Malin"<[hidden email]>
>>>>>
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> For various customer projects, I defined entities so printing on
>>>>>> different queues for a CUPS server on an action. This means that the client
>>>>>> browser is not used, an action is triggering the printing, eg, for postal
>>>>>> stickers, etc...
>>>>>>
>>>>>> I'm trying to make this and rely on the OFBiz standard, as I did it
>>>>>> already for 2 projects. I'm thinking this should be something really
>>>>>> generic, and I have to do it one more time. I didn't found anything in the
>>>>>> model to manage this. So has someone did this on a standard OFBiz
>>>>>> implementation or should I suggest some model improvements ?
>>>>>>
>>>>>> Enumeration -- PrinterAction -- UserLogin
>>>>>>                              |
>>>>>>                         Printer
>>>>>>
>>>>>> Nicolas
>>>>>>
>>>>>> --
>>>>>> Nicolas MALIN
>>>>>> Consultant
>>>>>> Tél : 06.17.66.40.06
>>>>>> Site projet : http://www.neogia.org/
>>>>>> -------
>>>>>> Société LibrenBerry
>>>>>> Tél : 02.48.02.56.12
>>>>>> Site : http://www.librenberry.net/
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> Nicolas MALIN
>>>> Consultant
>>>> Tél : 06.17.66.40.06
>>>> Site projet : http://www.neogia.org/
>>>> -------
>>>> Société LibrenBerry
>>>> Tél : 02.48.02.56.12
>>>> Site : http://www.librenberry.net/
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>> --
>> Nicolas MALIN
>> Consultant
>> Tél : 06.17.66.40.06
>> Site projet : http://www.neogia.org/
>> -------
>> Société LibrenBerry
>> Tél : 02.48.02.56.12
>> Site : http://www.librenberry.net/
>>
>>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Configure printer on OFBiz for direct printing

BJ Freeman
for security reasons remote printing from ofbiz view or persistent
connection from  the users view should be done over a VPN, unless it is
a intranet behind a firewall.

you can also then have network printers connected.
VPN works well for multiple offices where you can direct reports based
on the office location.

most OHO routers have VPN builtin, so unless you have a hosted Server,
it is pretty simple. For hosted servers you usually need a dedicated one
that the host adds a VPN connection to.


=========================
BJ Freeman  <http://bjfreeman.elance.com>
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man

Scott Gray sent the following on 8/19/2010 4:47 AM:


> I'm interested in how well that remote printing setup works, particularly in windows based client networks.  The are a few other options for auto-printing, such as applets and also the reverse of a remote print server, where you basically have the printers (via some type of proxy client) maintaining a persistent connection to OFBiz.
>
> Regards
> Scott
>
> On 19/08/2010, at 11:01 PM, Bruno Busco wrote:
>
>> Are you thinking about a printers management tool inside OFBiz that would
>> allow to define printers so that they would be available in the OFBiz user
>> preferences to be selected as default printer ?
>>
>> This would make sense if the user is supposed to get prints from a service
>> directly and not only from the browser thorough a PDF file download.
>> I think this feature would be useful.
>>
>> -Bruno
>>
>>
>>
>>
>> 2010/8/19 Nicolas Malin<[hidden email]>
>>
>>> Yes Scott,
>>>
>>> I print over the net with cups server hierarchy. I embedded a cups server
>>> with the OFBiz instance and all cups server on site give to embedded cups
>>> server their queues. The problem is'nt really this strucutre ;) but how when
>>> user make an action, I select the good queue which is printed next to him.
>>>
>>> Nicolas
>>>
>>> Le 19/08/2010 11:07, Scott Gray a écrit :
>>>
>>> Hi Nicolas
>>>>
>>>> I'm actually a little curious about the technical side, are the servers
>>>> remote from the printers?  If so, have you found connecting to them over the
>>>> net to be very problematic?
>>>>
>>>> Thanks
>>>> Scott
>>>>
>>>> HotWax Media
>>>> http://www.hotwaxmedia.com
>>>>
>>>> On 19/08/2010, at 8:50 PM, Nicolas Malin wrote:
>>>>
>>>>
>>>>
>>>>> My problem isn't technical ;) : samba, cups, lpr, etc ... , for me it's
>>>>> the same. I need just a printing queues by a functionnal environnement
>>>>> (user, workflow, status, etc ... )
>>>>>
>>>>> Nicolas
>>>>>
>>>>> Le 19/08/2010 10:45, Jacques Le Roux a écrit :
>>>>>
>>>>>
>>>>>> Using Samba we could connect from Windows as well...
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>> From: "Nicolas Malin"<[hidden email]>
>>>>>>
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> For various customer projects, I defined entities so printing on
>>>>>>> different queues for a CUPS server on an action. This means that the client
>>>>>>> browser is not used, an action is triggering the printing, eg, for postal
>>>>>>> stickers, etc...
>>>>>>>
>>>>>>> I'm trying to make this and rely on the OFBiz standard, as I did it
>>>>>>> already for 2 projects. I'm thinking this should be something really
>>>>>>> generic, and I have to do it one more time. I didn't found anything in the
>>>>>>> model to manage this. So has someone did this on a standard OFBiz
>>>>>>> implementation or should I suggest some model improvements ?
>>>>>>>
>>>>>>> Enumeration -- PrinterAction -- UserLogin
>>>>>>>                               |
>>>>>>>                          Printer
>>>>>>>
>>>>>>> Nicolas
>>>>>>>
>>>>>>> --
>>>>>>> Nicolas MALIN
>>>>>>> Consultant
>>>>>>> Tél : 06.17.66.40.06
>>>>>>> Site projet : http://www.neogia.org/
>>>>>>> -------
>>>>>>> Société LibrenBerry
>>>>>>> Tél : 02.48.02.56.12
>>>>>>> Site : http://www.librenberry.net/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Nicolas MALIN
>>>>> Consultant
>>>>> Tél : 06.17.66.40.06
>>>>> Site projet : http://www.neogia.org/
>>>>> -------
>>>>> Société LibrenBerry
>>>>> Tél : 02.48.02.56.12
>>>>> Site : http://www.librenberry.net/
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Nicolas MALIN
>>> Consultant
>>> Tél : 06.17.66.40.06
>>> Site projet : http://www.neogia.org/
>>> -------
>>> Société LibrenBerry
>>> Tél : 02.48.02.56.12
>>> Site : http://www.librenberry.net/
>>>
>>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Configure printer on OFBiz for direct printing

Jacopo Cappellato-4
In reply to this post by Scott Gray-2
I did some work on this in the past; a poc script should also be in OFBiz (order component - order list screen).
The idea is that you have to define a lan printer in the server OFbiz is running on (of course the printer can be physically connected to another host); then the script uses the Java API support for printing and detects the printer that should appear in a drop down box; then a stream is generated from OFBiz and sent to the printer. For Job management, JobSandbox is used because every print job is sent as async and the status can be tracked in WorkEffort -> Submitted Jobs (this screen shows the jobs submitted by the user)

I hope it helps,

Jacopo

On Aug 19, 2010, at 1:47 PM, Scott Gray wrote:

> I'm interested in how well that remote printing setup works, particularly in windows based client networks.  The are a few other options for auto-printing, such as applets and also the reverse of a remote print server, where you basically have the printers (via some type of proxy client) maintaining a persistent connection to OFBiz.
>
> Regards
> Scott
>
> On 19/08/2010, at 11:01 PM, Bruno Busco wrote:
>
>> Are you thinking about a printers management tool inside OFBiz that would
>> allow to define printers so that they would be available in the OFBiz user
>> preferences to be selected as default printer ?
>>
>> This would make sense if the user is supposed to get prints from a service
>> directly and not only from the browser thorough a PDF file download.
>> I think this feature would be useful.
>>
>> -Bruno
>>
>>
>>
>>
>> 2010/8/19 Nicolas Malin <[hidden email]>
>>
>>> Yes Scott,
>>>
>>> I print over the net with cups server hierarchy. I embedded a cups server
>>> with the OFBiz instance and all cups server on site give to embedded cups
>>> server their queues. The problem is'nt really this strucutre ;) but how when
>>> user make an action, I select the good queue which is printed next to him.
>>>
>>> Nicolas
>>>
>>> Le 19/08/2010 11:07, Scott Gray a écrit :
>>>
>>> Hi Nicolas
>>>>
>>>> I'm actually a little curious about the technical side, are the servers
>>>> remote from the printers?  If so, have you found connecting to them over the
>>>> net to be very problematic?
>>>>
>>>> Thanks
>>>> Scott
>>>>
>>>> HotWax Media
>>>> http://www.hotwaxmedia.com
>>>>
>>>> On 19/08/2010, at 8:50 PM, Nicolas Malin wrote:
>>>>
>>>>
>>>>
>>>>> My problem isn't technical ;) : samba, cups, lpr, etc ... , for me it's
>>>>> the same. I need just a printing queues by a functionnal environnement
>>>>> (user, workflow, status, etc ... )
>>>>>
>>>>> Nicolas
>>>>>
>>>>> Le 19/08/2010 10:45, Jacques Le Roux a écrit :
>>>>>
>>>>>
>>>>>> Using Samba we could connect from Windows as well...
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>> From: "Nicolas Malin"<[hidden email]>
>>>>>>
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> For various customer projects, I defined entities so printing on
>>>>>>> different queues for a CUPS server on an action. This means that the client
>>>>>>> browser is not used, an action is triggering the printing, eg, for postal
>>>>>>> stickers, etc...
>>>>>>>
>>>>>>> I'm trying to make this and rely on the OFBiz standard, as I did it
>>>>>>> already for 2 projects. I'm thinking this should be something really
>>>>>>> generic, and I have to do it one more time. I didn't found anything in the
>>>>>>> model to manage this. So has someone did this on a standard OFBiz
>>>>>>> implementation or should I suggest some model improvements ?
>>>>>>>
>>>>>>> Enumeration -- PrinterAction -- UserLogin
>>>>>>>                             |
>>>>>>>                        Printer
>>>>>>>
>>>>>>> Nicolas
>>>>>>>
>>>>>>> --
>>>>>>> Nicolas MALIN
>>>>>>> Consultant
>>>>>>> Tél : 06.17.66.40.06
>>>>>>> Site projet : http://www.neogia.org/
>>>>>>> -------
>>>>>>> Société LibrenBerry
>>>>>>> Tél : 02.48.02.56.12
>>>>>>> Site : http://www.librenberry.net/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Nicolas MALIN
>>>>> Consultant
>>>>> Tél : 06.17.66.40.06
>>>>> Site projet : http://www.neogia.org/
>>>>> -------
>>>>> Société LibrenBerry
>>>>> Tél : 02.48.02.56.12
>>>>> Site : http://www.librenberry.net/
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Nicolas MALIN
>>> Consultant
>>> Tél : 06.17.66.40.06
>>> Site projet : http://www.neogia.org/
>>> -------
>>> Société LibrenBerry
>>> Tél : 02.48.02.56.12
>>> Site : http://www.librenberry.net/
>>>
>>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Configure printer on OFBiz for direct printing

Erwan de FERRIERES
In reply to this post by BJ Freeman
Le 23/08/2010 09:26, BJ Freeman a écrit :

> for security reasons remote printing from ofbiz view or persistent
> connection from the users view should be done over a VPN, unless it is a
> intranet behind a firewall.
>
> you can also then have network printers connected.
> VPN works well for multiple offices where you can direct reports based
> on the office location.
>
> most OHO routers have VPN builtin, so unless you have a hosted Server,
> it is pretty simple. For hosted servers you usually need a dedicated one
> that the host adds a VPN connection to.
>
>

Problem here is not the physical implementation, this has already been
done and is specific to each site.
What Nicolas wants to speak and create is an implementation of a generic
and "in the background" printing.

Examples are triggering an order print, or a picking list, etc...

Cheers,

--
Erwan de FERRIERES
www.nereide.biz
Reply | Threaded
Open this post in threaded view
|

Re: Configure printer on OFBiz for direct printing

BJ Freeman
Jacopo Give the basics
since printing is based on the loginID
I extended the PartyProfileDefault to have defaults printertypeID's
a New entity for printing with Types (General[normal sheet of paper],
invoices, packingtickets,etc)
and network printer assignments .
new GetPrintertoprint Service input are loginId, TypeofPrinting, that
return the printer to use on the network. Service this call this service.

the GetPrnters  does a discovery of the network printers available for
presenting to along with the types of printers (invoices,
packingtickets,etc) to the user and this then calls a
createPrintertoprint with loginID printertype, and networkprinter assignment

some more has to be done but that give you an overview.

=========================
BJ Freeman  <http://bjfreeman.elance.com>
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Erwan de FERRIERES sent the following on 8/23/2010 1:09 AM:

> Le 23/08/2010 09:26, BJ Freeman a écrit :
>> for security reasons remote printing from ofbiz view or persistent
>> connection from the users view should be done over a VPN, unless it is a
>> intranet behind a firewall.
>>
>> you can also then have network printers connected.
>> VPN works well for multiple offices where you can direct reports based
>> on the office location.
>>
>> most OHO routers have VPN builtin, so unless you have a hosted Server,
>> it is pretty simple. For hosted servers you usually need a dedicated one
>> that the host adds a VPN connection to.
>>
>>
>
> Problem here is not the physical implementation, this has already been
> done and is specific to each site.
> What Nicolas wants to speak and create is an implementation of a generic
> and "in the background" printing.
>
> Examples are triggering an order print, or a picking list, etc...
>
> Cheers,
>

Reply | Threaded
Open this post in threaded view
|

Re: Configure printer on OFBiz for direct printing

Bruno Busco
In reply to this post by Jacopo Cappellato-4
Yes, I think this was what we were looking for.
Do you think it could be moved away from the order component and put the
common?
Does this make sense?

-Bruno

2010/8/23 Jacopo Cappellato <[hidden email]>

> I did some work on this in the past; a poc script should also be in OFBiz
> (order component - order list screen).
> The idea is that you have to define a lan printer in the server OFbiz is
> running on (of course the printer can be physically connected to another
> host); then the script uses the Java API support for printing and detects
> the printer that should appear in a drop down box; then a stream is
> generated from OFBiz and sent to the printer. For Job management, JobSandbox
> is used because every print job is sent as async and the status can be
> tracked in WorkEffort -> Submitted Jobs (this screen shows the jobs
> submitted by the user)
>
> I hope it helps,
>
> Jacopo
>
> On Aug 19, 2010, at 1:47 PM, Scott Gray wrote:
>
> > I'm interested in how well that remote printing setup works, particularly
> in windows based client networks.  The are a few other options for
> auto-printing, such as applets and also the reverse of a remote print
> server, where you basically have the printers (via some type of proxy
> client) maintaining a persistent connection to OFBiz.
> >
> > Regards
> > Scott
> >
> > On 19/08/2010, at 11:01 PM, Bruno Busco wrote:
> >
> >> Are you thinking about a printers management tool inside OFBiz that
> would
> >> allow to define printers so that they would be available in the OFBiz
> user
> >> preferences to be selected as default printer ?
> >>
> >> This would make sense if the user is supposed to get prints from a
> service
> >> directly and not only from the browser thorough a PDF file download.
> >> I think this feature would be useful.
> >>
> >> -Bruno
> >>
> >>
> >>
> >>
> >> 2010/8/19 Nicolas Malin <[hidden email]>
> >>
> >>> Yes Scott,
> >>>
> >>> I print over the net with cups server hierarchy. I embedded a cups
> server
> >>> with the OFBiz instance and all cups server on site give to embedded
> cups
> >>> server their queues. The problem is'nt really this strucutre ;) but how
> when
> >>> user make an action, I select the good queue which is printed next to
> him.
> >>>
> >>> Nicolas
> >>>
> >>> Le 19/08/2010 11:07, Scott Gray a écrit :
> >>>
> >>> Hi Nicolas
> >>>>
> >>>> I'm actually a little curious about the technical side, are the
> servers
> >>>> remote from the printers?  If so, have you found connecting to them
> over the
> >>>> net to be very problematic?
> >>>>
> >>>> Thanks
> >>>> Scott
> >>>>
> >>>> HotWax Media
> >>>> http://www.hotwaxmedia.com
> >>>>
> >>>> On 19/08/2010, at 8:50 PM, Nicolas Malin wrote:
> >>>>
> >>>>
> >>>>
> >>>>> My problem isn't technical ;) : samba, cups, lpr, etc ... , for me
> it's
> >>>>> the same. I need just a printing queues by a functionnal
> environnement
> >>>>> (user, workflow, status, etc ... )
> >>>>>
> >>>>> Nicolas
> >>>>>
> >>>>> Le 19/08/2010 10:45, Jacques Le Roux a écrit :
> >>>>>
> >>>>>
> >>>>>> Using Samba we could connect from Windows as well...
> >>>>>>
> >>>>>> Jacques
> >>>>>>
> >>>>>> From: "Nicolas Malin"<[hidden email]>
> >>>>>>
> >>>>>>
> >>>>>>> Hi all,
> >>>>>>>
> >>>>>>> For various customer projects, I defined entities so printing on
> >>>>>>> different queues for a CUPS server on an action. This means that
> the client
> >>>>>>> browser is not used, an action is triggering the printing, eg, for
> postal
> >>>>>>> stickers, etc...
> >>>>>>>
> >>>>>>> I'm trying to make this and rely on the OFBiz standard, as I did it
> >>>>>>> already for 2 projects. I'm thinking this should be something
> really
> >>>>>>> generic, and I have to do it one more time. I didn't found anything
> in the
> >>>>>>> model to manage this. So has someone did this on a standard OFBiz
> >>>>>>> implementation or should I suggest some model improvements ?
> >>>>>>>
> >>>>>>> Enumeration -- PrinterAction -- UserLogin
> >>>>>>>                             |
> >>>>>>>                        Printer
> >>>>>>>
> >>>>>>> Nicolas
> >>>>>>>
> >>>>>>> --
> >>>>>>> Nicolas MALIN
> >>>>>>> Consultant
> >>>>>>> Tél : 06.17.66.40.06
> >>>>>>> Site projet : http://www.neogia.org/
> >>>>>>> -------
> >>>>>>> Société LibrenBerry
> >>>>>>> Tél : 02.48.02.56.12
> >>>>>>> Site : http://www.librenberry.net/
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> --
> >>>>> Nicolas MALIN
> >>>>> Consultant
> >>>>> Tél : 06.17.66.40.06
> >>>>> Site projet : http://www.neogia.org/
> >>>>> -------
> >>>>> Société LibrenBerry
> >>>>> Tél : 02.48.02.56.12
> >>>>> Site : http://www.librenberry.net/
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> Nicolas MALIN
> >>> Consultant
> >>> Tél : 06.17.66.40.06
> >>> Site projet : http://www.neogia.org/
> >>> -------
> >>> Société LibrenBerry
> >>> Tél : 02.48.02.56.12
> >>> Site : http://www.librenberry.net/
> >>>
> >>>
> >
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Configure printer on OFBiz for direct printing

Jacopo Cappellato-4
Yes,

the script is actually here:

component://content/webapp/content/WEB-INF/actions/print/FindPrinters.groovy

also have a look at its usage in the order component.

Jacopo

On Aug 23, 2010, at 11:35 AM, Bruno Busco wrote:

> Yes, I think this was what we were looking for.
> Do you think it could be moved away from the order component and put the
> common?
> Does this make sense?
>
> -Bruno
>
> 2010/8/23 Jacopo Cappellato <[hidden email]>
>
>> I did some work on this in the past; a poc script should also be in OFBiz
>> (order component - order list screen).
>> The idea is that you have to define a lan printer in the server OFbiz is
>> running on (of course the printer can be physically connected to another
>> host); then the script uses the Java API support for printing and detects
>> the printer that should appear in a drop down box; then a stream is
>> generated from OFBiz and sent to the printer. For Job management, JobSandbox
>> is used because every print job is sent as async and the status can be
>> tracked in WorkEffort -> Submitted Jobs (this screen shows the jobs
>> submitted by the user)
>>
>> I hope it helps,
>>
>> Jacopo
>>
>> On Aug 19, 2010, at 1:47 PM, Scott Gray wrote:
>>
>>> I'm interested in how well that remote printing setup works, particularly
>> in windows based client networks.  The are a few other options for
>> auto-printing, such as applets and also the reverse of a remote print
>> server, where you basically have the printers (via some type of proxy
>> client) maintaining a persistent connection to OFBiz.
>>>
>>> Regards
>>> Scott
>>>
>>> On 19/08/2010, at 11:01 PM, Bruno Busco wrote:
>>>
>>>> Are you thinking about a printers management tool inside OFBiz that
>> would
>>>> allow to define printers so that they would be available in the OFBiz
>> user
>>>> preferences to be selected as default printer ?
>>>>
>>>> This would make sense if the user is supposed to get prints from a
>> service
>>>> directly and not only from the browser thorough a PDF file download.
>>>> I think this feature would be useful.
>>>>
>>>> -Bruno
>>>>
>>>>
>>>>
>>>>
>>>> 2010/8/19 Nicolas Malin <[hidden email]>
>>>>
>>>>> Yes Scott,
>>>>>
>>>>> I print over the net with cups server hierarchy. I embedded a cups
>> server
>>>>> with the OFBiz instance and all cups server on site give to embedded
>> cups
>>>>> server their queues. The problem is'nt really this strucutre ;) but how
>> when
>>>>> user make an action, I select the good queue which is printed next to
>> him.
>>>>>
>>>>> Nicolas
>>>>>
>>>>> Le 19/08/2010 11:07, Scott Gray a écrit :
>>>>>
>>>>> Hi Nicolas
>>>>>>
>>>>>> I'm actually a little curious about the technical side, are the
>> servers
>>>>>> remote from the printers?  If so, have you found connecting to them
>> over the
>>>>>> net to be very problematic?
>>>>>>
>>>>>> Thanks
>>>>>> Scott
>>>>>>
>>>>>> HotWax Media
>>>>>> http://www.hotwaxmedia.com
>>>>>>
>>>>>> On 19/08/2010, at 8:50 PM, Nicolas Malin wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> My problem isn't technical ;) : samba, cups, lpr, etc ... , for me
>> it's
>>>>>>> the same. I need just a printing queues by a functionnal
>> environnement
>>>>>>> (user, workflow, status, etc ... )
>>>>>>>
>>>>>>> Nicolas
>>>>>>>
>>>>>>> Le 19/08/2010 10:45, Jacques Le Roux a écrit :
>>>>>>>
>>>>>>>
>>>>>>>> Using Samba we could connect from Windows as well...
>>>>>>>>
>>>>>>>> Jacques
>>>>>>>>
>>>>>>>> From: "Nicolas Malin"<[hidden email]>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>> For various customer projects, I defined entities so printing on
>>>>>>>>> different queues for a CUPS server on an action. This means that
>> the client
>>>>>>>>> browser is not used, an action is triggering the printing, eg, for
>> postal
>>>>>>>>> stickers, etc...
>>>>>>>>>
>>>>>>>>> I'm trying to make this and rely on the OFBiz standard, as I did it
>>>>>>>>> already for 2 projects. I'm thinking this should be something
>> really
>>>>>>>>> generic, and I have to do it one more time. I didn't found anything
>> in the
>>>>>>>>> model to manage this. So has someone did this on a standard OFBiz
>>>>>>>>> implementation or should I suggest some model improvements ?
>>>>>>>>>
>>>>>>>>> Enumeration -- PrinterAction -- UserLogin
>>>>>>>>>                            |
>>>>>>>>>                       Printer
>>>>>>>>>
>>>>>>>>> Nicolas
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Nicolas MALIN
>>>>>>>>> Consultant
>>>>>>>>> Tél : 06.17.66.40.06
>>>>>>>>> Site projet : http://www.neogia.org/
>>>>>>>>> -------
>>>>>>>>> Société LibrenBerry
>>>>>>>>> Tél : 02.48.02.56.12
>>>>>>>>> Site : http://www.librenberry.net/
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Nicolas MALIN
>>>>>>> Consultant
>>>>>>> Tél : 06.17.66.40.06
>>>>>>> Site projet : http://www.neogia.org/
>>>>>>> -------
>>>>>>> Société LibrenBerry
>>>>>>> Tél : 02.48.02.56.12
>>>>>>> Site : http://www.librenberry.net/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Nicolas MALIN
>>>>> Consultant
>>>>> Tél : 06.17.66.40.06
>>>>> Site projet : http://www.neogia.org/
>>>>> -------
>>>>> Société LibrenBerry
>>>>> Tél : 02.48.02.56.12
>>>>> Site : http://www.librenberry.net/
>>>>>
>>>>>
>>>
>>
>>