First, you make a big mistake: printing in VB in MUCH MORE flexible as in VFP! For instance, how you can draw in VFP graphic objects (lines, dots, ellipses) on the printer???
Equivalent code in VB6.0 (will print on the default printer):
'/// These two rows are not required
Printer.CurrentX = {SomeValueForOffsetByX}'For instance, 500
Printer.CurrentX = {SomeValueForOffsetByY}'For instance, 500
'\\\
Printer.Print "Hello World"
Printer.EndDoc
*------------------------
set devi to print
set prin on
@ 5,10 say "Hello World"
eject
set prin off
set devi to scree
*-----------------------
Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000) br>
VB (.NET) - what other language do you need in the whole Universe?...