FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » printing for dot matrix printers
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: printing for dot matrix printers [message #171687 is a reply to message #171685] Sat, 15 January 2011 23:29 Go to previous messageGo to previous message
Robert Heller is currently offline  Robert Heller
Messages: 60
Registered: December 2010
Karma:
Member
At Sat, 15 Jan 2011 16:59:47 -0500 Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:

>
> On 1/15/2011 4:11 PM, 24saat wrote:
>> Hi
>>
>> I'm looking a solutions dotmatrix printer solution for php.
>> I need print a form or invoice to dotmatrix printer in browser.
>>
>>
>> Thanks
>>
>> Ertan
>> php and asp.net developer
>> symfony& kohana specialist
>> http://www.webtasarimsitesi.com
>
> Your best bet is probably to create a pdf and print that.

If it is going to a *web browser*, just send simple HTML (eg, not fun
and games with iframes and whatnot), include a .css file with '@media
print' rules. All major web browser know how to print a web page to
whatever passes as the local printer. So long as the stylesheet's
'@media print' rules are reasonably generic and don't play excessive
games with fonts and so long as the page to be printed is not 'colorful'
and is without images, it should be possible for the web browser to send
it to any sort of printer without too much trouble and with a reasonable
faithfulness to the formatting.

>

--
Robert Heller -- 978-544-6933 / heller(at)deepsoft(dot)com
Deepwoods Software -- http://www.deepsoft.com/
() ascii ribbon campaign -- against html e-mail
/\ www.asciiribbon.org -- against proprietary attachments
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Adaptive Learning for PHP
Next Topic: extracting the root domain from a URL
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 03:36:48 GMT 2024

Total time taken to generate the page: 0.04591 seconds