Printing a URL from the command line


Results 1 to 1 of 1

Thread: Printing a URL from the command line

  1. #1
    Join Date
    Oct 2001
    Location
    /canada/ont/windsor
    Posts
    1,499

    Printing a URL from the command line

    Hi guys,

    I've got a PHP web app that I need to be able to issue a shell command (shell_exec) that will print a URL to a nearby printer via CUPS. Is there any kind of program that can do this? (can lpr do this?)

    The app will be running locally but I was planning to pass certain variables to the page via URL variables. Even something that would allow me to save the HTML result from a page view would help.

    Thanks guys.
    Last edited by Syngin; 03-25-2010 at 10:47 AM.
    Where are we going and why am I in this handbasket?
    (No trees were killed in posting this message. However, a large number of electrons were seriously inconvenienced.)
    ----------------------------------
    Debian user since Potato
    Syngin: Web Portfolio

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •