New bulk printing features

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

New bulk printing features

Jacopo Cappellato
As of rev. 521619 there is now the ability to submit an async print
request for many document (rendered from a screen definition with fop)
and send it to a (laser, for now) printer.
You can test it by selecting the "Print" option in the find order list
screen. You can optionally select a printer from the drop down box.
If no printer is selected the system will select the first that the
server's JVM can locate (so it must be defined in the server where OFBiz
is running, even if it is a lan printer).

Let me know what you think (I did very few test, also with the help of
David Shere), and I know that a lot can be done to improve these feature.

Jacopo

Reply | Threaded
Open this post in threaded view
|

Re: New bulk printing features

Jacques Le Roux
Administrator
Jacopo,

I just tried. All seems ok (I see my printers in the list) but there is
a problem in the job. I will have a look later, here is a snippet of the
log

2007-03-23 15:42:32,953 (default-invoker-Thread-7) [
ContentUrlTag.java:43 :WARN ] WARNING: request was null in
appendContentPrefix; this probably means this was used where it
shouldn't be, like using of
bizContentUrl in a screen rendered through a service; using best-bet
behavior: standard prefix from url.properties (no WebSite or security
setting known)
2007-03-23 15:42:33,718 (default-invoker-Thread-7) [
ApacheFopFactory.java:56 :WARN ] Error reading FOP configuration
2007-03-23 15:42:34,359 (default-invoker-Thread-7) [
FONode.java:322:WARN ] Warning(18/17): fo:table, table-layout="auto" is
currently not supported by FOP
2007-03-23 15:42:34,359 (default-invoker-Thread-7) [
PropertyList.java:423:ERROR] Ignoring property:
column-width="proportional-column-width(50)" (null:18:17:
proportional-column-width() function may on
ly be used when fo:table has table-layout="fixed".;
property:'column-width')
2007-03-23 15:42:34,359 (default-invoker-Thread-7) [
PropertyList.java:423:ERROR] Ignoring property:
column-width="proportional-column-width(50)" (null:18:17:
proportional-column-width() function may on
ly be used when fo:table has table-layout="fixed".;
property:'column-width')
2007-03-23 15:42:37,015 (default-invoker-Thread-7) [
FONode.java:322:WARN ] Warning(39/21): fo:table, table-layout="auto" is
currently not supported by FOP
2007-03-23 15:42:37,031 (default-invoker-Thread-7) [
FONode.java:322:WARN ] Warning(79/12): fo:table, table-layout="auto" is
currently not supported by FOP
2007-03-23 15:42:37,046 (default-invoker-Thread-7) [
FONode.java:322:WARN ] Warning(98/11): fo:table, table-layout="auto" is
currently not supported by FOP
2007-03-23 15:42:37,046 (default-invoker-Thread-7) [
FONode.java:322:WARN ] Warning(124/8): fo:table, table-layout="auto" is
currently not supported by FOP
2007-03-23 15:42:37,812 (default-invoker-Thread-7) [
PrintServices.java:188:ERROR]
---- exception
report ----------------------------------------------------------
Error retrieving printer [HP LaserJet 5L (PCL)]:
java.net.URISyntaxException: Illegal character in path at index 2: HP
LaserJet 5L (PCL)
Exception: java.net.URISyntaxException
Message: Illegal character in path at index 2: HP LaserJet 5L (PCL)
---- stack
trace ---------------------------------------------------------------
java.net.URISyntaxException: Illegal character in path at index 2: HP
LaserJet 5L (PCL)
java.net.URI$Parser.fail(URI.java:2816)
java.net.URI$Parser.checkChars(URI.java:2989)
java.net.URI$Parser.parseHierarchical(URI.java:3073)
java.net.URI$Parser.parse(URI.java:3031)
java.net.URI.<init>(URI.java:578)
org.ofbiz.content.print.PrintServices.sendPrintFromScreen(PrintServices.
java:151)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaE
ngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.j
ava:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Thread.java:595)

Jacques

----- Message d'origine -----
De : "Jacopo Cappellato" <[hidden email]>
À : <[hidden email]>
Envoyé : vendredi 23 mars 2007 09:27
Objet : New bulk printing features


