Epson C31C213A8941 Print Driver Guide - Page 40
Cutting the Paper, 2.6. Printing a Bar Code
View all Epson C31C213A8941 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 40 highlights
6.2.5. Cutting the Paper The following code causes the printer to cut the paper. Printer.FontSize = 10 Printer.FontName = "control" Printer.Print "F" Printer.EndDoc 'Set up the control font. 'Use special-function character to cut the paper. 'F: Full cut 'P: Partial cut 6.2.6. Printing a Bar Code The next example shows how to print out a bar code. 'SetH R Icharacters Printer.FontSize = 10 'Setup the controlfont. Printer.FontN am e = "control" P rinter.P rint "q" 'U se special-function character to selectthe bar-code type. 'p:N o H R Icharacters 'q:Include H R Icharacters above bar code (using fontA ). 'r:Include H R Icharacters below bar code (using fontA ). 's:Include H R Icharacters above bar code (using fontB ). 't:Include H R Icharacters below bar code (using fontB ). 'Printthe bar code. Printer.FontSize = 42 'Setthe bar-code fontsize. Printer.FontN am e = "ITF" 'Selectthe bar-code printer font. P rinter.P rint "123456" 'Printthe bar-code data. Printer.E ndD oc TITLE EPSON TM Printer Driver User's Manual SHEET REVISION 1.61 NO NEXT 41 SHEET 40