WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Could not print a squared grid as exactly squared !

 
   Home -> Office -> Printing RSS
Next:  Print Area changes on different PC's  
Author Message
Le Minh Son

External


Since: Sep 10, 2008
Posts: 1



(Msg. 1) Posted: Wed Sep 10, 2008 7:24 pm
Post subject: Could not print a squared grid as exactly squared !
Archived from groups: microsoft>public>excel>printing (more info?)

Hi all,

I create an XY-chart in Excel and use a VBA macro to produce two axes with
the same scale to get a perfectly squared grid.

However when I print that chart, the grid is not squared anymore! And the
printout is different from different printers.

I guess this is due to the differnt resolution of printers and resolution of
the screen. But I do not know how to determine the resolution/aspect ratio
of printers from VBA.

What should I do ? Thanks for your help in advance.
Back to top
Login to vote
Gord Dibben

External


Since: Feb 23, 2004
Posts: 8626



(Msg. 2) Posted: Wed Sep 10, 2008 7:24 pm
Post subject: Re: Could not print a squared grid as exactly squared ! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

To get a square grid on a worksheet with any printer or resolution you can
use Ole Erlandson's code for setting row and column dimensions in mm

http://www.erlandsendata.no/english/index.php?d=envbawssetrowcol


Gord Dibben Excel MVP

On Wed, 10 Sep 2008 19:24:01 +0700, "Le Minh Son" <sanha.RemoveThis@hcm.fpt.vn> wrote:

>Hi all,
>
>I create an XY-chart in Excel and use a VBA macro to produce two axes with
>the same scale to get a perfectly squared grid.
>
>However when I print that chart, the grid is not squared anymore! And the
>printout is different from different printers.
>
>I guess this is due to the differnt resolution of printers and resolution of
>the screen. But I do not know how to determine the resolution/aspect ratio
>of printers from VBA.
>
>What should I do ? Thanks for your help in advance.
>
Back to top
Login to vote
minhsonsg

External


Since: Sep 11, 2008
Posts: 2



(Msg. 3) Posted: Thu Sep 11, 2008 5:28 pm
Post subject: Re: Could not print a squared grid as exactly squared ! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I have used a macro published by Jon Peltier and Ole Erlandson's code
as your recommend. However the grid is squared on the screen only but
not squared on printed paper.


On Sep 11, 4:59 am, Gord Dibben <gorddibbATshawDOTca> wrote:
> To get a square grid on a worksheet with any printer or resolution you can
> use Ole Erlandson's code for setting row and column dimensions in mm
>
> http://www.erlandsendata.no/english/index.php?d=envbawssetrowcol
>
> Gord Dibben Excel MVP
>
> On Wed, 10 Sep 2008 19:24:01 +0700, "Le Minh Son" <sa....RemoveThis@hcm.fpt.vn> wrote:
>
> >Hi all,
>
> >I create an XY-chart in Excel and use a VBA macro to produce two axes with
> >the same scale to get a perfectly squared grid.
>
> >However when I print that chart, the grid is not squared anymore! And the
> >printout is different from different printers.
>
> >I guess this is due to the differnt resolution of printers and resolution of
> >the screen. But I do not know how to determine the resolution/aspect ratio
> >of printers from VBA.
>
> >What should I do ? Thanks for your help in advance.
Back to top
Login to vote
minhsonsg

External


Since: Sep 11, 2008
Posts: 2



(Msg. 4) Posted: Thu Sep 11, 2008 5:40 pm
Post subject: Re: Could not print a squared grid as exactly squared ! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I have used a macro published by Jon Peltier and Ole Erlandson's code
as your recommend. However the grid is squared on the screen only but
not squared on printed paper.

Le Minh Son

On Sep 11, 4:59 am, Gord Dibben <gorddibbATshawDOTca> wrote:
> To get a square grid on a worksheet with any printer or resolution you can
> use Ole Erlandson's code for setting row and column dimensions in mm
>
> http://www.erlandsendata.no/english/index.php?d=envbawssetrowcol
>
> Gord Dibben Excel MVP
>
> On Wed, 10 Sep 2008 19:24:01 +0700, "Le Minh Son" <sa... DeleteThis @hcm.fpt.vn> wrote:
>
> >Hi all,
>
> >I create an XY-chart in Excel and use a VBA macro to produce two axes with
> >the same scale to get a perfectly squared grid.
>
> >However when I print that chart, the grid is not squared anymore! And the
> >printout is different from different printers.
>
> >I guess this is due to the differnt resolution of printers and resolution of
> >the screen. But I do not know how to determine the resolution/aspect ratio
> >of printers from VBA.
>
> >What should I do ? Thanks for your help in advance.
Back to top
Login to vote
Gord Dibben

External


Since: Feb 23, 2004
Posts: 8626



(Msg. 5) Posted: Fri Sep 12, 2008 4:13 pm
Post subject: Re: Could not print a squared grid as exactly squared ! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I find it close enough for my liking.

Try changing the width or height by a decimal point or two to account for
any elongation.

I find if width and height are exactly 7mm the total grid width is a bit
more than length on my printout.

Drop width to 6.8 and measures very close.

I'm running out of ink so will let you experiment.


Gord


On Thu, 11 Sep 2008 17:28:50 -0700 (PDT), minhsonsg DeleteThis @gmail.com wrote:

>I have used a macro published by Jon Peltier and Ole Erlandson's code
>as your recommend. However the grid is squared on the screen only but
>not squared on printed paper.
>
>
>On Sep 11, 4:59 am, Gord Dibben <gorddibbATshawDOTca> wrote:
>> To get a square grid on a worksheet with any printer or resolution you can
>> use Ole Erlandson's code for setting row and column dimensions in mm
>>
>> http://www.erlandsendata.no/english/index.php?d=envbawssetrowcol
>>
>> Gord Dibben Excel MVP
>>
>> On Wed, 10 Sep 2008 19:24:01 +0700, "Le Minh Son" <sa... DeleteThis @hcm.fpt.vn> wrote:
>>
>> >Hi all,
>>
>> >I create an XY-chart in Excel and use a VBA macro to produce two axes with
>> >the same scale to get a perfectly squared grid.
>>
>> >However when I print that chart, the grid is not squared anymore! And the
>> >printout is different from different printers.
>>
>> >I guess this is due to the differnt resolution of printers and resolution of
>> >the screen. But I do not know how to determine the resolution/aspect ratio
>> >of printers from VBA.
>>
>> >What should I do ? Thanks for your help in advance.
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Printing All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support