> As of rev. 521619 there is now the ability to submit an async print
> request for many document (rendered from a screen definition with fop)
> and send it to a (laser, for now) printer.
> You can test it by selecting the "Print" option in the find order list
> screen. You can optionally select a printer from the drop down box.
> If no printer is selected the system will select the first that the
> server's JVM can locate (so it must be defined in the server where
OFBiz
> is running, even if it is a lan printer).
>
> Let me know what you think (I did very few test, also with the help of
> David Shere), and I know that a lot can be done to improve these
feature.
>
> Jacopo

Reply | Threaded
Open this post in threaded view
|

Re: New bulk printing features

Jacopo Cappellato
Jacques,

thanks for the report, the error is caused by the presence of blank
spaces in the printer name.
I will fix it, but in the meantime you can try with another name.

Jacopo

Jacques Le Roux wrote:

> Jacopo,
>
> I just tried. All seems ok (I see my printers in the list) but there is
> a problem in the job. I will have a look later, here is a snippet of the
> log
>
> 2007-03-23 15:42:32,953 (default-invoker-Thread-7) [
> ContentUrlTag.java:43 :WARN ] WARNING: request was null in
> appendContentPrefix; this probably means this was used where it
> shouldn't be, like using of
> bizContentUrl in a screen rendered through a service; using best-bet
> behavior: standard prefix from url.properties (no WebSite or security
> setting known)
> 2007-03-23 15:42:33,718 (default-invoker-Thread-7) [
> ApacheFopFactory.java:56 :WARN ] Error reading FOP configuration
> 2007-03-23 15:42:34,359 (default-invoker-Thread-7) [
> FONode.java:322:WARN ] Warning(18/17): fo:table, table-layout="auto" is
> currently not supported by FOP
> 2007-03-23 15:42:34,359 (default-invoker-Thread-7) [
> PropertyList.java:423:ERROR] Ignoring property:
> column-width="proportional-column-width(50)" (null:18:17:
> proportional-column-width() function may on
> ly be used when fo:table has table-layout="fixed".;
> property:'column-width')
> 2007-03-23 15:42:34,359 (default-invoker-Thread-7) [
> PropertyList.java:423:ERROR] Ignoring property:
> column-width="proportional-column-width(50)" (null:18:17:
> proportional-column-width() function may on
> ly be used when fo:table has table-layout="fixed".;
> property:'column-width')
> 2007-03-23 15:42:37,015 (default-invoker-Thread-7) [
> FONode.java:322:WARN ] Warning(39/21): fo:table, table-layout="auto" is
> currently not supported by FOP
> 2007-03-23 15:42:37,031 (default-invoker-Thread-7) [
> FONode.java:322:WARN ] Warning(79/12): fo:table, table-layout="auto" is
> currently not supported by FOP
> 2007-03-23 15:42:37,046 (default-invoker-Thread-7) [
> FONode.java:322:WARN ] Warning(98/11): fo:table, table-layout="auto" is
> currently not supported by FOP
> 2007-03-23 15:42:37,046 (default-invoker-Thread-7) [
> FONode.java:322:WARN ] Warning(124/8): fo:table, table-layout="auto" is
> currently not supported by FOP
> 2007-03-23 15:42:37,812 (default-invoker-Thread-7) [
> PrintServices.java:188:ERROR]
> ---- exception
> report ----------------------------------------------------------
> Error retrieving printer [HP LaserJet 5L (PCL)]:
> java.net.URISyntaxException: Illegal character in path at index 2: HP
> LaserJet 5L (PCL)
> Exception: java.net.URISyntaxException
> Message: Illegal character in path at index 2: HP LaserJet 5L (PCL)
> ---- stack
> trace ---------------------------------------------------------------
> java.net.URISyntaxException: Illegal character in path at index 2: HP
> LaserJet 5L (PCL)
> java.net.URI$Parser.fail(URI.java:2816)
> java.net.URI$Parser.checkChars(URI.java:2989)
> java.net.URI$Parser.parseHierarchical(URI.java:3073)
> java.net.URI$Parser.parse(URI.java:3031)
> java.net.URI.<init>(URI.java:578)
> org.ofbiz.content.print.PrintServices.sendPrintFromScreen(PrintServices.
> java:151)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaE
> ngine.java:91)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.j
> ava:53)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
> java.lang.Thread.run(Thread.java:595)
>
> Jacques
>
> ----- Message d'origine -----
> De : "Jacopo Cappellato" <[hidden email]>
> À : <[hidden email]>
> Envoyé : vendredi 23 mars 2007 09:27
> Objet : New bulk printing features
>
>
>> As of rev. 521619 there is now the ability to submit an async print
>> request for many document (rendered from a screen definition with fop)
>> and send it to a (laser, for now) printer.
>> You can test it by selecting the "Print" option in the find order list
>> screen. You can optionally select a printer from the drop down box.
>> If no printer is selected the system will select the first that the
>> server's JVM can locate (so it must be defined in the server where
> OFBiz
>> is running, even if it is a lan printer).
>>
>> Let me know what you think (I did very few test, also with the help of
>> David Shere), and I know that a lot can be done to improve these
> feature.
>> Jacopo

