LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 04: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, 05:21 PM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,437

Rep: Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:46 AM
Converting HTML Webpages to PDF or JPEG with konqueror mrkirkland Linux - Software 2 01-31-2006 11:16 AM
tool for converting html to pdf - htmldoc j-ray Linux - Software 2 08-30-2004 09:02 AM
Converting pdf to Html linuxeagle Linux - General 1 04-23-2004 09:03 AM
Converting html files to pdf saurya_s Linux - Software 1 01-12-2004 07:49 AM


All times are GMT -5. The time now is 10:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration