Printer Problem

  • Thread starter Thread starter Jim
  • Start date Start date
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
 
Back
Top