1. using setPenPosition
- Posted by Ron Austin <ronaustin at alltel.net> Dec 06, 2003
- 515 views
I was recently experimenting with printing to various locations using setPenPosition(Printer,x,y). Through trial and error I found the set of coordinates(4760,6160) that would print at the lower right corner of the 81/2 X 11 page. When I sent the program to my brother, he got nothing on the page until cut the cooridinates in half. (2380,3080). I was using 18pt type. I have a HP OfficeJet145 and he has a HP930C. We both have WinXP Home. It appears that all settings are the same. What am I missing here? Why won't it print at the same spot that it does on my printer?
2. Re: using setPenPosition
- Posted by "Wolf" <wolfritz at king.igs.net> Dec 06, 2003
- 475 views
> What am I missing here? Why won't it print at the same spot that it does on my > printer? Different printers have different pixel ( dot ) resolutions. Check out getCtlSize(), which can return the x and y 'page' range of a printer. No 'trial and error' required ;)
3. Re: using setPenPosition
- Posted by "Derek Parnell" <ddparnell at bigpond.com> Dec 07, 2003
- 622 views
----- Original Message ----- From: "Ron Austin" <ronaustin at alltel.net> To: <EUforum at topica.com> Subject: RE: using setPenPosition [snip] > By the way, when my brother > > cut out the sample code and tried it, it wouldn't work and then he > > noticed that the second quote mark was missing from the example in the > > Win32Lib documentation. > Thanks. I've fixed this now. -- Derek