CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2001
    Location
    India
    Posts
    173

    Printer Problem Urgent

    Sir,
    Printer.print "abc"
    Printer.print "abc"
    Printer.print "abc"
    Printer.print "Last"

    After printing the last line, the printer will skip the paper, so as to align to the next page. which I want to avoid.
    Any Gurus please help me.
    A pretty simple, for all of u.

    Thank You,

    Shivakumar G.M.



  2. #2
    Join Date
    Feb 2001
    Posts
    54

    Re: Printer Problem Urgent

    Hello:

    Have you tried Printer.CurrentX and Printer.CurrentY?

    Bye
    Bob


  3. #3
    Join Date
    Aug 2001
    Posts
    4

    Try this


    Hi

    First set the paper size .

    Set Printer = Printers(0) ' Set the default
    Printer
    Printer.PaperSize = UserDefined
    Printer.height = 1000 ' Desired Height
    Printer.Width = 2000 ' Desired Width

    Then Start ur codings

    Try this, If it doesnt works , mail me.

    All the best
    Bye Bye
    Vijoo


  4. #4
    Join Date
    Aug 2001
    Location
    India
    Posts
    173

    Re: Try this

    Sir, I am getting a error "invalid property value" for
    -->Printer.PaperSize = UserDefined

    Thank You,
    Shivakumar G.M.





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

Featured