[PHP] Resolution in .pdf

2006-11-22 Thread Rosen
Hi,
I must create .pdf  file with resolution as 300 dpi not by default 72 dpi. 
Is there a way to create this with PHP?

Thanks in advance,
Rosen 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] [RESOLUTION] -- Spreadsheet Excel Writer

2006-07-13 Thread Jef Sullivan
Yesterday I wrote a request for some help with setting the column width
when exporting a php generated 

page to Excel. After further research I was able to find setColumn().
There were some that asked

what I was able to come up with when using this feature since the
documentation is incomplete.

 

For those of you that are using the Spreadsheet Excel Writer with Pear
and PHP use the following

to set the width of a column...

 

// Creating a workbook

$workbook = new Spreadsheet_Excel_Writer();

 

//Setting column width

$worksheets1->setColumn(0,0,10.00);

 

This example breakdown as follows...

 

setColumn(0,0,10.00) == the first column to be affected by the width

setColumn(0,0,10.00) == the last column to be affected by the width

setColumn(0,0,10.00) == the width as a float

 

The setColumn() needs to be set before any data is being written to the
spreadsheet. If you only 

wont one column to be affected by the setColumn() then you set the first
and last column

values to the same column number. If you want to affect more than one
column you can set the

last column to the desired column number, just remember the column
numbering begins with a 0.

 

 

 

 

Jef Sullivan

J-MAC & AutoAir

3520 South State Street

Salt Lake City, UT  84115

801-269-2030 - Telephone

801-269-2065 - Fax

 

 

 



RE: [PHP] resolution

2002-06-04 Thread Martin Towell

I think this was asked recently by someone else
You need to use javascript/vbscript to grab the dimensions then pass it to
php
php is server side and doesn't know anything about the client unless it's
told about it

HTH
Martin

-Original Message-
From: Doron [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 7:02 AM
To: [EMAIL PROTECTED]
Subject: [PHP] resolution


is it possible to check the visitors's resolution with php?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] resolution

2002-06-04 Thread Doron

is it possible to check the visitors's resolution with php?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] resolution

2002-06-02 Thread Bogdan Stancescu

JavaScript does something in this direction - you can use a little 
JavaScript trick to get it - check some JS docs and mail me if 
interested and unable to make it. What you basically need to do is use a 
link such as Continue or, more transparent, 
create an intermediary page which only contains some JS which takes the 
user to the "real" page. The real page would receive the screen 
resolution either from function bla() in the first example of from the 
global code in the second. I believe screen was the object you had to 
look for in JS (as in screen.width and screen.height).

HTH

Bogdan

reapern66 wrote:

>I was wondering if theres a server side variable that i can find the web brower 
>resolution.
>
>  
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] resolution

2002-06-02 Thread reapern66

I was wondering if theres a server side variable that i can find the web brower 
resolution.



Re: [PHP] Resolution

2001-07-23 Thread Daniel Rezny

Hello Kyle,

Tuesday, July 24, 2001, 1:45:00 AM, you wrote:

KS> is there a code to show a users screen resolution and/or make a webpage go to a 
certain page of the site depending on the users screen resolution?


KS> -legokiller666-
KS> http://www.StupeedStudios.f2s.com
KS> New address new site

KS> ICQ: 115852509
KS> MSN: [EMAIL PROTECTED]
KS> AIM: legokiller666



Use a javascript code
screen.width();
screen.height();


-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Resolution

2001-07-23 Thread Rudolf Visagie

Hi Kyle,

I use the following:


<!-- hide from none JavaScript Browsers
function PassScreenWidth(what) {
document.login_frm.screen_width.value=what
}

function GetScreenSize() {
var screen_width = screen.width;
return screen_width;
}
// - stop hiding -->

.
.
.





Cheers
Rudolf

-Original Message-
From: Kyle Smith [mailto:[EMAIL PROTECTED]]
Sent: 24 July 2001 01:45
To: [EMAIL PROTECTED]
Subject: [PHP] Resolution


is there a code to show a users screen resolution and/or make a webpage go
to a certain page of the site depending on the users screen resolution?


-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Resolution

2001-07-23 Thread Gonyou, Austin

If you want to see what you can get from the client, serverside. Please run
the following:




Put that into some php file, and it will tell you what PHP will allow you to
get be default. I feel that the JS answer is about as correct as your going
to get. 
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: [EMAIL PROTECTED] 

> -Original Message-
> From: Tyler Longren [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 23, 2001 10:54 AM
> To: Kyle Smith; [EMAIL PROTECTED]
> Subject: Re: [PHP] Resolution
> 
> 
> I don't believe you can get screen resolution with PHP.  
> You'd need to use
> something client side, such as Javascript.
> 
> Tyler
> 
> - Original Message -
> From: "Kyle Smith" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 23, 2001 6:45 PM
> Subject: [PHP] Resolution
> 
> 
> is there a code to show a users screen resolution and/or make 
> a webpage go
> to a certain page of the site depending on the users screen 
> resolution?
> 
> 
> -legokiller666-
> http://www.StupeedStudios.f2s.com
> New address new site
> 
> ICQ: 115852509
> MSN: [EMAIL PROTECTED]
> AIM: legokiller666
> 
> 
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: 
> [EMAIL PROTECTED]
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Resolution

2001-07-23 Thread Tyler Longren

I don't believe you can get screen resolution with PHP.  You'd need to use
something client side, such as Javascript.

Tyler

- Original Message -
From: "Kyle Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 6:45 PM
Subject: [PHP] Resolution


is there a code to show a users screen resolution and/or make a webpage go
to a certain page of the site depending on the users screen resolution?


-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Resolution

2001-07-23 Thread Kyle Smith

is there a code to show a users screen resolution and/or make a webpage go to a 
certain page of the site depending on the users screen resolution?


-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666