print html page view on dot matrix printer

1,079 views
Skip to first unread message

黄祥

unread,
Apr 27, 2015, 9:13:04 AM4/27/15
to web...@googlegroups.com
hi, 

is it possible to print html page view on dot matrix printer using web2py?
i've tried it but the result is not expected? the font is near each other.
how can i solve this when i generate a html view using web2py?

thanks and best regards,
stifan

Derek

unread,
Apr 27, 2015, 12:18:21 PM4/27/15
to web...@googlegroups.com
I would suggest using a fixed width font, preferably a font that is installed on the printer. 

黄祥

unread,
Apr 28, 2015, 9:38:57 AM4/28/15
to web...@googlegroups.com
thanks derek for your suggestion, i'll try it first (use css font-family fixed width like courier, monoscape, etc), since it's the easiest.
during googling i've found another method that work in another programming language
1. use activex to handle dot matrix printer (microsoft)
2. create plain text temporary file then sent it to the printer (php)

best regards,
stifan
Reply all
Reply to author
Forward
0 new messages