Can not print £ sign on zebra 2844 printer

Asif-75
Asif-75 used Ask the Experts™
on
Hi experts
using vb.net 2005 i m trying to print on zebra 2844 printer using USB interface every thing prints fine but the £ (pound sign) when I send data for that it prints this character “ ü “ , using the code below this is midnight and in the morning I have to install this programme on client side
Hope I will get some help here


Private Sub Test_Print()
        Dim pound_sign As String
        Dim Company_name As String

        Company_name = "Test Company"
        Dim print As New Waterfurnace.ZebraPrint
        print.StartWrite("\\pc-1\\ZebraLP2") ' this is printer sharing name

        print.Write("")
        print.Write("N")
    print.Write("A500,200,2,4,1,1,N,""" & Style_Desc & """")
    print.Write("A500,175,2,4,1,1,N,""£99.99""")
    print.Write("A500,150,2,4,1,1,N,""" & Price & """")
    print.Write("B500,100,2,1,2,1,40,N,""" & Bcode & """")
    print.Write("A500,58,2,3,1,1,N,""" & Bcode & """")
      'Print a single copy
        print.Write("P1")
        'Clean up
       print.EndWrite()
    End Sub

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hi

NY suggestion is :

"£"  replay with amp163     Key value

or
"£"  replay with amp163l     Key value

or

"£"  replay with &163;     Key value
Hi

mY suggestion is :

"£"  replay with amp163     Key value

or
"£"  replay with amp163;    Key value

or

"£"  replay with &163;     Key value

Author

Commented:
could you please explain this how to change here
print.Write("A500,175,2,4,1,1,N,""£99.99""")
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

Author

Commented:
i have tried to like this but no luck
print.Write("A300,130,2,3,1,1,N,""&163 99.99""")
 print.Write("A300,130,2,3,1,1,N,""amp163 99.99""")
Most Valuable Expert 2012
Top Expert 2014

Commented:
Looks like the printer does not support the sign. Does it print $ and euro sign?

Author

Commented:
It prints $ sign ok, i have not tested euro sign which is i m not sure how to test it.
if i print from zebra Label designer application it prints £ sign without any problem.
still trying to solve the problem.

help plz...
Most Valuable Expert 2012
Top Expert 2014
Commented:
Try changing this
print.Write("A500,175,2,4,1,1,N,""£99.99""")

to
print.Write("A500,175,2,4,1,1,N," & chr(34) & chr(156) & "99.99" & chr(34) & ")

Author

Commented:
After trying this out put is

+Ö99.99
Most Valuable Expert 2012
Top Expert 2014

Commented:
Also try
chr(0163)
in place of
chr(156)

Author

Commented:

when i am trying to put 0 in chr(0163) it clears the zero itself and goes to chr(163) which gives the out put

" ú "

Author

Commented:
Because chr( integer ) takes integer value and not taking 0 on left

Author

Commented:

holding Alt if i type in note pad Alt+0163 = £

and Alt+163= ú

but chr() only take integer value which is 163

Author

Commented:
Modyfiying the statement you have given me chr(163) to chrW(156) its starting to print £ sign but with small kind of t symbole before pound sign if i take take out  chr(34) from left or use chrW(34) does not help at all

print.Write("A1070,110,2,4,1,1,N," & ChrW(34) & ChrW(156) & "99.99" & Chr(34) & "")

Most Valuable Expert 2012
Top Expert 2014

Commented:
That is very strange.
Top Expert 2008

Commented:
Have you tried changing the codepage of the printer to Multilingual (Codepage 850)?

Author

Commented:
hi eric
sorry i don't know how to do that this is zebra lp 2844

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial