跳至主內容

搜尋

搜尋

How To Print Double Quotes?

評論

12 條評論

  • Avatar
    Domingo Rodriguez
    版主

    From which source comes the value for this variable? Are you connecting to a database text file, which uses "quotes and commas" for the delimitation type? Are you assigning this value via a .NET SDK application? Via Commander perhaps? Please give further details.

    0
  • Avatar
    Legacy Poster

    i'm am connecting to a database text file which is produced by our main system. it is a csv file actually.

    one of the field is a description of the item which contains the dimension of the item.

    so when the description field contains the inch description, the double quotes is printed twice.

    the desription field is assigned to one field in the bartender template, currently without any vb script.[attachment=566:double quotes.jpg]

     

    0
  • Avatar
    Domingo Rodriguez
    版主

    Could you attach the .csv and BarTender document (.btw) by clicking on "More Reply Options"? Do you get this problem no matter to which printer you print to? I'm not able to reproduce this behaviour you're getting...

    0
  • Avatar
    Legacy Poster

    Hi, here's the sample files.

    Basically, just by previewing, the double double quotes can already be seen so no matter which printer I usse, the same thing happens.

    0
  • Avatar
    Domingo Rodriguez
    版主

    I'm not able to reproduce this problem you're getting.

     

    Can you try to create (as a test) a new BarTender document, connect to the database "using Text Database" connection, then place a text object on the label which reads from the database field in question and print? Will you then still have the same issue?

     

    If not, then you might need to recreate your database connection in the existing BarTender document, or recreate your BT document and database connection from scratch.

    0
  • Avatar
    Tony Petrucciani

    I am having the same problem - I don't see a solution - the data comes from our ERP system and has a double quote in it ...

    Here is the .dat file contents:

    NumLabels|PrinterName|LabelName|Item|Description|Serial|Lot|Description2|Description3
    2|AirTrack DP-1|APIItemLabel.btw|4860-24E|MICRO EAR FCP 3-1/2",ROUND CUP,|||ANGLE UP|

    Note the 3-1/2" in the Description field

    The Description field prints out on the actual label:

    "MICRO EAR FCP 3-1/2"",ROUND CUP,"

    All 4 double quotes showing on the label when I only wanted 1

    Was there a solution for this?

    0
  • Avatar
    pthane

    Have you got some conversion going on to convert the | delimination to a " ?

    Just using your file content as shown above (with BarTender 2019 R6) with the Custom | deliminator, then I cannot replicate you issue

     

     

    0
  • Avatar
    Ossian Rafferty

    Bumping because this is an issue for myself as well as changing my double spaces to single spaces, 2022, R6, 11.3/206587 (64-bit)

    Also a CSV coming from an ERP system.

    0
  • Avatar
    pthane

    Can you paste a copy of the CSV contents into a post so I can test here please?

    0
  • Avatar
    Ossian Rafferty

    Hi, 
    the contents of my csv contains information i am not allowed to release publicly, could i DM you it?

    0
  • Avatar
    pthane

    I have asked one of the administrators/moderators if they can pass on my details to you and if that is okay with them then you should hear from them

    0
  • Avatar
    Xabier Clemente
    版主

    Hey all! Contact information sent :)

    0

登入寫評論。