ZPL Not print acent [closed] - zpl

Closed. This question is not written in English. It is not currently accepting answers.
Stack Overflow is an English-only site. The author must be able to communicate in English to understand and engage with any comments and/or answers their question receives. Don't translate this post for the author; machine translations can be inaccurate, and even human translations can alter the intended meaning of the post.
Closed 9 days ago.
This post was edited and submitted for review 9 days ago.
Improve this question
I have a ZebraZt230 for printing labels, I have already installed the Arial fonts on the printer, but when printing it does not print with an accent, the code looks like this
CT~~CD,~CC^~CT~
^XA
~TA000
~JSN
^LT0
^MNW
^PMN
^CI27
^MMT
^PW751
^LL1303
^LS0
^CI1252
^FT99,734^A#B,47,46,9835202.FNT^FH\^CI1252^FDOVOS TIPO GRANDE BRANCO^FS^CI1252
^FT144,729^A#B,39,40,9835202.FNT^FH\^CI1252^FDCATEGORIA - A CONTÉM 180 OVOS^FS^CI1252
^FT186,729^A#B,23,23,9835202.FNT^FH\^CI28^FDINFORMAÇÃO NUTRICIONAL^FS^CI27
^FT217,729^A#B,17,18,9835202.FNT^FH\^CI28^FDPorções por embalagem:^FS^CI27
^FT217,499^A#B,17,18,9835202.FNT^FH\^CI28^FD180^FS^CI27
^FT217,446^A#B,17,18,9835202.FNT^FH\^CI28^FDPorção:^FS^CI27
^FT217,375^A#B,17,18,9835202.FNT^FH\^CI28^FD55 g ^FS^CI27
^FT217,301^A#B,17,18,9835202.FNT^FH\^CI28^FD(1 unidade)^FS^CI27
^FT242,734^A#B,17,18,9835202.FNT^FH\^CI28^FDPor 100g ( ,%VD*): Valor energético 146 kcal ( %) Carboidratos 0g ( ^FS^CI27
^FT261,734^A#B,17,18,9835202.FNT^FH\^CI28^FD0%), dos quais Açúcares totais 00g ( ), Açúcares adicionados 00 g ( , 0%)^FS^CI27
^FT280,734^A#B,17,18,9835202.FNT^FH\^CI28^FD Proteinas 14 g ( , %) Gorduras totais 10 g ( , %), das quais Gorduras^FS^CI27
^FT299,734^A#B,17,18,9835202.FNT^FH\^CI28^FDsaturadas 2,4 g ( , %), Gorduras trans 0g ( , 0%) Fibra alimentares 0 g( ^FS^CI27
^FT318,734^A#B,17,18,9835202.FNT^FH\^CI28^FD0%) Sódio 141 mg ( , %).^FS^CI27
^FT344,729^A#B,17,18,9835202.FNT^FH\^CI28^FD*Percentual de valores diários fornecidos pela porção.^FS^CI27
^FO156,32^GB201,706,2^FS
^FO156,33^GB44,705,2^FS
^FO197,33^GB30,705,2^FS
^FT375,734^A#B,17,18,9835202.FNT^FH\^CI28^FD* O consumo deste alimento cru ou mal cozido pode causar danos a saúde.^FS^CI27
^FT394,734^A#B,17,18,9835202.FNT^FH\^CI28^FD** Manter os ovos preferencialmente refrigerados^FS^CI27
^FT413,734^A#B,17,18,9835202.FNT^FH\^CI28^FD**Conservar em local fresco e arejado^FS^CI27
^FT444,734^A#B,17,17,9835202.FNT^FH\^CI28^FDNÃO CONTÉM GLÚTEN. ALÉRGICOS:CONTÉM OVOS^FS^CI27
^BY2,2,116^FT573,281^BEB,,Y,N
^FH\^FD7896961800048^FS
^FT460,516^BQN,2,7
^FH\^FDLA,HENIO^FS
^FT595,745^A#B,189,189,9835202.FNT^FH\^CI28^FD10^FS^CI27
^FT686,752^A#B,17,18,9835202.FNT^FB752,1,2,C^FH\^CI28^FDPRODUZIDO POR: Henio Stragliotto CPF 17.407.470-72 - I.E 13/247969-9^FS^CI27
^FT724,753^A#B,17,18,9835202.FNT^FB753,1,2,C^FH\^CI28^FDRodovia BR 070, Km 373 Zona Rural - Campo Verde - MT / Fone:(66)3419.1271^FS^CI27
^FT637,692^A#B,24,23,9835202.FNT^FH\^CI28^FDDATA DE FAB./LOTE E VALIDADE: VIDE EMBALAGEM^FS^CI27
^FT663,746^A#B,23,23,9835202.FNT^FH\^CI28^FDRegistro no Ministério da Agricultura SIF/DIPOA sob nº ^FS^CI27
^FT663,143^A#B,23,23,9835202.FNT^FH\^CI28^FD0034/3705^FS^CI27
^FT660,1303^A#B,31,31,38102991.FNT^FB568,1,13,C^FH\^CI28^FDPROIBIDA A VENDA ^FS^CI27
^FT704,1303^A#B,31,31,38102991.FNT^FB568,1,13,C^FH\^CI28^FDFRACIONADA^FS^CI27
^FT244,643^A#B,17,16,38102991.FNT^FH\^CI28^FD6,6^FS^CI27
^FT242,322^A#B,17,16,38102991.FNT^FH\^CI28^FD13 kcal^FS^CI27
^FT244,59^A#B,17,16,38102991.FNT^FH\^CI28^FD0 g^FS^CI27
^FT260,422^A#B,17,16,38102991.FNT^FH\^CI28^FD00 g^FS^CI27
^FT260,122^A#B,17,16,38102991.FNT^FH\^CI28^FD00 g^FS^CI27
^FT278,581^A#B,17,16,38102991.FNT^FH\^CI28^FD7 g^FS^CI27
^FT280,548^A#B,17,18,9835202.FNT^FH\^CI28^FD14^FS^CI27
^FT278,292^A#B,17,16,38102991.FNT^FH\^CI28^FD5 g^FS^CI27
^FT280,259^A#B,17,18,9835202.FNT^FH\^CI28^FD8^FS^CI27
^FT298,590^A#B,17,16,38102991.FNT^FH\^CI28^FD1,2 g^FS^CI27
^FT301,537^A#B,17,18,9835202.FNT^FH\^CI28^FD0^FS^CI27
^FT297,326^A#B,17,16,38102991.FNT^FH\^CI28^FD0g^FS^CI27
^FT298,59^A#B,17,16,38102991.FNT^FH\^CI28^FD0g^FS^CI27
^FT320,550^A#B,17,16,38102991.FNT^FH\^CI28^FD71 mg^FS^CI27
^FT320,492^A#B,17,18,9835202.FNT^FH\^CI28^FD4^FS^CI27
^FO327,33^GB0,703,2^FS
^FO229,215^GE9,10,5^FS
^FO107,740^GFA,9621,40248,72,:Z64:eJzsXT+P5Dh2p1QraECsUJGNC1anDQ+K7gssaoJ1bgM+ONmC/UHcJ+4kHsynEDYS9Ck0gA+ODLQBLzBBFVCGg0vLMAxPUN1lvvdIiRQfpequgaPhbs90qzTkT0/v/3tkC/F1fB1fx9fxdXwdX8f/w+jVF5kmuX6ZedIvhec4fJF5vhSezf8Od88BWNK+vXueUtMm+dPdeGSvsXwBPNX1etb0OX8BPJ1If7kbT3E8fhLZfzzejaf70An5S3fvPPl5cxH5f36+E42Qbfo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+l8sAr/o+r3Wf1Tr93r+zgvAhVLftzw/MqR2thu7sRu78W8cfwP/3tgq:199B
^FO271,724^GE9,10,5^FS
^FO270,485^GE9,10,5^FS
^FO289,249^GE9,10,5^FS
^FO309,688^GE9,10,5^FS
^FT743,752^A#B,20,20,38102991.FNT^FB752,1,8,C^FH\^CI28^FDINDÚSTRIA BRASILEIRA^FS^CI27
^FT705,566^A#B,17,18,9835202.FNT^FH\^CI28^FDUnidade de Beneficiamento de Ovos e Derivados. ^FS^CI27
^XZ
I already changed the codepage and I don't know what else to do
I would like to know if there is any codepage that is necessary to add

