473,398 Members | 2,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

how can i tap the information going to a label printer in a network

I have situation where i must catch the information which is being sent to a printer in a hospital network.
Jan 5 '15 #1
2 7363
sicarie
4,677 Expert Mod 4TB
1) Are you sure? In the US this has massive HIPAA implications - and many other countries have more restrictive privacy laws than the US...

2) Why? Do you need to just note that it's going? Or do you need to manipulate it in some way? If you're looking to manipulate it, I'd recommend going back to where it's being printed from and modifying it there - messing with packets across a network is definitely not the easiest way.
Jan 8 '15 #2
rollerbladegirl
69 64KB
The following is directly how to address your need of "catch[ing] the information."

The most efficient manner is to subclass the program that is sending the information to the printer, then record all data going to and coming from that program.

Subclassing has been around for a long time. It is nothing new.

If you need to know how to do this yourself, then the following is for that.

If you need to write (on your own) that kind of program fast (really fast) then use the Rapid Application Development VB6/sp5 for hooking and subclassing. There is code already on the internet written and stable in VB6 which can be adapted quickly to hook and subclass most Windows based programs. It has even been used to subclass internal parts of other programs. It is very stable.

If you want to write the code in a newer, but no less stable environment, use C++. I would suggest C++11. It comes packaged with CodeBlocks 17.12. CB17 is free.

C++ can do (I guess) every thing that VB6 can do, but it takes far longer to program to the same effect. It is your choice. I have found reason for each as needed.

I started learning C++ last summer (2019) and tried various avenues in that endeavor and settled on CB. I studied C++ editions, not to PhD level, but to my satisfaction, and I have chosen C++11.

I like both VB6 and C++11 each for what I may use them for. One is for very fast program development. The other is for Unicode and large number manipulations, etc.
Jan 5 '20 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: mcmahongg | last post by:
Hi I want to print to a Seiko SLP 220 printer from PHP (printer is connected to COM1; and works fine via the Seiko label print application program). I've tried code like : $str = "Sample...
0
by: Kyle | last post by:
I need to take text from a database, turn it into a barcode from the Web and print to a Zebra Z4M barcode printer. I am stuck at two separate approaches. 1. Use ZPL II (Zebra's proprietary...
3
by: RC | last post by:
I am using docmd.printout to send Reports (formatted as labels) to a barcode label printer. I need to collate the labels so that I print lable 1 twice, then label 2 twice, then label 3 twice, etc....
9
by: al | last post by:
Hi I need to automaticaly print new records/reports in an Access database to a labelprinter. Can this be done? The records are added with asp code. The Labelprinter is a Brother QL-550 ...
3
by: Michael | last post by:
Hi, I'm trying to print barcodes to the Dymo LabelWriter printer. Put everytime I send a job to the label printer it just outputs an empty label. If I change the default printer back to the...
56
by: peng | last post by:
Hi, I am development a project using C#.Net. Inside application, it needs to print labels on different Zebra label printers on the network. I used a shell script, but it only worked on the...
13
by: ATJaguarX | last post by:
I have a Zebra S500 and multiple S600 label printers. http://www.zebra.com/id/zebra/na/en/index/products/printers/industrial_commercial/s600.html They are currently being used in our legacy...
1
by: =?Utf-8?B?R2VvcmcgRmxlaXNjaGVy?= | last post by:
Hello, I've got a problem which I can not locate. I will try to describe it and would be glad, if someone had an idea how to identify the cause of the problem. Situation: My application...
0
by: jinsatoemo | last post by:
Hello guys,i'm new here,nice to meet you all :-) I need some help in access,particularly in printing to label printers.I've developed a program that generate labels to print to a label...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.