[Gambas-user] Print html direct?

2010-11-24 Thread Gregor Burck
Hi,

I'm still experimenting with printing, the scale method was a good hint for me.
But now a other question:
Can I direct print html? 
The background:
I try to improve a application, and I wonder if it is esyer to generate html 
instead of print direkt, cause there are elements for layout.
In this case I want to improve the print of an invoicment, so I need a head, 
tables blocks,... on idea is to generate the html code with css 
and open it with the system browser, other is to print html direct from gambas?

In the moment I prever the first solution,...

Any additional Ideas?

Gregor
-- 




--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Print html direct?

2010-11-24 Thread charlesg

Hi


Gregor Burck wrote:
 
 Can I direct print html? 
 

I shell to htmldoc to turn the html to pdf.
e.g. 
shll = htmldoc --bodyfont Sans --fontsize 6.0 --outfile  
Application.path  /tfc.pdf --webpage   Application.path  /tfc.htm 
SHELL shll WAIT
then:
shll = lpr   Application.path  /tfc.pdf
shell shll wait
-- 
View this message in context: 
http://old.nabble.com/Print-html-direct--tp30296474p30296557.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Print html direct?

2010-11-24 Thread Rolf-Werner Eilert
Am 24.11.2010 13:54, schrieb charlesg:

 Hi


 Gregor Burck wrote:

 Can I direct print html?


 I shell to htmldoc to turn the html to pdf.
 e.g.
 shll = htmldoc --bodyfont Sans --fontsize 6.0 --outfile 
 Application.path  /tfc.pdf --webpage   Application.path  /tfc.htm
 SHELL shll WAIT
 then:
 shll = lpr   Application.path  /tfc.pdf
 shell shll wait

This is really cool dude :-) I'll print it and pin it on my wall, will 
certainly be used next time I've got to do something like this!

By the way, htmldoc doesn't seem to be on my system, do you know where 
it comes from?

Regards

Rolf


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Print html direct?

2010-11-24 Thread Dimitris Anogiatis
Hey guys,

Does htmldoc have any UTF-8 support?

Regards,
Dimitrios


On Wed, Nov 24, 2010 at 7:36 AM, Rolf-Werner Eilert 
eilert-sprac...@t-online.de wrote:

 Am 24.11.2010 13:54, schrieb charlesg:
 
  Hi
 
 
  Gregor Burck wrote:
 
  Can I direct print html?
 
 
  I shell to htmldoc to turn the html to pdf.
  e.g.
  shll = htmldoc --bodyfont Sans --fontsize 6.0 --outfile 
  Application.path  /tfc.pdf --webpage   Application.path  /tfc.htm
  SHELL shll WAIT
  then:
  shll = lpr   Application.path  /tfc.pdf
  shell shll wait

 This is really cool dude :-) I'll print it and pin it on my wall, will
 certainly be used next time I've got to do something like this!

 By the way, htmldoc doesn't seem to be on my system, do you know where
 it comes from?

 Regards

 Rolf



 --
 Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
 Tap into the largest installed PC base  get more eyes on your game by
 optimizing for Intel(R) Graphics Technology. Get started today with the
 Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
 http://p.sf.net/sfu/intelisp-dev2dev
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Print html direct?

2010-11-24 Thread charlesg


Dimitris Anogiatis wrote:
 
 Hey guys,
 
 Does htmldoc have any UTF-8 support?
 

Looking at www.htmldoc.org I don't think there is UTF-8 support. I just use
it for formatting tables.

It is in the Ubuntu repository (sudo apt-get install htmldoc) but I don't
know about other distros.

rgds
-- 
View this message in context: 
http://old.nabble.com/Print-html-direct--tp30296474p30298482.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Print html direct?

2010-11-24 Thread Jorge CarriĆ³n
Hi:
Try wkhtmltopdf, in ubuntu repositories too... If you html code carry on the
Utf-8 esecification it works...

Goog Luck

2010/11/24 charlesg char...@pearceshardware.co.uk



 Dimitris Anogiatis wrote:
 
  Hey guys,
 
  Does htmldoc have any UTF-8 support?
 

 Looking at www.htmldoc.org I don't think there is UTF-8 support. I just
 use
 it for formatting tables.

 It is in the Ubuntu repository (sudo apt-get install htmldoc) but I don't
 know about other distros.

 rgds
 --
 View this message in context:
 http://old.nabble.com/Print-html-direct--tp30296474p30298482.html
 Sent from the gambas-user mailing list archive at Nabble.com.



 --
 Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
 Tap into the largest installed PC base  get more eyes on your game by
 optimizing for Intel(R) Graphics Technology. Get started today with the
 Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
 http://p.sf.net/sfu/intelisp-dev2dev
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user