Reply | Threaded
Open this post in threaded view
|

Re: New bulk printing features

Ajey.bitin
In reply to this post by Jacopo Cappellato
Hi Jacopo,

I'm using the latest version of OFBiz and tried to do a bulk print with Orders. I'm using HP LaserJet 1018 for this purpose as you mentioned "Laser for now".

Sorry to say, but I'm not able to print Order PDFs in bulk manner as it is throwing "invalid flavor exception". Can you please add some input here that which printer (Laser) you used to test all this integration and whether the Laser Printer I 'm using is capable to do all this operation or not?

I also tried to print all the supported flavor of my printer and got that it supports GIF, JPG, PNG, Octet-Stream etc flavors internally.

When I'm using "application/pdf" instead of "application/postscript", still it is raising invalid flavor exception.

Any kind of help in this concern is highly appreciated.

Regards,

Ajey Kumar


Jacopo Cappellato wrote
As of rev. 521619 there is now the ability to submit an async print
request for many document (rendered from a screen definition with fop)
and send it to a (laser, for now) printer.
You can test it by selecting the "Print" option in the find order list
screen. You can optionally select a printer from the drop down box.
If no printer is selected the system will select the first that the
server's JVM can locate (so it must be defined in the server where OFBiz
is running, even if it is a lan printer).

Let me know what you think (I did very few test, also with the help of
David Shere), and I know that a lot can be done to improve these feature.

Jacopo
Reply | Threaded
Open this post in threaded view
|

RE: New bulk printing features

bsanders1979
Did you install the postscript driver for your printer? I just so
happened to need this feature in 4.0 and it was only locating printers
that had postscript printing capability,

-----Original Message-----
From: Ajey.bitin [mailto:[hidden email]]
Sent: Saturday, June 06, 2009 2:10 PM
To: [hidden email]
Subject: Re: New bulk printing features


Hi Jacopo,

I'm using the latest version of OFBiz and tried to do a bulk print with
Orders. I'm using HP LaserJet 1018 for this purpose as you mentioned
"Laser
for now".

Sorry to say, but I'm not able to print Order PDFs in bulk manner as it
is
throwing "invalid flavor exception". Can you please add some input here
that
which printer (Laser) you used to test all this integration and whether
the
Laser Printer I 'm using is capable to do all this operation or not?

I also tried to print all the supported flavor of my printer and got
that it
supports GIF, JPG, PNG, Octet-Stream etc flavors internally.

When I'm using "application/pdf" instead of "application/postscript",
still
it is raising invalid flavor exception.

Any kind of help in this concern is highly appreciated.

Regards,

Ajey Kumar



Jacopo Cappellato wrote:
>
> As of rev. 521619 there is now the ability to submit an async print
> request for many document (rendered from a screen definition with fop)

> and send it to a (laser, for now) printer.
> You can test it by selecting the "Print" option in the find order list

> screen. You can optionally select a printer from the drop down box.
> If no printer is selected the system will select the first that the
> server's JVM can locate (so it must be defined in the server where
OFBiz
> is running, even if it is a lan printer).
>
> Let me know what you think (I did very few test, also with the help of

> David Shere), and I know that a lot can be done to improve these
feature.
>
> Jacopo
>
>
>

--
View this message in context:
http://www.nabble.com/New-bulk-printing-features-tp9630723p23904252.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

RE: New bulk printing features

Ajey.bitin
Hi,

I could not find anywhere postscript drivers for HP LaserJet 1018, the printer I'm having. I'm not sure whether this printer supports postscript or not. Actually, there was no specification, Jacopo has mentioned that it should be a Laser Printer only.

Do you know from where I can get postscript drivers for HP LaserJet 1018, if there any?

Regards,

Ajey Kumar

bsanders1979 wrote
Did you install the postscript driver for your printer? I just so
happened to need this feature in 4.0 and it was only locating printers
that had postscript printing capability,