Related

Barcode mapping/scanning issues

This is driving me mad.
I searched here and Google for a solution but found none.
My boss asked me to prepare a simple Excel sheet to reprint labels when data is too old and gone from our WMS. I thought "Very simple! I will just have two cells: one with human font and one below with barcode". I was too quick.
I can key in our product
BZ-BB1/2589 B
But when I scan the barcode I get
BZ'BB1-2589 BB1
The installed barcode font is "Free 3 of 9".
Why the minus and slash signs are converted ? How can I solve this? And it seems that some text is repeated at the end.
Any help is greatly appreciated.
Thanks.
The font "Free 3 of 9" needs also a VBA code
Public Function Code39$(chaine$)
'V 1.0.0
'Paramètres : une chaine
'Retour : * une chaine qui, affichée avec la police CODE39.TTF, donne le code barre
' * une chaine vide si paramètre fourni incorrect
Dim i%
Code39$ = ""
If Len(chaine$) > 0 Then
'Vérifier si caractères valides
For i% = 1 To Len(chaine$)
Select Case Asc(Mid$(chaine$, i%, 1))
Case 32, 36, 37, 43, 45 To 57, 65 To 90
Case Else
i% = 0
Exit For
End Select
Next
If i% > 0 Then
Code39$ = "*" & chaine$ & "*"
End If
End If
End Function
However, the free font C39HrP24DhTt only needs a formula
="*"&A1&"*"
Keyboard layout issue, people with ENG layout keyboard can scan the barcode properly.

