Zebra .zpl file backwards to designer - designer

I am still learning zpl. I have created some simple labels using the Zebra designer and converted them to zpl files and added to printers. Now, I have been tasked to update existing labels for some of our customers and I do not have the file available in the designer. I have been successfully been able to do things like update a barcode type and add a field by directly updating the script. But, the changes the users want would be much easier if I could use designer (I know that is like cheating!). But, the timeline I have is short. I have found some older questions out there that say this is not possible, so I thought I would check to see if it may now be possible to use the script on the zebra printer, and convert it to text that the designer will recognize.
I would like to mention that the printers I work with are physically located in other countries, with most inside restricted manufacturing production areas. When testing, I have to coordinate with users who have access to these printers. This means that printing one label, and then receiving a picture of this label can take several hours. I am still waiting for results of one test we did yesterday! Thanks to this site, I have found a site on line that will kind of mimic the label, but the actual printed copy is the best test.
Thanks for your attention.

You cannot import the ZPL back into a designer, but there are two tools that are very helpful when you don't have a printer to test with:
Labelary Online ZPL Viewer
Chrome ZPL Plugin
I've used both and have been pleased with the results, but your experience may vary depending on the complexity of the label.

Related

VBA to automatically print page ranges of a PDF

At work, attached files size to email is limited to 10 Mo and because of many reasons :
Outlook is the only way to share files
I can only use the programs already installed
I am trying to create a VBA macro to :
automatically split PDF bigger than 10 Mo by printing them into smaller files
merge them on the other side
I know it is far from ideal (and many tools exists to do it), but I have no other options.
So far, it seems that I can only use PDFCreator and Adobe Reader for this task, as no other helpfull tools are deployed on my PC (mostly Office)... and I can not figure a way to use command line for printing range of pages.
I successfully created a working (very) inelegant macro, based on Shell commands and SendKeys VBA, basically emulating human interaction to print range A, then waiting for the job to be done, them printing range B, and so on... Among the many problems I should now solve :
add protection to take into account machines with different processing power (replace my timings with file creation verification and detect if jobs are still running in the background)
create a robust merging system when receiving the mail
Plus I am very dependant of the software versions installed, and I foresee a lot of issues with software updates/version if this macro is to be used by many people.
So this method doesn't have a bright futur for now, and unless I find an other way to solve this problem, I will probably give up and keep doing this manually (after all, if my employer doesn't provide better tool, I should not be expected to be as efficient as I could).
Have you any insight about how to cleverly solve this issue ?
(Yes, I already told my boss that working like this is a nightmare, but easy file exchange is not the priority).
I managed to solve my problem using 7-zip and its "-v" option using command line : I split my big file into binary smaller files and automatically create new mail with them as attachments.

Labview diagram creation API

I need to drive a testbench with labview.
The test scenarios are written in a languages that can be automaticaly translated into labview diagrams.
Is this an API that allow to create "labview diagrams" from another software ? or with labview itself ?
I agree that LabVIEW scripting is one approach, but let me throw out another option.
If you are planning to do a one time migration from your test code to LabVIEW than scripting is great, but if you plan to regularly update your test code (because it's easier to use the "test" language than LabVIEW) than it could become quite painful to constantly perform the migration every time your test code has changed.
I've had great success with simply putting my state machine inside of a for loop and then reading in "commands" from a text file that was generated using my "test" language (see pic).
For example, to do an IV sweep my text file might say something like:
SourceV, 5
ReadI
Wait, 1
SourceV, 6
ReadI
This image is greatly simplified - I'm not using a state machine and I don't show how to use "parameters," but I can provide a more comprehensive example if needed. Again, I've had great success doing this with around 30 "commands" controlling multiple instruments and then I generated the text input using VBA or Python.
It's called LabVIEW scripting. You will need to enable an option in the VI Server page in the options dialog to see the relevant features.
A few things to note:
Scripting isn't complicated, but you do need to be aware of how LV code is built.
While scripting is public, it was initially created as an internal tool. There are still corners of it which are incomplete.
Scripting code can be tedious. If you can get away with it, try creating templates of code.
NI has something called CodeGen, which I believe are a series of functions which make some scripting easier, although I never really looked into it.

PS PDF Conversion text issues

having a bit of a weird issue that I can't for the life of me figure out how to solve. It may just be a blond moment on my part but I've been scratching my head with this one for a while.
Basically I've made a load of PS PDF files in CS6 and used Acrobat Pro DC to merge the files into one big file. Granted this may not be the most efficient way to work with PDFs but it seemed like the way that made the most sense to me. Anyway I've been doing this for a while and I've not really had any issues however when I did it today I hit a little snag. Several pages in the document come out with their text all mangled. The odd thing is that the text appears to look fine in the DC viewer but if I print them out or view them in Windows Reader they look deformed.
I've tried a load of different ways to try to solve the problem but I can't really find the answer I'm looking for. I've tried a number of different file formats and different printing settings (which I now realize are useless as it's messed up in Reader as well as in print). I've also tried rasterizing the text which seems to work but obviously the text becomes unselectable in the PDF views so I'd prefer to use this as a last resort and find the actual root of the problem.
I can only assume that it's an issue on photoshops side as the majority of the pages come out fine and they all use the same base template and same fonts.
Any insight into this will be really helpful.

How to handle LaTeX/PDF doc reviews?

I am a Ph.D student, and I usually write articles which are later proof-read by my supervisor. I usually do it in LaTeX and reviews are done to the PDF outputs in Adobe Reader itself. There are mostly grammatical ones and mostly I miss prepositions and conjuctions in fast writing. To re-phrase everything I have to manually enter everything in my LaTeX script again.
This seems to be hell lot of work and this goes on multiple times sometimes. Is there any software in current world that makes the task easier? For example, if a text stuck out for grammar errors and suggested alternatives, can I accept the changes to replace old one with new phrase or sentence and also able to blank out the striked text. Please suggest me a tool which really makes my life easier.
You may want to take a look at the following link. It has some good information about version controlling.
http://en.wikibooks.org/wiki/LaTeX/Collaborative_Writing_of_LaTeX_Documents
You could attach the LaTeX sources to the PDF (with the attachfile2 package), so reviewers can directly edit the source and send that back. Or you try to accept comments to the PDF, but currently only Adobe Reader and Foxit allow that - and not on Linux.

PDF Manipulation with Adobe's Form Input Fields

I am trying to simplify a process where I currently use my hand calculations of X & Y Co-Ordinates of each value. Which works fine, but is causing me a lot of pain as I have to do quite a number of PDF's.
I know that I can open a PDF and insert "input fields" within Adobe Acrobat Pro, which it would be great if I could use PHP to connect to those input fields and insert a value from a PHP Form.
WORKFLOW::
PHP FORM >>> PHP PROCESSING ENGINE >>> TO FINAL PDF WITH FORM VALUES IN THE LOCATION OF THE ADOBE INPUT FIELDS.
If someone has some information on something like this it would be much appreciated.
I know this is not a direct answer to your question, but maybe it will save you some time.
We tried doing something similar and ended up abandoning the idea of doing this programatically ourselves. It was much more cost-efficient to just buy this product: http://www.evermap.com/automailmerge.asp?gclid=CPfW44DNsKYCFULNKgodyV6Rnw
as the cost of paying me to write similar functionality was not a good ROI.
However, a similar (but not exact duplicate) qhestion has been asked here, and you may be able to get ideas from it.
How to do mail merge on top of a PDF?
Your PHP script could generate an FDF that your PDF could import and obtain values from.