On Wed, 2010-12-29 at 11:49 -0500, Paul M Foster wrote:
> On Wed, Dec 29, 2010 at 10:36:30AM -0500, Steve Staples wrote:
> 
> > Hi!
> > 
> > I have an app that needs to be created, and it is all running on linux.
> > I am sure I shoulnd't really write it using PHP, but it's kinda what I
> > know, and am familiar with... so I am thinking about doing with PHP.
> > 
> > Anyway, for simplicity sake, i am creating a pdf through php (no
> > problems there) and it needs to be printed.  I've never done printing on
> > linux, but is there an easy way to send the pdf print job via command
> > lines to the local (or network) printer?
> > 
> > a friend of mine said "postscript" or "cups", but I am not familiar with
> > them, so I thought I would ask you GURU's here :)
> 
> The big problem here is that the site is on the server and the printer
> is on the client (most likely). Normally if you provide a link to a PDF
> in a webpage, the user/client downloads that PDF and the browser tries
> to open it in whatever program it thinks is good for that (like XPDF
> under Linux). The program in which it opens the PDF will have an option
> to print the file. I've been printing invoices, checks and reports out
> of my corporate system for years this way.
> 
> Paul
> 

actually... it is a localized app (it should be more of a C++ or Java
(or even Python), but I know PHP more weller than the others... and
there is also a few other things they want... so right now, it will be
on the local machine, but down the road, it will be on a "server", but
it is all on the local intranet, so the printers will be accessible.
this is not a "world" app, just internal.

I can create the PDF's no problem, it is just how to send the created
pdf to the printer to print (it is a label printer, printing 3x5 labels)


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

Reply via email to