Add and replace data ListBoxes (Visual Studio 2013)

I'm very new to Visual Studio. I want to create a currency converter, using Listboxes. But now i'm stuck with this program.
I have multiple cases in my Listbox. This program works as follow:
The user selects a valuta in Listbox "ListboxMunteenheden"
The program show a InputBox. The user enters a number in the InputBox
The selected item will be added in the Listbox "ListBoxWisselkoersen" and
if it is applicable, the value in "ListBoxWisselkoersen" will be replaced.
I don't get the last point working. The selected item won't appear in ListboxWisselkoersen, and I don't get the old data replaced either.
Can anyone help me with this function?
Private Sub ListBoxMunteenheden_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ListBoxMunteenheden.SelectedIndexChanged
'De Cases worden aangemaakt om de verschillende Munteenheden aan ListBox Wisselkoersen toe te voegen.
Select Case ListBoxMunteenheden.SelectedIndex
Case 0
'De Amerikaanse Dollar wordt toegevoegd aan ListBoxWisselkoersen
Dim AmerikaanseDollar As Decimal
AmerikaanseDollar = InputBox("Geef de wisselkoers >0 en <500 voor de Euro tov Amerikaanse dollars (1 Euro = .... Amerikaanse Dollar): ")
For i = 0 To ListBoxWisselkoersen.Items.Count - 1
' Er wordt gezocht in de tekst van de valuta en vervangen hem met de nieuwe waarde.
If InStr(ListBoxWisselkoersen.Items(i), "Amerikaanse Dollar") > 0 Then
ListBoxWisselkoersen.Items(i) = "1 Euro = " & AmerikaanseDollar.ToString & " Amerikaanse Dollar"
Else
End If
If AmerikaanseDollar <= 0 Or AmerikaanseDollar >= 500 Then
MsgBox("U dient een andere waarde op te geven, tussen de 1 en 499.", MsgBoxStyle.OkOnly)
'Er wordt gecontroleerd of de waarde tussen de 0 en de 500 ligt. Als de MessageBox hieraan voldoet, zal de functie uitgevoerd worden.
End If
Next

Explanation of error using "color" in a batch script

