Printer driver adding offset

Hey there, thanks in advance for any help.

I’m relatively new to OL Connect and running into a WinQueue input issue I can’t get past.

My use case is straightforward: I have incoming data from our EMR that is 22 lines in Field: Value format, originally a clean .txt file. My workflow: DataMapper, template, output preset — works perfectly when I use Folder Input.

The problem is this specific workflow needs to be captured via WinQueue (or LPD), and when it arrives through Generic/Text Only driver, the data has extra blank lines at the top and additional leading characters on every line. This causes my DataMapper to fail with:

DME000130: The step is out of bound

I’ve attempted a JScript normalization script to strip the offsets before the DataMapper runs, but I’m having trouble getting it to work reliably.

My question: is there a recommended passthrough driver or best practice for getting a raw .txt file through WinQueue input without transformation? Or is the normalization script the right approach — and if so, is there a recommended pattern for it?

Thanks again.

You can have multiple Datamapper, all sharing the same datamodel and Template.
Which data source did you used make your original Datamapper?
It sounds like you build your Datamapper with a data format not “exactly” capture from the input source as it would be received in your Workfllow.