-----Original Message-----
From: Ajey.bitin [mailto:ajey.kumar@palindromesoftware.com]
Sent: Saturday, June 06, 2009 2:10 PM
To: user@ofbiz.apache.org
Subject: Re: New bulk printing features


Hi Jacopo,

I'm using the latest version of OFBiz and tried to do a bulk print with
Orders. I'm using HP LaserJet 1018 for this purpose as you mentioned
"Laser
for now".

Sorry to say, but I'm not able to print Order PDFs in bulk manner as it
is
throwing "invalid flavor exception". Can you please add some input here
that
which printer (Laser) you used to test all this integration and whether
the
Laser Printer I 'm using is capable to do all this operation or not?

I also tried to print all the supported flavor of my printer and got
that it
supports GIF, JPG, PNG, Octet-Stream etc flavors internally.

When I'm using "application/pdf" instead of "application/postscript",
still
it is raising invalid flavor exception.

Any kind of help in this concern is highly appreciated.

Regards,

Ajey Kumar



Jacopo Cappellato wrote:
>
> As of rev. 521619 there is now the ability to submit an async print
> request for many document (rendered from a screen definition with fop)

> and send it to a (laser, for now) printer.
> You can test it by selecting the "Print" option in the find order list

> screen. You can optionally select a printer from the drop down box.
> If no printer is selected the system will select the first that the
> server's JVM can locate (so it must be defined in the server where
OFBiz
> is running, even if it is a lan printer).
>
> Let me know what you think (I did very few test, also with the help of

> David Shere), and I know that a lot can be done to improve these
feature.
>
> Jacopo
>
>
>

--
View this message in context:
http://www.nabble.com/New-bulk-printing-features-tp9630723p23904252.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

RE: New bulk printing features

bsanders1979
Try this link: http://tinyurl.com/lvvj5n

You should see "HP postscript (PS) emulation driver". If it doesn't
work, then google "HP LaserJet 1018 postscript" and click the first
link.

-----Original Message-----
From: Ajey.bitin [mailto:[hidden email]]
Sent: Wednesday, June 10, 2009 4:30 PM
To: [hidden email]
Subject: RE: New bulk printing features


Hi,

I could not find anywhere postscript drivers for HP LaserJet 1018, the
printer I'm having. I'm not sure whether this printer supports
postscript or
not. Actually, there was no specification, Jacopo has mentioned that it
should be a Laser Printer only.

Do you know from where I can get postscript drivers for HP LaserJet
1018, if
there any?

Regards,

Ajey Kumar


bsanders1979 wrote:

>
> Did you install the postscript driver for your printer? I just so
> happened to need this feature in 4.0 and it was only locating printers
> that had postscript printing capability,
>
> -----Original Message-----
> From: Ajey.bitin [mailto:[hidden email]]
> Sent: Saturday, June 06, 2009 2:10 PM
> To: [hidden email]
> Subject: Re: New bulk printing features
>
>
> Hi Jacopo,
>
> I'm using the latest version of OFBiz and tried to do a bulk print
with
> Orders. I'm using HP LaserJet 1018 for this purpose as you mentioned
> "Laser
> for now".
>
> Sorry to say, but I'm not able to print Order PDFs in bulk manner as
it
> is
> throwing "invalid flavor exception". Can you please add some input
here
> that
> which printer (Laser) you used to test all this integration and
whether

> the
> Laser Printer I 'm using is capable to do all this operation or not?
>
> I also tried to print all the supported flavor of my printer and got
> that it
> supports GIF, JPG, PNG, Octet-Stream etc flavors internally.
>
> When I'm using "application/pdf" instead of "application/postscript",
> still
> it is raising invalid flavor exception.
>
> Any kind of help in this concern is highly appreciated.
>
> Regards,
>
> Ajey Kumar
>
>
>
> Jacopo Cappellato wrote:
>>
>> As of rev. 521619 there is now the ability to submit an async print
>> request for many document (rendered from a screen definition with
fop)
>
>> and send it to a (laser, for now) printer.
>> You can test it by selecting the "Print" option in the find order
list
>
>> screen. You can optionally select a printer from the drop down box.
>> If no printer is selected the system will select the first that the
>> server's JVM can locate (so it must be defined in the server where
> OFBiz
>> is running, even if it is a lan printer).
>>
>> Let me know what you think (I did very few test, also with the help
of

>
>> David Shere), and I know that a lot can be done to improve these
> feature.
>>
>> Jacopo
>>
>>
>>
>
> --
> View this message in context:
>
http://www.nabble.com/New-bulk-printing-features-tp9630723p23904252.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
>

