Cloud Print and thermal printers [closed] - printing

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am using Google Cloud Print for print generated PDF documents in a web app.
All was working fine in all printer types that i use (HP, Zebra, etc) but about 2 weeks ago all Zebra printers (thermal printers) are printing PDF documents in portrait mode (Ignoring printer settings).
What i need?: That Google Clout print keeps my printers settings.
My tests:
I changed printer settings (Document orientation: Portrait/Landscape).
I rotated the PDF documents before send to Google Cloud Print.
I sent ticket printer/capabilities but Google Cloud Print ignored it.
I'm sure that it's a Google Update.
Exist other people that are using Google Cloud Print with thermal printers?
There is any solution for it?
UPDATE1:
Google updated some documentation https://developers.google.com/cloud-print/?hl=es-419&csw=1
This does not solve my problem, but I posted a library in java that I hope will be useful to others and maybe someone will be encouraged to participate.
This library is compatible with version 1 and 2 of the Google Cloud Print API
Github repository https://github.com/fsistemas/GoogleCloudPrintApiClientJava

You might want to try PrintNode which has support for all major thermal printers. It can print both .pdf's files, zpl and epl printer languages. You install the PrintNode client on a desktop machine and can send printjobs via their JSON API or web interface. It's alot faster than Google Cloud Print.

Related

Selenium Equivalent in Swift/iOS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I have used Selenium for making python projects and now I want to try similar projects in Swift with Xcode using Selenium. Unfortunately, I quickly found out Selenium is not for Swift or iOS apps.
I have been spending the last two days researching on a Selenium alternatives for mobile but have not been able to find anything. Everything I have found so far seems to be outdated. Is there any alternative that is for the current version of Swift and Xcode?
The ONLY option available for automating iOS devices is with Appium and the XCUITest driver.
(Unless there are other drivers recently made that utilize XCUITest, which is an apple tool set).
XCUITest-driver can be found here
Luckily, many of the driver commands will be the same as, say, the UIAutomator2 driver for android. They inherit the same base classes/interfaces after all.
You will need to run these tests on your Mac laptop or desktop, as it is not possible to interact with an iOS device as a developer on non apple products.
Here is a set of server bash and python scripts that I used to launch a video game on to iOS (and android devices). This is not identical to what you need, but it should provide a lot of help that you might need.
Github server files (python and bash)
Wiki explaining how to implement and get this working

