LPRINT CHR$(27);"@"; LPRINT CHR$(27);"a";CHR$(1); 'centrer l'impression LPRINT "Printing over the bar code" LPRINT CHR$(29);"H";CHR$(2); LPRINT CHR$(29);"w";CHR$(2); 'largeur des barres: * LPRINT CHR$(29);"h";CHR$(70); 'hauteur LPRINT CHR$(29);"k";CHR$(4); 'code 39 ** LPRINT "1234567.99";CHR$(0); LPRINT "Printing under the bar code"; LPRINT CHR$(10); 'Line feed LPRINT CHR$(27);"@";Now the same code below translated in Foxpro 2.5b for DOS does not work at all.
SET PRINTER TO PRN SET PRINTER ON ??? CHR(27)+"@" ??? CHR(27)+"a"+CHR(1) && centrer l'impression ? "Printing over the bar code" ??? CHR(29)+"H"+CHR(2) ??? CHR(29)+"w"+CHR(2) && largeur des barres: * ??? CHR(29)+"h"+CHR(70) && hauteur ??? CHR(29)+"k"+CHR(4) && code 39 ? "127.99"+CHR(0) ? "Printing under the bar code" ??? CHR(10) &&Line feed ??? CHR(27)+"@" ? SET PRINTER OFFThere must be some detail I am missing.