Results 1 to 3 of 3
  1. #1
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Printer Setup Margins? (A2k (9.0.3821) SR-1)

    Printer Setup Margins?
    A2k (9.0.3821) SR-1

    I developed a landscape report on Okidata 830 Laser with following setup settings:

    Top = .5 Bottom = .5 Left = .5 Right = .5 Report prints fine

    Installed report on customers computer with Epson Color Stylus 800 and getting blank page between pages.

    Printer Setup for Epson shows the following:

    Top = .5 Bottom = .5 Left = .5 Right = .55

    Of course if I change as follows it prints OK without blank page

    Top = .5 Bottom = .5 Left = .45 Right = .55

    What strategy should a developer use to develop on one printer and be assured it will work on any target printer?

    Thanks, John

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Printer Setup Margins? (A2k (9.0.3821) SR-1)

    We use PrtDevMode code to insure that the document is formatted for the current printer. There have been other threads on using it in this forum.
    Charlotte

  3. #3
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Printer Setup Margins? (A2k (9.0.3821) SR-1)

    If you want to check the properties of the printer in runtime, you need to use PrtDevMode, PrtMip and PrtDevNames, like Charlotte wrote. That way you can find out paper size, for instance (Letter size is standard in the USA, I believe, and A4 in Europe).
    If you just want to make sure that you will have no problems with margins, make them large enough for any type of printer. 1" on each side is probably OK.

Posting Permissions

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