How to Print Barcode on device through cache object Scripting

Primary tabs

Hi,

i am using Healthshare 2017.2 version with Trakcare 2018. how to generate & print barcode from cache object scripting in this version?

 

Replies

Hi Vinay,

Generally you write direct to device.

You need to know the language that the printer works.

A common used printer is Zebra that has a proprietary language called ZPL:

https://www.zebra.com/us/en/support-downloads/knowledge-articles/zpl-command-information-and-details.html
 

Healthshare documentation:

https://cedocs.intersystems.com/ens20172/csp/docbook/Doc.View.cls?KEY=RACS_Settings#RACS_Category_DeviceSettings

After you setup the device  you need to use then:

https://cedocs.intersystems.com/ens20172/csp/docbook/DocBook.UI.Page.cls?KEY=GIOD_intro
https://cedocs.intersystems.com/ens20172/csp/docbook/DocBook.UI.Page.cls?KEY=ITECHREF_device
 

Hi Cristiano,

I am able to write the data on device directly from cache . I don't wan't to print barcode on barcode (zebra) printer. I want to print on A4 size paper from lazer printer through cups printing.

Vinay, the typical approach to send to CUPS for TrakCare would be to use Zen reports or JReports. TrakCare's EPS print server can run the report automatically and send the result to the configured printer through CUPs.