Definition and location of jpos.xml JavaPos - javapos

I am trying to write a hello world application that prints through JavaPos into an Epson TM-T20 printer. Every example I find talks about a jpos.xml file. What does this file look like? Where can I get an example of such file?
Thanks

Download developer's CD image from https://download.epson-biz.com/ for appropriate family of printers. It contains JavaPoS. JavaPoS contains SetupPOS wizard for composing jpos.xml for Epson printers.
I downloaded it recently and it was tricky. 1stly, it is downloaded through SSL so I can't use any download manager, just browser. 2ndly, last bytes of archive are not received, so it's corrupted so I could uncompress the archive with zip repairer only.

Related

Where does Bluestacks store apk files for installed apps?

On your PC how can you find the apk files that you install in BlueStacks? Someone suggested to go to C:\ProgramData\BlueStacks_bgp64\Engine\Android and check the .vdi files there with 7z. I did so, but I did not find anything in root.vdi. The system folders and files are there but no sign of installed apps. Data_0.vdi is a large file, I think the virtual system might be in that one, but if I open it in 7z, I can only see a large image file in it. It is 65GB in size, in spite of that I have no games and apps installed in Bluestacks, only Messenger. Should I mount that and browse it for the apks, or it is useless effort?
#Bencuri your are very near to solution. Just follow this steps to get apk files. Before the you need 7-zip software which is free.
Locate the folder C:\ProgramData\BlueStacks_nxt\Engine\ or bluestack engine folder which depends upon version of bluestacks
Locate your instance. For eg: my instance name is Nougat64 and it location will be C:\ProgramData\BlueStacks_nxt\Engine\Nougat64.
Here you will find a file name Data.vhd and you have to open it with 7zip.
In 7Zip go to app folder and here you will find all installed apps.
For eg: Here I want to locate instagram apk file then go to com.instagram.*

How to write script to download spreadsheet?

Yahoo Finance provides spreadsheets of historical data for every symbol. But I don't want to download each of them manually. Is there any way I can write a script to download all of them? For example, I have a list of symbols in a file. I'd like the script to go through the file, and download the spreadsheet for that symbol in a specified directory.
Edit: I'm on OSX 10.8.3
If your OS is linux based just do
wget "download path1"
Read more here
http://www.simplehelp.net/2008/12/11/how-to-download-files-from-the-linux-command-line/
If you are using Windows :
Follow this
http://gallery.technet.microsoft.com/scriptcenter/files-from-websites-4a181ff3
A simple http get on the download link worked.

Encoding of SMS-files from Nokia backup (.nbf)?

I am using a Mac and have a Nokia phone. Therefore I cannot sync it with my computer, but I found out, that making a backup on the creates a .nbf-file, which contains all the data I want (contacts and messages).
The contacts are stored easily accessible as vCards, so that's cool. Unfortunately the messages are stored each text separately in one file, which looks pretty weird when I open it with a text editor (for example TextWrangler). I can see the numbers and the text, but no information about date.
I uploaded the file here: http://www.4shared.com/file/7LNsuPbF/00000A123EB640F500002010005000.html
I already tried out different encodings, but it never looks good.
Maybe someone has a clue how to read that file? Could it be encrypted or something?
Try https://sourceforge.net/projects/nbuexplorer/ - it should be able to open .nbf files.
It is/was a C# project, and it only provides Windows exe as release download, however, I could get this .exe to run on Ubuntu 18.04 using mono; and I could also get the project sources to compile on Ubuntu using xbuild (the result again being an .exe file that can be run with Mono), see comments in my build script get-nbuexplorer.svn.sh.

How to split PowerPoint presentation file into files with one slide in each file

I need to split PowerPoint presentation file (pptx and, if possible, ppt) into a set of original format files (pptx or ppt) – each containing one slide from the original. I need to do this programmatically on Linux Ubuntu server using free tools or external free API. When a file gets uploaded to a directory program will be called from my main program (written in PHP) and do the split.
I am looking for suggestions about language or set of tools to use. I looked at several options listed below. It will take some time to try all of them but if anyone could exclude or add to the list and/or provide code examples it would help.
Thanks!
(1) Apache POI project (POI-XSLF)
(2) OpenOffice unoconv command line utility
(3) C# (with compiler Mono for Linux). This may include indirect option of deleting slides with powerPoint.Slides(x).Delete
(4) JODConverter (Java OpenDocument Converter)
(5) PyODConverter (Python OpenDocument Converter)
(6) Google Documents API
(7) Aspose.Slides for .NET is out because of cost
When I had the same needs I ended up shelling and using "UNOCONV" to convert the files to PDF. And then used "PDFTK" to split the file by pages. Once that is done you should be able to take the extra step and convert the new split PDF files back to PPTX using one more UNOCONV.
While it seems rather complicated, PPTX seems to be "that one ooxml file no one wants to touch". Libraries seem to be few and incomplete mostly.

Expose WinCE setup kit to Active Sync

I have a project that is a WinCe project so I created a cab file that I put on the device and then run it from there. However, I would like to know if it is possible to add my cab to the list of ActiveSync installabled programs so that I could install the cab from there. It's more user-friendly and since I'm not the one who will do it, I'de rather have it that way than formcing the user to do it from the gun.
Thanks,
See the documentation for The Application Manager.
Basically, you have to:
Write an .ini file describing your CAB file
Run CEAppMgr.exe, passing it your .ini file

Resources