1. Jochen Peters
  2. Valentina Reports ADK
  3. Monday, February 01 2016, 01:40 PM
  4.  Subscribe via email
is posible to print direct from iOS or cocoa from the ADK (XCODE)
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hello, Alexis,

Print report to printer? Or print to PDF?
Do you need it for local or server projects?

For iOS devices we have Objective-C client library - iV4CC (currently 32-bit). It can connect to Valentina Server (installed on OS X/Linux/Windows) over the network, generate report as PDF, HTML, etc.

As for the printers - in 6.3 it should be possible to send report to printer, which is connected to the system, where Valentina Server is installed.

It is for server projects only.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 1
Jochen Peters Accepted Answer
it posible to print to Air printer or can generate html report and then using cocoa i can send direct to the printer
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 2
Sergey Pashkov Accepted Answer
If you generate a PDF file and send it to AirPrint capable printer - that should work, of course.

You can print pre-existing printable content by setting either the printItem or printItems property of UIPrintInteractionController. Images and PDFs can be given either as image data (in a NSData, UIImage, or ALAsset instance) or via any NSURL referencing something that can be loaded into an NSData object.


It is from http://nshipster.com/uiprintinteractioncontroller/

But Valentina Server is required to work with iOS applications anyway!
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 3
Jochen Peters Accepted Answer
ok
so who Valentina Server run on iPhone or iPad or the ADK it do all for iOs
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 4
Sergey Pashkov Accepted Answer
Valentina Server runs on separate computer - Mac, Windows, Linux.
iOS application connects to it via network.
That's how it works now.

Or do you need to generate reports using ONLY iPhone/iPad, from some local datasource - SQLite, for instance?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 5
Jochen Peters Accepted Answer
yes it need to run local on iPhone or iPad with sqlite
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 6
Ruslan Zasukhin Accepted Answer
So far we did NOT port the whole VKERNEL and VREPORT libs to iOS.

Why?


Mostly because this is mobile devices and they are ok to work with server-side.
Why you think its not okay to use VServer?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 7
Jochen Peters Accepted Answer
the app is use on road no server and most time down internet and it need to print reports and invoices.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 8
Ruslan Zasukhin Accepted Answer
App should print to some mobile printer?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 9
Jochen Peters Accepted Answer
yes i have star Air Printer (mobile printer)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 10
Peter Malmkjær Accepted Answer
Hi
I have tried to install iV4CC (v4cc_x64_8_mac) for iphone, but afterwards the library is nearly empty at "My Documents/Paradigma Software/ADK_version". The "V4CC_x64_8 Uninstaller.app" is there, but the rest is emty. The "/usr/local/lib/vcomponents" are not there!
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 11
Sergey Pashkov Accepted Answer
Hello Peter,

v4cc_x64_8_mac.dmg is for desktop applications. It's supporting libraries are in the "/usr/local/lib/vcomponents_x64"

iV4CC (iv4cc_8_mac.dmg) is a client library for the Valentina Server.
It is one static library, so no need to have vcomponents.
Currently, it is 32-bit, it looks like AppStore stopped accepting 32-bit apps, so we have to switch to 64-bit.
The latest package seems to be incomplete, we'll recheck it.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 12
Peter Malmkjær Accepted Answer
Hi Sergey Pashkov

What's the time horizon?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 13
Sergey Pashkov Accepted Answer
I'm working on it now, it shouldn't take too long.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 14
Ruslan Zasukhin Accepted Answer
Hi Peter,

this fix will go into new major 8.5 release, we hope the next week Wed - Sat, 23-25 Aug.

Peter, you realize that this is ADK for xcode + objC, right?

it allows developing iOS apps, which are CLIENTS to a Valentina Server.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 15
Peter Malmkjær Accepted Answer
Yes I know. My hope is to make a xcode plugin for xojo iOS from the iV4CC (iv4cc_8_mac.dmg) client library for the Valentina Server. And thereby skip using REST databases.

But doubt know if thats possible.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 16
Peter Malmkjær Accepted Answer
Yes I know. My hope is to make a xcode plugin for xojo iOS from the iV4CC (iv4cc_8_mac.dmg) client library for the Valentina Server. And thereby skip using REST databases.

But I don't know if that's possible.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 17
Sergey Pashkov Accepted Answer
Hello Peter,

Unfortunately, it looks like it is impossible.
There are numerous threads on the Xojo forum about it, without success.
Or do you have another info?

Yes, REST is the only way now, there are a few examples on how to use it (like, REST/iOS_vSQLite_Fast) but it requires to change the structure of the app.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 18
Peter Malmkjær Accepted Answer
Yes and No! If you look at the Xojo Plugins SDK Xcode (see under ....Xojo/Extra/PluginsSDK/Examples/... Complete Class ore Complete Module examples) it is possible to make C code plugin. How easy it will be to create a Plugins depends on how you provide your C source code for VALENTINA.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 19
Peter Malmkjær Accepted Answer
I may add that; You finde the diskusion about declares through ios using a "dylib" in your app.

https://forum.xojo.com/43610-c-c-external-dynamic-library-linkage-example-project/74#p358139
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 20
  • Page :
  • 1
  • 2


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 0 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories
Omegabundle
  1. 0 subcategories