Padding With Spaces Is Not Working With Commander 追蹤

0
Avatar
Legacy Poster

I have a line like the following in my trigger file:

 

IK709,0P8BBTL255ASY,B ,001

 

The space character after the B is not printing on the barcode or the human readable line.

I have set the minimum required section of the bartender template for each data field to pad with space characters.  If I select a data source from within Bartender and print using the same template, the space prints properly.

 

Why is commander + bartender template ignoring the space?

3 意見

0
Avatar
Michael Toupin (mtoupin
評論操作 永久連結

Leading or trailing spaces aren't usable when using comma delimitation, they get parsed out.  What you'll want to do is to use a different delimitation type (possibly quote and comma) to maintain trailing spaces.  So your line would need to look like this:

 

"IK709","0P8BBTL255ASY","B ","001"

 

That way it will maintain regardless of whatever is in the quotes. 

 

From what you're describing, it sounds like the issue is with the padding that you're trying to use,  What is the 'number of characters' part of the transform set to?

0
Avatar
Legacy Poster
評論操作 永久連結

The number of characters for the field with "B " is set to 2.  I tried with the quotes in the trigger file and this creates a barcode with spaces in the human readable part of the label.  This barcode cannot be read by my barcode scanner.  If I print a sample label directly from Bartender (using the same template) that contains a space, the barcode can be read by my barcode scanner.  Any ideas?

 

The padding issue is still a bit confusing.  Bartender should be padding if I do not send the space character in the trigger file.

0
Avatar
Legacy Poster
評論操作 永久連結

I still have not solved this problem.  It seems that Commander is not passing the correct character for Bartender to interpret as a space.

登入寫評論。