--
View this message in context:
http://www.nabble.com/New-bulk-printing-features-tp9630723p23970409.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

RE: New bulk printing features

Ajey.bitin
Thanks for the link. I've gone trough it once. It tells us "The printer must have PS printing capabilities. This can be verified on the printer’s Configuration Page." And on the configuration page of HP LaserJet 1018 http://h10010.www1.hp.com/wwpc/in/en/sm/WF06a/18972-18972-3328059-3328066-3328066-1814092.html nothing has been specified. I think, my printer does not support postscript.

By the way, on which printer, you have tested all this?

Regards,

Ajey Kumar

bsanders1979 wrote
Try this link: http://tinyurl.com/lvvj5n

You should see "HP postscript (PS) emulation driver". If it doesn't
work, then google "HP LaserJet 1018 postscript" and click the first
link.

-----Original Message-----
From: Ajey.bitin [mailto:ajey.kumar@palindromesoftware.com]
Sent: Wednesday, June 10, 2009 4:30 PM
To: user@ofbiz.apache.org
Subject: RE: New bulk printing features


Hi,

I could not find anywhere postscript drivers for HP LaserJet 1018, the
printer I'm having. I'm not sure whether this printer supports
postscript or
not. Actually, there was no specification, Jacopo has mentioned that it
should be a Laser Printer only.

Do you know from where I can get postscript drivers for HP LaserJet
1018, if
there any?

Regards,

Ajey Kumar


bsanders1979 wrote:
>
> Did you install the postscript driver for your printer? I just so
> happened to need this feature in 4.0 and it was only locating printers
> that had postscript printing capability,
>
> -----Original Message-----
> From: Ajey.bitin [mailto:ajey.kumar@palindromesoftware.com]
> Sent: Saturday, June 06, 2009 2:10 PM
> To: user@ofbiz.apache.org
> Subject: Re: New bulk printing features
>
>
> Hi Jacopo,
>
> I'm using the latest version of OFBiz and tried to do a bulk print
with
> Orders. I'm using HP LaserJet 1018 for this purpose as you mentioned
> "Laser
> for now".
>
> Sorry to say, but I'm not able to print Order PDFs in bulk manner as
it
> is
> throwing "invalid flavor exception". Can you please add some input
here
> that
> which printer (Laser) you used to test all this integration and
whether
> the
> Laser Printer I 'm using is capable to do all this operation or not?
>
> I also tried to print all the supported flavor of my printer and got
> that it
> supports GIF, JPG, PNG, Octet-Stream etc flavors internally.
>
> When I'm using "application/pdf" instead of "application/postscript",
> still
> it is raising invalid flavor exception.
>
> Any kind of help in this concern is highly appreciated.
>
> Regards,
>
> Ajey Kumar
>
>
>
> Jacopo Cappellato wrote:
>>
>> As of rev. 521619 there is now the ability to submit an async print
>> request for many document (rendered from a screen definition with
fop)
>
>> and send it to a (laser, for now) printer.
>> You can test it by selecting the "Print" option in the find order
list
>
>> screen. You can optionally select a printer from the drop down box.
>> If no printer is selected the system will select the first that the
>> server's JVM can locate (so it must be defined in the server where
> OFBiz
>> is running, even if it is a lan printer).
>>
>> Let me know what you think (I did very few test, also with the help
of
>
>> David Shere), and I know that a lot can be done to improve these
> feature.
>>
>> Jacopo
>>
>>
>>
>
> --
> View this message in context:
>
http://www.nabble.com/New-bulk-printing-features-tp9630723p23904252.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
>

--
View this message in context:
http://www.nabble.com/New-bulk-printing-features-tp9630723p23970409.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: New bulk printing features

Jacopo Cappellato-4
Hi Ajey,

I implemented that stuff a few years ago and it is using FOP to do the  
job; I would suggest following Brian's suggestions or have a look at  
FOP docs to see if there is something you can do for your printer.
Another option, a bit tricky, is to "bulk generate" file (pdf) in a  
folder and then run a script (outside of OFBiz, in your os) to send  
the files to the printer.

Good luck,

Jacopo


On Jun 10, 2009, at 10:52 PM, Ajey.bitin wrote:

