Web App to print directly to client printer

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
buckit
Forum Contributor
Posts: 169
Joined: Fri Jan 01, 2010 10:21 am

Web App to print directly to client printer

Post by buckit »

Ok... so I just need someone to point me in the right direction.

I have a web app that requires various printing... right now I have resorted to outputing a PDF and then have the tenant print the PDF. This creates a lot of steps. What I want is for the tenant to hit a print button and it prints. I cant have the header and footer that browsers add to the printout.

first off... I know this cant be done with PHP, javascript, or HTML. This is going to have to be some sort of browser plugin that the tenant installs and configures to a specific printer on their system.


I have been googling like mad and cant come up with anything at all.... any help would be GREAT!
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Web App to print directly to client printer

Post by alex.barylski »

I just have the user print a PDF but you obviously already do this.

Alternatively you could probably manipulate the COM ports:

http://www.phpclasses.org/package/3679- ... -port.html

Not sure but you might try googling COM port extensions as well

p.s-Lemme know what you find as I would like to one day go down this path as well, but for the time being printing a PDF works fine :)

Cheers,
Alex
Post Reply