In order to set the color of a batch script's console/terminal, color can be used. E.g. color 70. However, in order to reset the color of a the console, color without any arguments/values can be used. What is causing confusion for me is why it only works inside the command prompt or a called script but not a script started specifically with cmd /c. It fails and returns an errorcode of 1. Is there some legacy reason for this or is it a bug in Windows?
cmd /c color || echo foobar
Output: foobar
Expected output:
cmd /c color 70 || echo foobar
Output:
Expected output:
call color || echo foobar
Output:
Expected output:
To have no error, try to put the default color, as you said,
the color of a the console
That means the default color, I gess, so put color 07, to switch to color black-light grey.
For more info for colors in a .bat file create a .bat file and put in it color h, only this, save it and run it. It will give you all the info about colors.
If you are not able to do this, here is what it will show you. (Sorry, it's in french, but I gess you can understand)
Change les couleurs par défaut du premier et de l'arrière plan de la console.
COLOR [attr]
attr Spécifie les attributs de couleurs de l'apparence de la console
Les attributs de couleurs sont spécifiés par DEUX chiffres hexadécimaux -- le
premier correspond à l'arrière plan, le second au premier plan. Chaque chiffre
peut prendre n'importe quelle de ces valeurs :
0 = Noir 8 = Gris
1 = Bleu foncé 9 = Bleu clair
2 = Vert A = Vert clair
3 = Bleu-gris B = Cyan
4 = Marron C = Rouge
5 = Pourpre D = Rose
6 = Kaki E = Jaune
7 = Gris clair F = Blanc
Si aucun argument n'est donné, cette commande restaure les couleurs
sélectionnées au moment où CMD.EXE a été ouvert. Cette valeur vient soit de la
fenêtre de la console, du commutateur en ligne de commande /T, ou de la valeur
DefaultColor du registre.
Appuyez sur une touche pour continuer...
Again, sorry that is in french
Kalolol

How con i resize a label to a smaller one with LP 2824 Plus

I'm trying to resize automatic labels that comes from MercadoLibre.com.ar (latin american sell/buy page like eBay). They reccomend another zebra printer, but i have a smalller one, LP 2824 Plus.
The current code for every label looks like this
^XA
^FX MELI LOGO IMAGE
^FO50,50^GFA,6900,6900,50,,:::::::::::::::::::::::gI0FF,g01LF8,Y03IF00IFChO08,X03FEL07FChM07C,W01FCN03F8hL0FC,W0FCP03FhL0FC,V07ER07EhK0FC,U01FT0F8hJ0FC,U07CT03EhJ0FC,T01FV078hI0FC,T03CV03CO07F81FEI03FFJ07E01FF8003FF8007F8FC03FF8,T0FO0FN0FN01FFE3FF800IFC001FE07FFE00IFE00FFCFC0IFE,S01CM01IF8L038M03IF7FFC01IFE007FE0JF01JF03JFC1JF,S07CM07E07F8K01EM07LFE03JF00FFE1JF83JF83JFC3JF8,S0FF8K01EI03EK03FM07MF07FCFF81FFE3JFC3FC7F87JFC3FE7FC,R01C7FK078J0FCI01FB8L0FE1FF87F07F03FC1FFC7F81FC3F01F8FF07FC7F01FC,R0380FFI0FFK03FC01FE1CL0FC0FF03F8FE01FC3FC07F01FC3F01F8FE03FC7F00FE,R07001FF0FFEL07JF80EL0FC07E01F8FC00FC3F807E00FC3E01F8FC01FCFE00FE,R0EI01JF8M07FFI07K01F807E01F8FC00FC3F00FEM03FDFC01FCFE007E,Q01CJ01F87I0F8O038J01F807E01F8KFC3F00FEL0IF9FC00FCFC007F,Q018M0E003FEO018J01F807E01F9KFE3F00FEK07IF9FC00FCFC007F,Q03N0C00FDFP0CJ01F807E01F9KFE3F00FEJ01JF9FC00FCFC007F,Q07M01C01E03CO0EJ01F807E01F9KFE3F00FEJ03FFDF9FC00FCFC007F,Q06M03803801EO06J01F807E01F9FCI043F00FEJ07FC1F9FC00FCFC007F,Q0CM0700FI07O03J01F807E01F8FCJ03F00FEJ07F01F9FC00FCFC007F,Q0CM0601EI038N03J01F807E01F8FCJ03F00FE00FC7E01F9FC01FCFE007E,P018M07078I01CN018I01F807E01F8FCJ03F007F00FC7E01F8FC01FC7E00FE,P018M07FFK0FN018I01F807E01F8FE00FC3F007F01FC7E03F8FE03FC7F01FE,P018M01FCK078M018I01F807E01F87F03FC3F007F83FC7E07F8FF07F87F83FC,P03V03CN0CI01F807E01F87JF83F003JF87F9FF07JF83JFC,P03W0EN0CI01F807E01F83JF03F001JF07JF03JF01JF8,P038V07N0CI01F807E01F81IFE03F001IFE03IFE03IFE00JF,P03F8U038L07CI01F807E01F80IFC03FI07FFC01IFC00IFC007FFE,P03FF8T01CK03FCJ0F803E00F803FF003EI01FFI0FFEI03FFI01FF8,P031FFU0FJ03FEC,P0601FET038001FE04,P06001FCS01C00FE004,P06I03FT0E07FI0C,P07J07C78Q071F8I0EU01C1F81E,P07J01FFEFCL01803FCJ0CU07C3F83E,P03K07C7FEL01C01FK0CU07C3F83E,P03K038387M0E00EK0CU0FC3F87E,P038J030303FCK03006J01CU0FC3F87E,P038J03I03BEK03806J01CU0FC1F07E,P038J03K06K01C06J01CU0FCI07E,P03CJ038J07L0E0EJ03CU0FCI07E0FK0E007C,P01CJ01CCI03I030079CJ038U0FC1F87E3FCI07E03FF8,P01EK0FCI03I03803F8J078U0FC3F87F7FF001FE0IFE,P01EK03CI03E001C03EK078U0FC3F87JF807FE1JF,Q0FL0EI07FI0E038K0FV0FC3F87JFC0FFE3JF8,Q0F8K06J03800703K01FV0FC3F87JFC0FFE3JF8,Q07CK03F8001CC038FK03EV0FC3F87FC1FE1FFE7F01FC,Q07CK01F8I0C601FEK03EV0FC3F87F80FE1FC07E00FC,Q03EL07CI0C701FCK07CV0FC3F87F007E3F807E00FE,Q03FM0E300C381CL0FCV0FC3F87F007F3F80FE007E,Q01F8L07F00C1C38K03F8V0FC3F87F007F3F00KFE,R0FEL03F01C0FFL07FW0FC3F87E003F3F00KFE,R07FM0381E0FEL0FEW0FC3F87E003F3F00KFE,R07F8L01E7FFCL01FEW0FC3F87E003F3F00KFE,R03FEM07E3F8L07FCW0FC3F87E003F3F00FE,R01FFM018O0FF8W0FC3F87F007F3F00FC,S0FFCV03FFX0FC3F87F007F3F00FE,S07FFV0FFEX0FC3F83F007F3F007E,S01FFCT03FF8X0FC3F83F80FE3F007F00FC,T0IF8R01IFY0FC3F83FC1FE3F007F83FC,T07FFER07FFEY0FC3F81JFC3F003JFC,T01IFCP03IF8Y0FC3F81JFC3F001JF8,U07IFCN03IFEg0FC3F80JF83FI0JF,U03JFEL07JFCg0FC3F803FFE03FI07FFC,V07TFEgI01FI0FF801EJ0FF,V01TF8,W03RFC,X07PFE,Y0PF,g07LFE,gH03FFC,,:::::::::::::::::::::::::::::::::::::^FS
^FX MOTONORTE LOGO IMAGE
^FO250,835^GFA,3045,3045,35,,::::::::::::gL078gG03C,gL07CgG07E,gL07CgG07C,::R0E1F01FI01FC01FF001FC01C3FI03F003870FF801FE,07LFI01IFC7FC007FF03FFC07FF03IF800FFC07FF1FFC07FF8J01LFC,07LFI01LFE00IF83FFC0IF83IFC01FFE07FF1FFC0IFCJ01LFC,03KFEI01MF01IFC3FFC1IFC3IFE03IF87FF1FFC1IFEK0LF8,Q01MF83IFE1FF83IFE3JF07IF87FF1FFC3FCFF,Q01FC3FE1FC3F8FE0FC07F8FE3FC7F0FE1FC7F807E03F03F,Q01F81FC0FC7E03F07C07E07F3F03F0FC0FC7E007E03E01F8,Q01F81F80FC7E03F07C07E03F3F01F1F807E7E007E07E01F8,Q01F00F807C7C01F07C07C01F3F01F1F807E7C007E07JF8,Q01F00F807C7C01F87C0FC01F3F01F1F803E7C007E07JF8J08J01,03KFEI01F00F807C7C01F87C0FC01F3F01F1F003E7C007E07JF8J0LF8,:Q01F00F807C7C01F07C07C01F3F01F1F807E7C003E07E,Q01F00F807C7E01F07C07C03F3F01F1F807E7C003E07C,Q01F00F807C7E03F07E07E03F3F01F0FC0FC7C003E03E00F,Q01F00F807C3F07E07F07F07E3F01F0FE1FC7C003F03F03F,Q01F00F807C3IFE07FC3IFE3F01F07IF87C003FC3JF,Q01F00F807C1IFC03FC1IFC3F01F03IF87C003FE1IFE,07LFI01F00F807C0IF801FC0IF83F01F03FFE07C001FE0IFCJ01LFC,07LFI01F00F807C07FFI0FC07FF03F01F00FFC07CI0FC07FF8J01LFC,03KFEJ0F00F807C01FCI03801FC01E01F007F803CI01C01FEL0LF8,,::::::::g06V03T04J03001,g06L018N03T04J030018,g04L01O0301R08M018,J01E600E01E00C03804018078100EI0230303C06038I0701C03E0100F80E,J03FF01F03F01C03C0603C078100FI0230303C0E03CI0F01E07E0301F80F,J03FF03F03F83801E0607E0703807I073030380E01EI0E00E07303033807,J0I383F03381C07E0607E060381FI023030300C03EI0C03E0630303181F,J0I383E03180E07E0607C060383FI037030380C07EI0C07E0730303183F8,J0I383C03380E06E06070060383FI03F030180C06EI0C07E07F0303F83F8,J031100E03101C07C0603C060101FI03F0301C0807EI0C03E07E0301F01F,g0EV02V07,g0EgS06,g08gS02,,::::gN03030302102,gN040244031830018,gN040244031830108,gN0202C3031818108,gN018201008806008,gO0820080C806008,gN01820180C807008,,:::::::::::::^FS
^MMT
^PW799
^LL1519
^LS0
^FT256,928^XG000.GRF,1,1^FS
^FT32,192^XG001.GRF,1,1^FS
^FO14,13^GB772,1100,2^FS
^FO47,943^GB710,0,2^FS
^FO44,807^GB710,0,2^FS
^FO41,626^GB710,0,2^FS
^FO41,393^GB710,0,2^FS
^FO43,205^GB710,0,2^FS
^FT500,144^A0N,25,24^FH\^FDEmisi\A2n^FS
^FT578,144^A0N,25,24^FD03/02/2017 16:21^FS
^FT670,101^A0N,39,38^FDR2^FS
^FT670,249^A0N,39,38^FDC2^FS
^FT43,249^A0N,28,31^FDDestinatario:^FS
^FT45,280^A0N,25,24^FH\^FDBernardita Franco^FS
^FT510,280^A0N,21,20^FDTel: 0387156057943^FS
^FT45,310^A0N,25,24^FH\^FDAvenida Libertador 1154^FS
^FT45,340^A0N,25,24^FH\^FDpiso 14 A^FS
^FT45,370^A0N,25,24^FH\^FD(1112) autonoma - Capital Federal^FS
^FT41,443^A0N,28,31^FH\^FDNro. de Gu\A1a:^FS
^BY4,3,115^FT120,578^BCN,,Y,N
^FD0191070591^FS
^FT43,670^A0N,28,31^FDRemitente^FS
^FT45,698^A0N,25,24^FH\^FDIMPORTADORA FOTOGRAFICA SOCIEDAD ANONIMA^FS
^FT490,698^A0N,21,20^FDTel: (11)4643-2003 ^FS
^FT45,726^A0N,25,24^FH\^FDAv. Rivadavia 10820^FS
^FT45,752^A0N,25,24^FH\^FDImportadora Fotogr\A0fica S.A.^FS
^FT45,780^A0N,25,24^FH\^FD(1408) Liniers - Capital Federal^FS
^FT47,982^A0N,20,19^FH\^FDImportante: Se deja expresamente^FS
^FT319,982^A0N,20,19^FDaclarado que MercadoLibre^FS
^FT538,982^A0N,20,19^FH\^FDs\A2lo se limita a la^FS
^FT47,1010^A0N,20,19^FH\^FDpublicaci\A2n de anuncios^FS
^FT241,1010^A0N,20,19^FDde sus usuarios^FS
^FT370,1010^A0N,20,19^FDy no es el propietario,^FS
^FT545,1010^A0N,20,19^FDno ha vendido y no^FS
^FT47,1038^A0N,20,19^FH\^FDser\A0 responsable^FS
^FT182,1038^A0N,20,19^FH\^FDpor los art\A1culos^FS
^FT317,1038^A0N,20,19^FDentregados y/o contenidos^FS
^FT526,1038^A0N,20,19^FDen este paquete, ya que^FS
^FT47,1065^A0N,20,19^FDel vendedor es la persona^FS
^FT253,1065^A0N,20,19^FDidentificada en esta etiqueta.^FS
^PQ1,0,1,Y
^XZ
What parameters should i change to make it work in a label such as: 2.5x4 inches?
This printers came by default in CPCL, you need to send the following command to change it to ZPL
! U1 setvar "device.languages" "zpl"

Initcap skip words smaller than 4 characters

I've got a question about initcap.
Is it posibible to create an initcap statement to skip the change of words that are smaller than 4 characters.
Because i have to change the words with less than 4 characters back to normal, after i've finished the initcap.
So i tought mabye there is a possibility to create an function/procedure/trigger that will just skip the words?? The words are used in an location name like "Son En Breugel", the "En" in the middle must become lower.
The first letter of the string doesn't need to change, only the first small words after a space(Like in the middle of the string)
I've started to create an procedure, but it needs a bit of finetuning
*All strings that don't need to be changed with initcap are changed back
*Initcap with xDutch format
--Still need to find way to change 'S into 's, i think i've deleted the record with this script?
Can somebody assis me with this??
create or replace PROCEDURE Location_Name_Routine IS
BEGIN
DELETE
FROM Location
WHERE Name LIKE '%[^0-9a-zA-Z]%';
UPDATE Location
set Name = nls_initcap(Name, 'NLS_SORT=xDutch');
UPDATE Location
SET Name = REGEXP_REPLACE(Name,' En',' en');
UPDATE Location
SET Name = REGEXP_REPLACE(Name,' Van',' van');
UPDATE Location
SET Name = REGEXP_REPLACE(Name,' De',' de');
UPDATE Location
SET Name = REGEXP_REPLACE(Name,' Den',' den');
UPDATE Location
SET Name = REGEXP_REPLACE(Name,' Over','over');
UPDATE Location
SET Name = REGEXP_REPLACE(Name,' Aan',' aan');
UPDATE Location
SET Name = REGEXP_REPLACE(Name,' Bij',' bij');
END;
There may not be a simple answer to the underlying question. I assume you are trying to properly capitalize addresses in Dutch and this question is related to this other question from yesterday.
Combining the questions, there are at least three special cases so far:
'S GRAVENHAGE => 's Gravenhage
IJSLAND => IJsland
SON EN BREUGEL => Son en Breugel
INITCAP and even NLS_INITCAP('...', 'NLS_SORT=xDutch') fail to properly handle them. Before you start coding you should collect all the requirements. Are these the only rules for Dutch capitalization, or are there many more?
The answers posted so far may help to solve one specific exception. But chances are you cannot simply combine regular expressions and solve them all. You may want to take a more top-down approach here.
UPDATE
Based on wolφi's idead, it is possible to brute-force the problem by using all existing names. NLS_INITCAP alone works 95% of the time. Using the 431 names from the spreadsheet at this link it is possible to build a list of all 25 exceptional cases.
Run this statement once to build a DECODE expression to handle all non-trivial cases:
--Build decode for UPDATE.
select
--Start the decode
'decode(upper(name),'||
--List all the exceptions. Single quotes are a mess, no way around it.
listagg(
--Upper case version to match
''''||upper(replace(column_value, '''', ''''''))||
--Pre-defined init-capped version
''','''||replace(column_value, '''', '''''')||''''
, ','||chr(10)
)
within group (order by column_value)
||
--Default to NLS_INITCAP
',nls_initcap(name, ''NLS_SORT=xDutch''))'
from table(sys.odcivarchar2list('Bellingwedde','Menterwolde','Oldambt','Pekela','Stadskanaal','Veendam','Vlagtwedde','Appingedam','Delfzijl','Loppersum','Bedum','Ten Boer','Eemsmond','Groningen','Grootegast','Haren','Hoogezand-Sappemeer','Leek','De Marne','Marum','Slochteren','Winsum','Zuidhorn','Achtkarspelen','Ameland','het Bildt','Boarnsterhim','Dantumadiel','Dongeradeel','Ferwerderadiel','Franekeradeel','Harlingen','Kollumerland en Nieuwkruisland','Leeuwarden','Leeuwarderadeel','Littenseradiel','Menaldumadeel','Schiermonnikoog','Terschelling','Tytsjerksteradiel','Vlieland','Bolsward','Gaasterlân-Sleat','Lemsterland','Nijefurd','Sneek','Wûnseradiel','Wymbritseradiel','Heerenveen','Ooststellingwerf','Opsterland','Skarsterlân','Smallingerland','Weststellingwerf','Aa en Hunze','Assen','Midden-Drenthe','Noordenveld','Tynaarlo','Borger-Odoorn','Coevorden','Emmen','Hoogeveen','Meppel','Westerveld','De Wolden','Dalfsen','Hardenberg','Kampen','Ommen','Staphorst','Steenwijkerland','Zwartewaterland','Zwolle','Deventer','Olst-Wijhe','Raalte','Almelo','Borne','Dinkelland','Enschede','Haaksbergen','Hellendoorn','Hengelo','Hof van Twente','Losser','Oldenzaal','Rijssen-Holten','Tubbergen','Twenterand','Wierden','Apeldoorn','Barneveld','Ede','Elburg','Epe','Ermelo','Harderwijk','Hattem','Heerde','Nijkerk','Nunspeet','Oldebroek','Putten','Scherpenzeel','Voorst','Wageningen','Buren','Culemborg','Geldermalsen','Lingewaal','Maasdriel','Neder-Betuwe','Neerijnen','Tiel','West Maas en Waal','Zaltbommel','Aalten','Berkelland','Bronckhorst','Brummen','Doetinchem','Lochem','Montferland','Oost Gelre','Oude IJsselstreek','Winterswijk','Zutphen','Arnhem','Beuningen','Doesburg','Druten','Duiven','Groesbeek','Heumen','Lingewaard','Millingen aan de Rijn','Nijmegen','Overbetuwe','Renkum','Rheden','Rijnwaarden','Rozendaal','Ubbergen','Westervoort','Wijchen','Zevenaar','Almere','Dronten','Lelystad','Noordoostpolder','Urk','Zeewolde','Abcoude','Amersfoort','Baarn','De Bilt','Breukelen','Bunnik','Bunschoten','Eemnes','Houten','IJsselstein','Leusden','Loenen','Lopik','Maarssen','Montfoort','Nieuwegein','Oudewater','Renswoude','Rhenen','De Ronde Venen','Soest','Utrecht','Utrechtse Heuvelrug','Veenendaal','Vianen','Wijk bij Duurstede','Woerden','Woudenberg','Zeist','Andijk','Anna Paulowna','Drechterland','Enkhuizen','Harenkarspel','Den Helder','Hoorn','Koggenland','Medemblik','Niedorp','Opmeer','Schagen','Stede Broec','Texel','Wervershoof','Wieringen','Wieringermeer','Zijpe','Alkmaar','Bergen (NH.)','Heerhugowaard','Heiloo','Langedijk','Schermer','Beverwijk','Castricum','Heemskerk','Uitgeest','Velsen','Bloemendaal','Haarlem','Haarlemmerliede en Spaarnwoude','Heemstede','Zandvoort','Wormerland','Zaanstad','Aalsmeer','Amstelveen','Amsterdam','Beemster','Diemen','Edam-Volendam','Graft-De Rijp','Haarlemmermeer','Landsmeer','Oostzaan','Ouder-Amstel','Purmerend','Uithoorn','Waterland','Zeevang','Blaricum','Bussum','Hilversum','Huizen','Laren','Muiden','Naarden','Weesp','Wijdemeren','Hillegom','Kaag en Braassem','Katwijk','Leiden','Leiderdorp','Lisse','Noordwijk','Noordwijkerhout','Oegstgeest','Teylingen','Voorschoten','Zoeterwoude','''s-Gravenhage','Leidschendam-Voorburg','Pijnacker-Nootdorp','Rijswijk','Wassenaar','Zoetermeer','Delft','Midden-Delfland','Westland','Alphen aan den Rijn','Bergambacht','Bodegraven','Boskoop','Gouda','Nieuwkoop','Reeuwijk','Rijnwoude','Schoonhoven','Vlist','Waddinxveen','Albrandswaard','Barendrecht','Bernisse','Binnenmaas','Brielle','Capelle aan den IJssel','Cromstrijen','Dirksland','Goedereede','Hellevoetsluis','Korendijk','Krimpen aan den IJssel','Lansingerland','Maassluis','Middelharnis','Nederlek','Oostflakkee','Oud-Beijerland','Ouderkerk','Ridderkerk','Rotterdam','Rozenburg','Schiedam','Spijkenisse','Strijen','Vlaardingen','Westvoorne','Zuidplas','Alblasserdam','Dordrecht','Giessenlanden','Gorinchem','Graafstroom','Hardinxveld-Giessendam','Hendrik-Ido-Ambacht','Leerdam','Liesveld','Nieuw-Lekkerland','Papendrecht','Sliedrecht','Zederik','Zwijndrecht','Hulst','Sluis','Terneuzen','Borsele','Goes','Kapelle','Middelburg','Noord-Beveland','Reimerswaal','Schouwen-Duiveland','Tholen','Veere','Vlissingen','Bergen op Zoom','Breda','Drimmelen','Etten-Leur','Geertruidenberg','Halderberge','Moerdijk','Oosterhout','Roosendaal','Rucphen','Steenbergen','Woensdrecht','Zundert','Aalburg','Alphen-Chaam','Baarle-Nassau','Dongen','Gilze en Rijen','Goirle','Hilvarenbeek','Loon op Zand','Oisterwijk','Tilburg','Waalwijk','Werkendam','Woudrichem','Bernheze','Boekel','Boxmeer','Boxtel','Cuijk','Grave','Haaren','''s-Hertogenbosch','Heusden','Landerd','Lith','Maasdonk','Mill en Sint Hubert','Oss','Schijndel','Sint Anthonis','Sint-Michielsgestel','Sint-Oedenrode','Uden','Veghel','Vught','Asten','Bergeijk','Best','Bladel','Cranendonck','Deurne','Eersel','Eindhoven','Geldrop-Mierlo','Gemert-Bakel','Heeze-Leende','Helmond','Laarbeek','Nuenen, Gerwen en Nederwetten','Oirschot','Reusel-De Mierden','Someren','Son en Breugel','Valkenswaard','Veldhoven','Waalre','Beesel','Bergen (L.)','Gennep','Horst aan de Maas','Mook en Middelaar','Peel en Maas','Venlo','Venray','Echt-Susteren','Leudal','Maasgouw','Nederweert','Roerdalen','Roermond','Weert','Beek','Brunssum','Eijsden','Gulpen-Wittem','Heerlen','Kerkrade','Landgraaf','Maastricht','Margraten','Meerssen','Nuth','Onderbanken','Schinnen','Simpelveld','Sittard-Geleen','Stein','Vaals','Valkenburg aan de Geul','Voerendaal'))
where column_value <> nls_initcap(column_value, 'NLS_SORT=xDutch');
Use the result from that statement to build an UPDATE like this:
--Update names to properly init-capped name, as defined by:
--http://epp.eurostat.ec.europa.eu/portal/page/portal/nuts_nomenclature/local_administrative_units
update location
set name =
decode(upper(name),'''S-GRAVENHAGE','''s-Gravenhage',
'''S-HERTOGENBOSCH','''s-Hertogenbosch',
'AA EN HUNZE','Aa en Hunze',
'ALPHEN AAN DEN RIJN','Alphen aan den Rijn',
'BERGEN (NH.)','Bergen (NH.)',
'BERGEN OP ZOOM','Bergen op Zoom',
'CAPELLE AAN DEN IJSSEL','Capelle aan den IJssel',
'GILZE EN RIJEN','Gilze en Rijen',
'HAARLEMMERLIEDE EN SPAARNWOUDE','Haarlemmerliede en Spaarnwoude',
'HOF VAN TWENTE','Hof van Twente',
'HORST AAN DE MAAS','Horst aan de Maas',
'KAAG EN BRAASSEM','Kaag en Braassem',
'KOLLUMERLAND EN NIEUWKRUISLAND','Kollumerland en Nieuwkruisland',
'KRIMPEN AAN DEN IJSSEL','Krimpen aan den IJssel',
'LOON OP ZAND','Loon op Zand',
'MILL EN SINT HUBERT','Mill en Sint Hubert',
'MILLINGEN AAN DE RIJN','Millingen aan de Rijn',
'MOOK EN MIDDELAAR','Mook en Middelaar',
'NUENEN, GERWEN EN NEDERWETTEN','Nuenen, Gerwen en Nederwetten',
'PEEL EN MAAS','Peel en Maas',
'SON EN BREUGEL','Son en Breugel',
'VALKENBURG AAN DE GEUL','Valkenburg aan de Geul',
'WEST MAAS EN WAAL','West Maas en Waal',
'WIJK BIJ DUURSTEDE','Wijk bij Duurstede',
'HET BILDT','het Bildt',
nls_initcap(name, 'NLS_SORT=xDutch'));
If the question is about Dutch place names, would it be an option to have a lookup table? According to eurostat, there are 418 "Gemeenten" on NUTS5/LAU2 level. A list is available at http://epp.eurostat.ec.europa.eu/portal/page/portal/nuts_nomenclature/local_administrative_units. If this is not acceptable, you could at least verify your procedure with the official list...

Resources