>I have an old app written in clipper that prints barcodes on a dedicated printer. I have developed a newer version of this app with VFP7 and when i print my barcodes take my clipper code and copy and paste to my new app.
>A part of it is:
>
>SET DEVICE TO PRINT
>SET PRINT TO COM1:
>
>@ PROW(), PCOL().......
>
>In Clipper it runs correctly, in VFP no.
>There are differences between using SET printer commands in MS-DOS ANd in Windows environment ?
I don't know about differences, but you might try the following alternatives:
SET DEVICE TO FILE, then copy the file to the printer with "???". PROW() might not work, though - perhaps you have to change it to row() (?).
Send to the printer with "?" and "??" instead.
Send to a file with "?" and "??" - then copy the file to the printer with "???". This is the method I use for printing in text-mode.
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)