Results 1 to 2 of 2

Thread: printing to the printer with vb .net

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Posts
    224

    printing to the printer with vb .net

    Hi,

    printing to the printer with vb .net

    how do i print to the printer from right to left with vb .net

    example in vb6:

    Printer.RightToLeft = True
    Printer.Print "abcd"
    Printer.EndDoc

    please send me small example

    thanking you in advance

    From:
    [email protected]

  2. #2
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536
    According to MSDN this is all taken care of by the localization settings.

    The following code will set localization to English. I can give you the codes for other cultures if you can tell me which one that you want to use for LeftToRight.

    VB Code:
    1. Thread.CurrentThread.CurrentUICulture = New CultureInfo("en")

    This one is for Israel

    VB Code:
    1. Thread.CurrentThread.CurrentUICulture = New CultureInfo("he-IL")

    I know this doesn't really answer your question as asked, but I hope it helps.
    This world is not my home. I'm just passing through.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width