>
> Thanks for the link. I've gone trough it once. It tells us "The  
> printer must
> have PS printing capabilities. This can be verified on the printer’s
> Configuration Page." And on the configuration page of HP LaserJet 1018
> http://h10010.www1.hp.com/wwpc/in/en/sm/WF06a/18972-18972-3328059-3328066-3328066-1814092.html
> nothing has been specified. I think, my printer does not support  
> postscript.
>
> By the way, on which printer, you have tested all this?
>
> Regards,
>
> Ajey Kumar
>
>
> bsanders1979 wrote:
>>
>> Try this link: http://tinyurl.com/lvvj5n
>>
>> You should see "HP postscript (PS) emulation driver". If it doesn't
>> work, then google "HP LaserJet 1018 postscript" and click the first
>> link.
>>
>> -----Original Message-----
>> From: Ajey.bitin [mailto:[hidden email]]
>> Sent: Wednesday, June 10, 2009 4:30 PM
>> To: [hidden email]
>> Subject: RE: New bulk printing features
>>
>>
>> Hi,
>>
>> I could not find anywhere postscript drivers for HP LaserJet 1018,  
>> the
>> printer I'm having. I'm not sure whether this printer supports
>> postscript or
>> not. Actually, there was no specification, Jacopo has mentioned  
>> that it
>> should be a Laser Printer only.
>>
>> Do you know from where I can get postscript drivers for HP LaserJet
>> 1018, if
>> there any?
>>
>> Regards,
>>
>> Ajey Kumar
>>
>>
>> bsanders1979 wrote:
>>>
>>> Did you install the postscript driver for your printer? I just so
>>> happened to need this feature in 4.0 and it was only locating  
>>> printers
>>> that had postscript printing capability,
>>>
>>> -----Original Message-----
>>> From: Ajey.bitin [mailto:[hidden email]]
>>> Sent: Saturday, June 06, 2009 2:10 PM
>>> To: [hidden email]
>>> Subject: Re: New bulk printing features
>>>
>>>
>>> Hi Jacopo,
>>>
>>> I'm using the latest version of OFBiz and tried to do a bulk print
>> with
>>> Orders. I'm using HP LaserJet 1018 for this purpose as you mentioned
>>> "Laser
>>> for now".
>>>
>>> Sorry to say, but I'm not able to print Order PDFs in bulk manner as
>> it
>>> is
>>> throwing "invalid flavor exception". Can you please add some input
>> here
>>> that
>>> which printer (Laser) you used to test all this integration and
>> whether
>>> the
>>> Laser Printer I 'm using is capable to do all this operation or not?
>>>
>>> I also tried to print all the supported flavor of my printer and got
>>> that it
>>> supports GIF, JPG, PNG, Octet-Stream etc flavors internally.
>>>
>>> When I'm using "application/pdf" instead of "application/
>>> postscript",
>>> still
>>> it is raising invalid flavor exception.
>>>
>>> Any kind of help in this concern is highly appreciated.
>>>
>>> Regards,
>>>
>>> Ajey Kumar
>>>
>>>
>>>
>>> Jacopo Cappellato wrote:
>>>>
>>>> As of rev. 521619 there is now the ability to submit an async print
>>>> request for many document (rendered from a screen definition with
>> fop)
>>>
>>>> and send it to a (laser, for now) printer.
>>>> You can test it by selecting the "Print" option in the find order
>> list
>>>
>>>> screen. You can optionally select a printer from the drop down box.
>>>> If no printer is selected the system will select the first that the
>>>> server's JVM can locate (so it must be defined in the server where
>>> OFBiz
>>>> is running, even if it is a lan printer).
>>>>
>>>> Let me know what you think (I did very few test, also with the help
>> of
>>>
>>>> David Shere), and I know that a lot can be done to improve these
>>> feature.
>>>>
>>>> Jacopo
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>>
>> http://www.nabble.com/New-bulk-printing-features-tp9630723p23904252.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/New-bulk-printing-features-tp9630723p23970409.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/New-bulk-printing-features-tp9630723p23970788.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


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

RE: New bulk printing features

