Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have found myself in a situation where I'm going to need to pick up a print job from "the wire" and use OCR software to pull data (numbers to be exact). This is essentially so we can get digital data on the products that the machines built.
where might I start to learn how to hi-jack a print job?
The typical case for OCR software is that you would scan a paper document, the scanner/software creates images in some format like TIFF. The OCR software then converts the image file from TIFF to some editable format like text.
that machine has a "print this page" button that we can utilize to send a print job of the screen showing the data. I'm looking into picking the print job up from the network and using ocr software to generate the data from the image.
You could use tcpdump to capture and extract the "print job". You will need a ethernet hub versus switch.
The print job would be in the language used by the printer which could be PostScript, PCL, GDI etc. depending on the make/model of printer. You would then need to convert that into an image file like TIFF and finally run that through the OCR software.
Maybe as I re-read your question the issue of OCR isn't a correct term.
Can you explain more about your issue? I get the feeling that all you want to do is capture characters and input them into some program. That isn't exactly OCR.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.