Results 1 to 4 of 4

Thread: Printing a form to A4 size paper

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Location
    Ireland
    Posts
    9

    Wink

    I'm trying to print a long form that has a height greater than that of the screen in VB4. Whenever I print the form, it gets cut off about three-quarters way down an A4 page. Any ideas on how to stop this happening? Could it be something to do with the particular printer driver I'm using?

    Thanks,
    Patrick Scahill,
    Dublin,
    Ireland
    Patrick Scahill

  2. #2
    New Member
    Join Date
    Jun 2000
    Posts
    2
    Hello, padsc. I believe your problem lies within the printer settings. For one, be sure that you select A4 size paper in the printer configuration. If that doesn't work, visit your printer's manufacturer's website for the latest print drivers.

  3. #3
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554
    If all your printer settings are correct (PRINTER object)

    stuff like Printer.prpOrientation = vbportrait
    (well i think it was vbportrait) then :

    You must be using the
    Code:
    PRINTFORM
    method which is limited to the screen size, and instead must redraw the forms contents using the
    Code:
    .PRINT
    method

    You may need to check and revise the layout of your forms if you want to print them. When you use the Print method, graphical images are clipped at the bottom of the page and text is carried over to the next page

    look at PRINTER OBJECT in the help

    DocZaf
    {;->

  4. #4

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Location
    Ireland
    Posts
    9

    Wink

    Thanks for your help.

    Does this mean I should use the command Form1.Print or Printer.Print Form1?

    Patrick
    Patrick Scahill

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