Re: [PHP] ask for suggestion about printing

2002-04-01 Thread Erik Price


On Sunday, March 31, 2002, at 02:02  PM, [EMAIL PROTECTED] wrote:

 We are choosing some tools for building applications. Php is a very 
 good tools to
 build web applications, but we don't know if it can generate printable
 reports. Printable reports mean the report you can print what you see 
 on screen
 (like winword).

 We are asking if at here, there are good solutions to generate reports. 
 Simply
 generate html files and print them are not good solutions to us, 
 becuase you have
 to remove header / footer of html files, and html files seems not to be 
 used for
 printing.

 We know we can use pdflib to generate pdf files, but it is very 
 expensive (at
 least US $1,000) .

 If there are no other ways, we will be forced to use the old 
 client-server approach
 again because printing report is very important to us.

If you use XML instead of HTML, you could perform one XSLT process to 
create HTML for the online version and another XSLT process to create a 
file in any other format to create the print version.


Erik






Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


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




Re: [PHP] ask for suggestion about printing

2002-04-01 Thread Michael Kimsal

Eric Coleman wrote:
 This can be done easily...
 
 And since when does PDFLIB cost money? I thought it was free...


PDFLIB isn't free.

A commercial PDFlib license is required for all uses of the software 
which are not explicitely covered by the Aladdin Free Public License 
(see bottom), for example:

? shipping a commercial product which contains PDFlib
? distributing (free or commercial) software based on PDFlib when the 
source code is not made available
? implementing commercial Web services with PDFlib




? you may develop free software with PDFlib, provided you make all of 
your own source code publicly available
? you may develop software for your own use with PDFlib as long as you 
don't sell it
? you may redistribute PDFlib non-commercially
? you may redistribute PDFlib on digital media for a fee if the complete 
contents of the media are freely redistributable.


It's fine for some situations, but it's not *free* for all uses.
There are actually quite a number of scenarios I come across
where PDFLIB isn't a 'free' package, but requires someone to pay.
implementing commercial Web services with PDFlib is pretty wide
open, imo.


Michael Kimsal
http://www.phphelpdesk.com
PHP support when you need it
734-480-9961


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




[PHP] ask for suggestion about printing

2002-03-31 Thread php

Dear Sir,

We are choosing some tools for building applications. Php is a very good tools to 
build web applications, but we don't know if it can generate printable 
reports. Printable reports mean the report you can print what you see on screen 
(like winword). 

We are asking if at here, there are good solutions to generate reports. Simply 
generate html files and print them are not good solutions to us, becuase you have 
to remove header / footer of html files, and html files seems not to be used for 
printing.

We know we can use pdflib to generate pdf files, but it is very expensive (at 
least US $1,000) .

If there are no other ways, we will be forced to use the old client-server approach 
again because printing report is very important to us. 


Many thanks!!!

Boris




---
PLEASE READ: The information contained in this e-mail is confidential and 
intended for the named recipient(s) only. If you are not an intended 
recipient of this e-mail you must not copy, distribute or take any further
action in reliance upon it and you should delete it and notify the sender 
immediately. E-mail is not a secure method of communication. GuruBase 
Technology Limited cannot accept responsibility for the accuracy or 
completeness of this message or any attachment(s). This transmission could 
contain viruses, be corrupted, destroyed, incomplete, intercepted, lost or 
arrive late. If verification of this e-mail is sought then please request 
a hard copy. Unless otherwise stated any views or opinions presented are 
solely those of the author and do not represent those of GuruBase Technology 
Limited. This e-mail is intended for information purposes only.

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




Re: [PHP] ask for suggestion about printing

2002-03-31 Thread eric.coleman

This can be done easily...

And since when does PDFLIB cost money? I thought it was free...

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, March 31, 2002 2:02 PM
Subject: [PHP] ask for suggestion about printing


 Dear Sir,

 We are choosing some tools for building applications. Php is a very good
tools to
 build web applications, but we don't know if it can generate printable
 reports. Printable reports mean the report you can print what you see on
screen
 (like winword).

 We are asking if at here, there are good solutions to generate reports.
Simply
 generate html files and print them are not good solutions to us, becuase
you have
 to remove header / footer of html files, and html files seems not to be
used for
 printing.

 We know we can use pdflib to generate pdf files, but it is very
expensive (at
 least US $1,000) .

 If there are no other ways, we will be forced to use the old client-server
approach
 again because printing report is very important to us.


 Many thanks!!!

 Boris




 --
-
 PLEASE READ: The information contained in this e-mail is confidential and
 intended for the named recipient(s) only. If you are not an intended
 recipient of this e-mail you must not copy, distribute or take any further
 action in reliance upon it and you should delete it and notify the sender
 immediately. E-mail is not a secure method of communication. GuruBase
 Technology Limited cannot accept responsibility for the accuracy or
 completeness of this message or any attachment(s). This transmission could
 contain viruses, be corrupted, destroyed, incomplete, intercepted, lost or
 arrive late. If verification of this e-mail is sought then please request
 a hard copy. Unless otherwise stated any views or opinions presented are
 solely those of the author and do not represent those of GuruBase
Technology
 Limited. This e-mail is intended for information purposes only.

 --
 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




Re: [PHP] ask for suggestion about printing

2002-03-31 Thread Ashley M. Kirchner

[EMAIL PROTECTED] wrote:

 This can be done easily...

 And since when does PDFLIB cost money? I thought it was free...

http://www.pdflib.com/pdflib/business.html
I'm guessing they need multiple CPU and the PDI - which costs money.

--
H | Life is the art of drawing without an eraser. - John Gardner
  +
  Ashley M. Kirchner mailto:[EMAIL PROTECTED]   .   303.442.6410 x130
  Director of Internet Operations / SysAdmin. 800.441.3873 x130
  Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave, #6
  http://www.pcraft.com . .  ..   Boulder, CO 80303, U.S.A.



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




Re: [PHP] ask for suggestion about printing

2002-03-31 Thread Miguel Cruz

On Mon, 1 Apr 2002 [EMAIL PROTECTED] wrote:
 We are choosing some tools for building applications. Php is a very good
 tools to build web applications, but we don't know if it can generate
 printable reports. Printable reports mean the report you can print
 what you see on screen (like winword).
 
 We are asking if at here, there are good solutions to generate reports.
 Simply generate html files and print them are not good solutions to us,
 becuase you have to remove header / footer of html files, and html files
 seems not to be used for printing.
 
 We know we can use pdflib to generate pdf files, but it is very
 expensive (at least US $1,000) .

In the past I've used RTF for this. Call header('Content-Type: 
application/rtf') and then just spit out RTF text.

The format is pretty simple; set up a sample file in your word processor
(the older the word processor you use, the better, since they're less
likely to clutter the file with the reams of clutter than new MS apps dump
into everything they write out; I used MS Word 4.0 as my guide) using the
various features you need, save it as RTF, look at it in a text editor,
repeat a few times, and you should have it mastered within an afternoon.

Many word processors can read it, it's much less work than a PDF, and it's
particularly well-suited for tabular data like reports. You can't get the
same level of graphical prettiness than you can with a PDF, but if you
just need something flexible and easy to work with that almost everyone 
can open/read, it's a good way to go.

miguel


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