printing in vb6.0 through printer object

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kumarmanoj_pat
    New Member
    • Aug 2006
    • 5

    printing in vb6.0 through printer object

    hi,
    i want to write a program to print text on printer through printer object. i also want to stop printing just after printing text. now if, i print text then printer eject whole page and move to next page but i want to continue printing just below thr previous printing. if its possible then please help me with source code.
  • milkyman
    New Member
    • Aug 2006
    • 12

    #2
    Originally posted by kumarmanoj_pat
    hi,
    i want to write a program to print text on printer through printer object. i also want to stop printing just after printing text. now if, i print text then printer eject whole page and move to next page but i want to continue printing just below thr previous printing. if its possible then please help me with source code.
    ok, thats because the printer thinks you are finished.
    If you put a ";" after you text it will stop there and begins there again.

    code:

    Printer.Print "Hello world "; ' this is your first line
    '/
    '/ you can put some code or else here
    '/
    Printer.Print "this is my message." 'this is the same line but another text
    Printer.EndDoc

    Comment

    • laljain123
      New Member
      • Oct 2006
      • 2

      #3
      Originally posted by kumarmanoj_pat
      hi,
      i want to write a program to print text on printer through printer object. i also want to stop printing just after printing text. now if, i print text then printer eject whole page and move to next page but i want to continue printing just below thr previous printing. if its possible then please help me with source code.
      Dear
      if u have got solution for above probelm please i too require , do send

      regards

      lalith

      Comment

      Working...