|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Help with thermal printer SATO please !!!!I have thermal printer sato model CX 400, i have been triying for
two weeks print from Visual Basic 6 programa to Sato printer i need to user bigger font for product description, but i can not find the woy to do it. Anyone can help me ... E$ = Chr$(27) Printer.Print "A" Printer.Print E$ + "H0350" + E$ + "V0080" + E$ + "L0102" + "XM" + "PRODUCT NAME" Printer.Print "Q1" Printer.Print "Z"
Show quote
Hide quote
"Junior" <Jun***@discussions.microsoft.com> wrote in message I just checked the commands for that printer. Instead of using <Esc>L, try news:141A4127-98A8-4585-BA2C-40B6D7202857@microsoft.com... >I have thermal printer sato model CX 400, i have been triying for > two weeks print from Visual Basic 6 programa to Sato printer i need > to user bigger font for product description, but i can not find the woy > to do it. Anyone can help me ... > > E$ = Chr$(27) > > Printer.Print "A" > > Printer.Print E$ + "H0350" + E$ + "V0080" + E$ + "L0102" + "XM" + "PRODUCT > NAME" > Printer.Print "Q1" > Printer.Print "Z" using <Esc>$. See page 2-28 in the CX400 Programming Manual(Page 44 in the PDF): http://www.satoamerica.com/Operator+and+Technical+Manuals/98 Also, Print method always append CR+LF. Add ";" at the end to disable that. Example: Printer.Print "Q1"; thank you everybody for your help..
Show quoteHide quote "expvb" wrote: > "Junior" <Jun***@discussions.microsoft.com> wrote in message > news:141A4127-98A8-4585-BA2C-40B6D7202857@microsoft.com... > >I have thermal printer sato model CX 400, i have been triying for > > two weeks print from Visual Basic 6 programa to Sato printer i need > > to user bigger font for product description, but i can not find the woy > > to do it. Anyone can help me ... > > > > E$ = Chr$(27) > > > > Printer.Print "A" > > > > Printer.Print E$ + "H0350" + E$ + "V0080" + E$ + "L0102" + "XM" + "PRODUCT > > NAME" > > Printer.Print "Q1" > > Printer.Print "Z" > > I just checked the commands for that printer. Instead of using <Esc>L, try > using <Esc>$. See page 2-28 in the CX400 Programming Manual(Page 44 in the > PDF): > > http://www.satoamerica.com/Operator+and+Technical+Manuals/98 > > Also, Print method always append CR+LF. Add ";" at the end to disable that. > Example: > > Printer.Print "Q1"; > > > |
|||||||||||||||||||||||