Page 1 of 1
Any way to print yet?
Posted: Thu Jul 07, 2016 4:20 am
by stevec
I have not asked for a few years. Would like ability to print directly to a printer. This is for deliveries to print an invoice.
Showing a pdf with navigation bar and having user click print every time (I assume this works) may get us by temporarily.
Re: Any way to print yet?
Posted: Thu Jul 07, 2016 9:55 am
by tsupartono
LongRange has the ability to send HTML output to printer directly.
On iOS, the printer must be Air-Print capable.
Have a look at the printing example in the lansademo schema, under Programming Examples >> Use Case Examples >> Printing (source code LREX0112)
If you can't find this example, most likely you have an older version of the demo material, let us know and we'll send you the updated material.
Give this a go and let us know if this would satisfy your printing requirements, any suggestions are welcome.
Re: Any way to print yet?
Posted: Tue Jul 12, 2016 7:27 am
by stevec
I do have that use case example.
What about a pdf? We generate an invoice and create a pdf on the fly (xsl-fo merging xsl with xml). In our normal application we send it directly to printer as binary file (most newer printers understand it).
I would like to send pdf (have full path on IFS) to tablet printer. Is this possible?
I am assuming not, in which case my only option will be to display it as pdf and let user use navigation bar print icon to print.
Re: Any way to print yet?
Posted: Tue Jul 12, 2016 10:14 am
by tsupartono
Yes, unfortunately displaying the PDF in a Web View and then get the end-user to print it would be the way to go.
Or, you could possibly also generate HTML content (instead of XSL-FO) on the server by modifying the XSL?