Question about SATO CX400 Thermal Label Printer

1 Answer

Pls help in this VB code, Sato CX400 barcode printer

I have following VB code for Sato CX400 barcode printer, but it is not printing Barcode, only text it is printing. What is the problem, please suggest. My label size is width 5 cm , Height 2.5 cm.

Vb Code
-----------------------------------------------
Open "lpt1" For Output As 1

E$ = Chr$(27)

Print #1, E$; A

Print #1, E$, H0025; E$; V1130

Print #1, E$, BG02048I1234567890
Print #1, E$, BW03100

Print #1, E$, "RegNo :", "123456"

Print #1, E$, "Name : ", "upma jain"

Print #1, E$, "Testname :", "Birlamedisoft"
Print #1, E$, "sample :", "blood"

Print #1, E$, Q1
Print #1, E$, Z

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 1 Answer

Jst try this u create a label from label printing software using ato font then make a prn
then attach u r vb code in to prn it will work

rohitjain


prn example-------------
A
*
&
Z
A
CB+18
Z
A
CD250,3300
Z
A
AR
Z
A
A100950647
Z
A
%2h416v0072BG01031>H23456111
%2PSP02h573v0021L0101XS922
%2PSP02h618v0021L0101XS18K
%2PSP02h415v0089L0101XS17125
%2PSP02h416v0039L0101XSPO124
%2PSP02h416v0022L0101XS215gms
%2PSP02h618v0043L0101XSDR37/0.20
%2PSP02h618v0064L0101XSDR37/0.20
%2PSP02h618v0085L0101XSDT/B44/0.82
&
Z



vb code example------------------

Open "LPT1" For Output As 1
Do While rs.EOF = False
For I = 1 To Val(Text1.Text)
Print #1, "A"
Print #1, "*&"
Print #1, "Z"
Print #1, "A"
Print #1, "CB+18"
Print #1, "Z"
Print #1, "A"
Print #1, "CD250,3300"
Print #1, "Z"
Print #1, "A"
Print #1, "AR"
Print #1, "Z"

Print #1, "A"
Print #1, "A100950647"
Print #1, "Z"

Print #1, "A"
X = "%2h380v0065BG01031>H"
Y = rs.Fields(6).Value
X = X + Y
Print #1, X

Print #1, "%2PSP02h618v0085L0101XSKT"
Print #1, "%2PSP02h600v0085L0101XS", rs.Fields(1).Value
Print #1, "%2PSP02h618v0064L0101XSNetWt"
Print #1, "%2PSP02h600v0063L0101XS", rs.Fields(2).Value
Print #1, "%2PSP02h618v0043L0101XSDiaWt"
Print #1, "%2PSP02h600v0041L0101XS", rs.Fields(3).Value
Print #1, "%2PSP02h618v0021L0101XSColWt"
Print #1, "%2PSP02h602v0021L0101XS", IIf(IsNull(rs.Fields(4).Value), " ", rs.Fields(4).Value)
Print #1, "%2PSP02h430v0084L0101XS", rs.Fields(5).Value

Print #1, "%2PSP02h371v0028L0101XS$"
Print #1, "%2PSP02h405v0028L0101XS", rs.Fields(7).Value


Print #1, "&"
Print #1, "Z"
Print #1, " A"
Print #1, " #E5"
Print #1, " Z"
Print #1, " A"
Print #1, " CS2"
Print #1, " Z"
Print #1, "A"
Print #1, " 0000"
Print #1, "TEXT1.TEXT"
Print #1, "/"
Print #1, "Z"

Posted on Feb 14, 2009

2 Suggested Answers

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

  • 1 Answer

SOURCE: Please help abt VB6 code for SATO CX400 printer

just make prn file or by crystal report



call me on 9974985001

Posted on Mar 26, 2009

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Red light blinking


You need to recalibrate the printer with sato cx400 printer driver.
There is also option to enable Direct Thermal (no ribbon) or thermal transfer printing option.

Jan 02, 2016 | SATO CX400 Thermal Label Printer

1 Answer

I require a .prn file for my cx400 for my software support person to design the barcode string to be used for my software to create the barcodes. my barcode printer is Sato CX400 & the software I am...


HI ...

1.I am using Sato CX400.my printer problem is when i give Command for printing copy (default by prn file one copy) but print out two copy and i wastage lots of label .so please help me about my problem.

2. i have sato Cx400 two printer but in both printer font is Bold & another is UN bold.so how make both printer setting same

Please help me by mail (bvionline@yahoo.co.in)

Thanking You

Jun 21, 2011 | SATO CX400 Thermal Label Printer

1 Answer

WANT PRN FILE FOR BARCODE LABEL DESIGN


HOE TO DESIGN A PRN FILE FOR ZEBRA TLP 2844

Jun 03, 2010 | SATO CX400 Thermal Label Printer

2 Answers

Please help abt VB6 code for SATO CX400 printer


just make prn file or by crystal report



call me on 9974985001

Feb 04, 2009 | SATO CX400 Thermal Label Printer

1 Answer

I have sato cx400 printer, looking for VB6 code


Try this link:

http://www.filebuzz.com/files/Codabar_C/freeware-1.html

Have a look at the VB Barcode Integration Kit


Feb 04, 2009 | SATO CX400 Thermal Label Printer

1 Answer

M-4206


Go to datamax web site and get DPL programmers manual

Nov 12, 2008 | Datamax M-4208 Thermal Label Printer

2 Answers

Pagesetup Sato CX400 - 2,5x11cm(Hight,width)


Install the software label gallary which has come with Printer CD, design the label over there. It will work

May 08, 2008 | SATO CX400 Thermal Label Printer

2 Answers

Sato GT408e


there is a sensor you need to adjust (MEDIA SENSOR), depending on what type of labels you are using.

1-labels wit a notch on the side : move sensor all thte way to left ( if standing in front of printer)towards the notch.

2- labels with a seperation brtween each one, move towarrds middle.

Take a look at this link and look at page 28 for a better understanding. ( zoom to 400%)

http://www.posguys.com/download/DataMax-I-ClassManual.pdf

Oct 16, 2007 | SATO GT408E Thermal Label Printer

3 Answers

Physical alignment of lable holder lost


pleasesir check its lock and screws for open it but take care

Sep 21, 2007 | SATO CX400 Thermal Label Printer

Not finding what you are looking for?
SATO CX400 Thermal Label Printer Logo

Related Topics:

2,064 people viewed this question

Ask a Question

Usually answered in minutes!

Top SATO Office Equipment & Supplies Experts

CheckitRight
CheckitRight

Level 3 Expert

1362 Answers

kbtkbt

Level 2 Expert

67 Answers

pkwc

Level 2 Expert

254 Answers

Are you a SATO Office Equipment and Supply Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...