This may help:
set printer on
???CHR(27)+'E'
??? CHR(27)+'&l0O'
? 'TEST PORTRAIT'
??? CHR(27)+CHR(40)+CHR(115)+CHR(49)+CHR(83)
??? 'TEST PORTRAIT ITALIC'
??? CHR(27)+CHR(40)+CHR(115)+CHR(51)+CHR(66)
??? 'TEST PORTRAIT BOLD'
SET PRINTE OFF
set printer to
>Hi all,
>
>I want to send some pcl codes to a printer and i don't have now idea how it works and if it works on any printer. So i have some questons.
>Is the pcl code for every printer the same ? And how do i pass them to the printer via vfp ? Can somebody give me the pcl code for printing bold ?
>
>thnx