LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-18-2012, 03:04 PM   #1
ray@hendriksma.com
LQ Newbie
 
Registered: Nov 2011
Posts: 1

Rep: Reputation: Disabled
Converting HTML/CSS pages created with php into PDF files


I am having a real problem getting through this issue. I'm very new to Linux and Apache but learning FAST. My application runs on an AWS Linux box, written in php, data from mysql and I need to be able to print order forms on legal size paper. Printing directly from the browser is ugly. I also need to be able to email the forms. It seems like using PDF is the way to go. All of the tools I have encountered are command line and need a url to work. My web pages are created in php and then they are gone.

Can I print to a 'virtual printer' creating a pdf file? If so, I would appreciate a point in the right direction.

Thanks

Ray
 
Old 12-18-2012, 04:21 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Quote:
Can I print to a 'virtual printer' creating a pdf file?
Yes. For this I use cups-pdf http://www.cups-pdf.de/
Your Linux distribution may already include this.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
converting .html files to pdf from the command line jason7 Linux - General 6 01-24-2009 08:46 AM
Converting HTML Webpages to PDF or JPEG with konqueror mrkirkland Linux - Software 2 01-31-2006 10:16 AM
tool for converting html to pdf - htmldoc j-ray Linux - Software 2 08-30-2004 08:02 AM
Converting pdf to Html linuxeagle Linux - General 1 04-23-2004 08:03 AM
Converting html files to pdf saurya_s Linux - Software 1 01-12-2004 06:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration