I want to sent a string directly to the printer.
tovpe.devsenddata returns a 0.
I read that this can be only done in the pirnt_devdata so i put my
function call into this method. But no reaction.
I need to sent to a PCL printer the command to use a stored macro.
For example Macro 1.
I use the command
pcBEF = chr( 27 ) + chr( 38 ) + chr( 102 ) + chr( 49 ) + chr( 89 )
tovpe.devsenddata( pcBEF )
to Send the macro number to the printer afterwards i send
pcBEF = chr( 27 ) + chr( 38 ) + chr( 102 ) + chr( 51 ) + chr( 88 )
tovpe.devsenddata( pcBEF )
that shall call the macro.
In doprintdevdata i call my function
If i send the command within foxpro directly to the printer all works
fine. But i need it in VPE.
I work with visual Foxpro 7 and vpe 3.5