bsanders1979
In reply to this post by Ajey.bitin
I know for a fact it worked with a Xerox Phaser 8400DP and the
PDFCreator printer (which isn't a physical printer). It doesn't hurt to
give the driver a shot.

-----Original Message-----
From: Ajey.bitin [mailto:[hidden email]]
Sent: Wednesday, June 10, 2009 4:52 PM
To: [hidden email]
Subject: RE: New bulk printing features


Thanks for the link. I've gone trough it once. It tells us "The printer
must
have PS printing capabilities. This can be verified on the printer's
Configuration Page." And on the configuration page of HP LaserJet 1018
http://h10010.www1.hp.com/wwpc/in/en/sm/WF06a/18972-18972-3328059-332806
6-3328066-1814092.html
nothing has been specified. I think, my printer does not support
postscript.

By the way, on which printer, you have tested all this?

Regards,

Ajey Kumar


bsanders1979 wrote:

>
> Try this link: http://tinyurl.com/lvvj5n
>
> You should see "HP postscript (PS) emulation driver". If it doesn't
> work, then google "HP LaserJet 1018 postscript" and click the first
> link.
>
> -----Original Message-----
> From: Ajey.bitin [mailto:[hidden email]]
> Sent: Wednesday, June 10, 2009 4:30 PM
> To: [hidden email]
> Subject: RE: New bulk printing features
>
>
> Hi,
>
> I could not find anywhere postscript drivers for HP LaserJet 1018, the
> printer I'm having. I'm not sure whether this printer supports
> postscript or
> not. Actually, there was no specification, Jacopo has mentioned that
it

> should be a Laser Printer only.
>
> Do you know from where I can get postscript drivers for HP LaserJet
> 1018, if
> there any?
>
> Regards,
>
> Ajey Kumar
>
>
> bsanders1979 wrote:
>>
>> Did you install the postscript driver for your printer? I just so
>> happened to need this feature in 4.0 and it was only locating
printers

>> that had postscript printing capability,
>>
>> -----Original Message-----
>> From: Ajey.bitin [mailto:[hidden email]]
>> Sent: Saturday, June 06, 2009 2:10 PM
>> To: [hidden email]
>> Subject: Re: New bulk printing features
>>
>>
>> Hi Jacopo,
>>
>> I'm using the latest version of OFBiz and tried to do a bulk print
> with
>> Orders. I'm using HP LaserJet 1018 for this purpose as you mentioned
>> "Laser
>> for now".
>>
>> Sorry to say, but I'm not able to print Order PDFs in bulk manner as
> it
>> is
>> throwing "invalid flavor exception". Can you please add some input
> here
>> that
>> which printer (Laser) you used to test all this integration and
> whether
>> the
>> Laser Printer I 'm using is capable to do all this operation or not?
>>
>> I also tried to print all the supported flavor of my printer and got
>> that it
>> supports GIF, JPG, PNG, Octet-Stream etc flavors internally.
>>
>> When I'm using "application/pdf" instead of "application/postscript",
>> still
>> it is raising invalid flavor exception.
>>
>> Any kind of help in this concern is highly appreciated.
>>
>> Regards,
>>
>> Ajey Kumar
>>
>>
>>
>> Jacopo Cappellato wrote:
>>>
>>> As of rev. 521619 there is now the ability to submit an async print
>>> request for many document (rendered from a screen definition with
> fop)
>>
>>> and send it to a (laser, for now) printer.
>>> You can test it by selecting the "Print" option in the find order
> list
>>
>>> screen. You can optionally select a printer from the drop down box.
>>> If no printer is selected the system will select the first that the
>>> server's JVM can locate (so it must be defined in the server where
>> OFBiz
>>> is running, even if it is a lan printer).
>>>
>>> Let me know what you think (I did very few test, also with the help
> of
>>
>>> David Shere), and I know that a lot can be done to improve these
>> feature.
>>>
>>> Jacopo
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>>
>
http://www.nabble.com/New-bulk-printing-features-tp9630723p23904252.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>>
>
> --
> View this message in context:
>
http://www.nabble.com/New-bulk-printing-features-tp9630723p23970409.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
>

--
View this message in context:
http://www.nabble.com/New-bulk-printing-features-tp9630723p23970788.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

RE: New bulk printing features

Ajey.bitin
Hi Jacoop & bsanders,

Thanks for your inputs.

Even I think, searching postscript drivers and printers is not a good solution for it. I would really appreciate Jacopo advice, based on that only I decided now to merge all PDFs for selected orders in a single one with the help of iText and then will render it on screen from where they can be easily printed. I'm planning to prepare temp PDFs separately, then merging them in a single PDF and after that deleting all the individual order PDFs.

This concept will work in my case.

Regards,

Ajey Kumar