How to load test MPEG Dash [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I have to perform load tests on a video streaming server does anybody know a good tool that can help me? if it were free or open source, it would be perfect
Actually there is nothing special in testing MPEG Dash as it is a subset of HTTP Live Streaming so any load testing tool which supports HTTP protocol will fit.
If you're looking for a specific recommendation check out Apache JMeter, it is free, open source, has relatively large community and you don't have to know any programming language as JMeter tests can be created using GUI approach.
Check out Load Testing Video Streaming with JMeter: Learn How article for detailed instructions with regards to the most popular video streaming protocols load testing using JMeter
You can use this commercial plugin for Apache JMeter.
It is available through jmeter-plugins manager and allows you to reastically test all flavors of MPEG-DASH.
It simulates how players download manifests, chunks, init segments and provides video related metrics.
Disclaimer: I am member of the team that delivers it

How MySQL works in iOS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Following Question is not for Negative voters, Infect I have to program an iOS app in Objective C, which works with MySQL Database on server side, since app requires to communicate with server(needs user to input few text boxes and to attach in Image).and on the otherside users can track a number to see results(uploaded by other users). hence I am restricted to use json coz json retrieves over all file and then extract required result from that file,
That's why I needs to use serverside MySQL and needs to run few queries(POST) to submit information provided by users and also needs some query to retrieve required number's row from MySQL Database.
Now the problem is that I am quite unknown from MySQL installation on serverside, and also unfamiliar that how to connect MySQL with my iOS app using Objective C.
Since there are lots of tutorials on the internet forums and as well as at youtube, but I am not able to make final selection that, which tutorial will be the best suitable for me to quick & Detailed learn these things, and Since last two days I am spending my lots of time but still unable to find any easy, quick & Complete tutorial for this purpose.
your quick help will be highly appreciated.
Thanks
In such kind of applications, their are Web API's / Web Services interface provided by using some server side scripting language coupled with a database, in your case the database is MySql.
A web service is a collection of open protocols and standards used for
exchanging data between applications or systems. Software applications
written in various programming languages and running on various
platforms can use web services to exchange data over computer networks
like the Internet in a manner similar to inter-process communication
on a single computer. This interoperability (e.g., between Java and
Python, or Windows and Linux applications) is due to the use of open
standards.
These web services provide API's in form of some URL's with specific parameters and on the behalf of those parameters it communicate with the database and return some data either in XML or in JSON. And on the behalf of that data the user's app can perform various tasks.
Web Service Reference

How do I backup the followers of a user on Twitter? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I need to download all the followers of a user on Twitter, then download all the followers of each follower (second level network).
I need the data in any format.
Is it possibile? What would you use?
There is a twitter module for python for example. You will need to register an appliction and to use oAuth. Bad news: also if you prefere something else than python, you will have to use OAuth. Good news: to use the twitter module in order to get information is quite simple afterwards.
Update: You can also use supertweet.net if you don't want to mess around with OAuth!
You can use www.TWEXLIST.com. A a recent solution to export any Twitter list (public or private), followers list, followings list of any Twitter account (yours or any others) in an Excel spreadsheet.
Some years ago I used Tweetake website to backup my Twitter data but it was closed (https://twitter.com/NikkiPilkington/status/270080732582522880). Since then I realized that it is not good to rely on a third party website and it is better to have a "do it yourself" solution. So I created a script that everybody will be able to use in their browser.
The script allows you to backup Twitter favorites, following and followers: https://gist.github.com/baptx/1525f338d93fa01db4e0
It is written in JavaScript and will create a textarea element with your backup data that you can copy/paste in a file.
You can run it in a browser console on a local web page like Firefox's about: or a web page like https://duckduckgo.com/html (in the past I used it directly on https://api.twitter.com/1.1 web page but it's not working any more because they added Content Security Policy).
Before using the script, you need to get your access keys to use Twitter API 1.1: https://dev.twitter.com/oauth/overview/application-owner-access-tokens
You can use https://www.followers-backup.com/web to download the list of followers/following (first level network) of any profile you want and it's free. Give it a try

How to access Kindle Highlights (API?) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I want to make a site that lets you follow other people Kindle Highlights. Is this possible Is there some sort of Kindle Highlights API?
Thanks.
This would be an amazing web service. Amazon does not offer an API for this. You can read public highlights online at kindle.amazon.com, however, you cannot integrate any public highlights into your apps via an API yet. It seems that the new Kindle Developers Kit is purely for creating apps on the Kindle, and there is not even an API method for accessing public highlights in this kdk.
Shameless plug alert..
I've written a small PHP class that can help with this: Kindle_Highlights
You can get it on github.
Comments/suggestions welcome on improving it.
I will be improving/expanding this over the next few weeks, but as is you should be able to get at your kindle highlights.
A user can see their highlights on the web after logging in by going to their "your highlights" page. As far as I know, there isn't an API, nor is there any sort of OAUTH thing that you could do so currently the best possible solution would be to get your user's amazon username/password and scrape them from that page.
It's better than nothing, but a real API would open up a lot of cool ideas that I've had on kindle highlights.
You can always just scrape the book's page at kindle.amazon.com. I wrote a script in js to do this and then packaged it up as a Chrome plugin that lights up when on Kindle book page, but (of course) Amazon just updated the DOM a week or two ago and now it needs to be updated to reflect the new semantic structure. This highlights the weakness of this approach. =\
Hopefully someday Amazon will provide us with an API, though I suspect that this might run against their agreements with publishers.

Resources