Printer Problem

J

Jim

Dear Sir/Madam,

The Following Code works fine in VB6:
PRINT #1, chr$(&h1b);"@";

Print #1, chr$(&h1b);"a";CHR$(1);
Print #1, chr$(&h1b);"!";CHR$(0);
Print #1, "January 14 2002 15:00";
Print #1, chr$(&h1b);"d";CHR$(3);

PRINT #1, chr$(&h1b);"a";CHR$(0);
PRINT #1, chr$(&h1b);"!";CHR$(1);
PRINT #1,tm-u210b";chr$(&ha);
PRINT #1, chr$(&ha);
PRINT #1, chr$(&h1d);"V";CHR$(66);CHR$(0);

PRINT #1, chr$(&h1b);chr$(&h70);chr$(&h0);CHR$(60);CHR$(120);

This code is used to print to an Epson thermal printer all non text items
are commands that would be sent to the printer.

What changes need to be done to convert it into VB.NET.

Regards

Jim Finegan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top