bsanders1979 wrote
I know for a fact it worked with a Xerox Phaser 8400DP and the
PDFCreator printer (which isn't a physical printer). It doesn't hurt to
give the driver a shot.

-----Original Message-----
From: Ajey.bitin [mailto:ajey.kumar@palindromesoftware.com]
Sent: Wednesday, June 10, 2009 4:52 PM
To: user@ofbiz.apache.org
Subject: RE: New bulk printing features


Thanks for the link. I've gone trough it once. It tells us "The printer
must
have PS printing capabilities. This can be verified on the printer's
Configuration Page." And on the configuration page of HP LaserJet 1018
http://h10010.www1.hp.com/wwpc/in/en/sm/WF06a/18972-18972-3328059-332806
6-3328066-1814092.html
nothing has been specified. I think, my printer does not support
postscript.

By the way, on which printer, you have tested all this?

Regards,

Ajey Kumar


bsanders1979 wrote:
>
> Try this link: http://tinyurl.com/lvvj5n
>
> You should see "HP postscript (PS) emulation driver". If it doesn't
> work, then google "HP LaserJet 1018 postscript" and click the first
> link.
>
> -----Original Message-----
> From: Ajey.bitin [mailto:ajey.kumar@palindromesoftware.com]
> Sent: Wednesday, June 10, 2009 4:30 PM
> To: user@ofbiz.apache.org
> Subject: RE: New bulk printing features
>
>
> Hi,
>
> I could not find anywhere postscript drivers for HP LaserJet 1018, the
> printer I'm having. I'm not sure whether this printer supports
> postscript or
> not. Actually, there was no specification, Jacopo has mentioned that
it
> should be a Laser Printer only.
>
> Do you know from where I can get postscript drivers for HP LaserJet
> 1018, if
> there any?
>
> Regards,
>
> Ajey Kumar
>
>
> bsanders1979 wrote:
>>
>> Did you install the postscript driver for your printer? I just so
>> happened to need this feature in 4.0 and it was only locating
printers
>> that had postscript printing capability,
>>
>> -----Original Message-----
>> From: Ajey.bitin [mailto:ajey.kumar@palindromesoftware.com]
>> Sent: Saturday, June 06, 2009 2:10 PM
>> To: user@ofbiz.apache.org
>> Subject: Re: New bulk printing features
>>
>>
>> Hi Jacopo,
>>
>> I'm using the latest version of OFBiz and tried to do a bulk print
> with
>> Orders. I'm using HP LaserJet 1018 for this purpose as you mentioned
>> "Laser
>> for now".
>>
>> Sorry to say, but I'm not able to print Order PDFs in bulk manner as
> it
>> is
>> throwing "invalid flavor exception". Can you please add some input
> here
>> that
>> which printer (Laser) you used to test all this integration and
> whether
>> the
>> Laser Printer I 'm using is capable to do all this operation or not?
>>
>> I also tried to print all the supported flavor of my printer and got
>> that it
>> supports GIF, JPG, PNG, Octet-Stream etc flavors internally.
>>
>> When I'm using "application/pdf" instead of "application/postscript",
>> still
>> it is raising invalid flavor exception.
>>
>> Any kind of help in this concern is highly appreciated.
>>
>> Regards,
>>
>> Ajey Kumar
>>
>>
>>
>> Jacopo Cappellato wrote:
>>>
>>> As of rev. 521619 there is now the ability to submit an async print
>>> request for many document (rendered from a screen definition with
> fop)
>>
>>> and send it to a (laser, for now) printer.
>>> You can test it by selecting the "Print" option in the find order
> list
>>
>>> screen. You can optionally select a printer from the drop down box.
>>> If no printer is selected the system will select the first that the
>>> server's JVM can locate (so it must be defined in the server where
>> OFBiz
>>> is running, even if it is a lan printer).
>>>
>>> Let me know what you think (I did very few test, also with the help
> of
>>
>>> David Shere), and I know that a lot can be done to improve these
>> feature.
>>>
>>> Jacopo
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>>
>
http://www.nabble.com/New-bulk-printing-features-tp9630723p23904252.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>>
>
> --
> View this message in context:
>
http://www.nabble.com/New-bulk-printing-features-tp9630723p23970409.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
>

--
View this message in context:
http://www.nabble.com/New-bulk-printing-features-tp9630723p23970788.html
Sent from the OFBiz - User mailing list archive at Nabble.com.