borderAndreaVB free resources for Visual Basic developersborder

AndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincani
:: Print a text in a specific position,

Author  

Andrea Tincani

Language  

VB5, VB6

Operating Systems  

Windows 95, 98 and NT
Module

Public Sub PrintTextXY(s As String, Optional x, Optional y)
    If Not IsMissing(x) Then Printer.CurrentX = Val(x)
    If Not IsMissing(y) Then Printer.CurrentY = Val(y)
    Printer.Print s
End Sub

:: Navigation

Home

Printing Using Visual Basic

Previous Tip

Next Tip

:: Search this site
Google
:: Related Topics
icon 12-05-2008 Re: Printer.? by BobBarker
icon 26-01-2007 Re: Challenge by yronium
icon 01-08-2006 Re: sending msges with winsock..?? by misterxed
icon 01-07-2005 Re: insert into MSAccess using recordset in VB by yronium
icon 30-03-2004 Re: How can i load combobox from ".txt" document? by stickleprojects
Partners: Il portale per lui e lei | Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder