We help IT Professionals succeed at work.
Get Started

initiating a remote printing job of a URL on a Linux system

Syngin9
Syngin9 asked
on
543 Views
Last Modified: 2013-12-15
Hi guys,

I have a web application (PHP / MySQL) running on a remote Debian Linux server.  Essentially, I'm looking for recommendations on how I can have the server load a URL locally (PHP file) parse it correctly (including CSS) and print the output of the PHP file to a local printer.

I'm trying to avoid having to generate a PDF file locally and print that each time if possible.

Something involving shell_exec would work.

Is there any program that I could use from the command line that could load a URL (need to pass GET variables) and then print the result to a printer?  I have the printer already set up in CUPS.  Neither Links or Lynx see to understand CSS.

Thanks guys.

Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE