Jump to content


Photo

Printing


  • Please log in to reply
4 replies to this topic

#1 Czar

Czar
  • Members
  • 81 posts

Posted 19 May 2017 - 02:06 AM

I am trying to work out how we can print.

 

Print reports, print formatted text, print PDFs etc

 

I have searched but I can find no examples or source that seems to do this. In delphi we use fastreports quite a bit.

 

Can someone point me in the right direction?


  • AntoineCipt likes this

#2 Nico Wouterse

Nico Wouterse
  • Moderators
  • 212 posts
  • LocationAustralia

Posted 19 May 2017 - 02:58 AM

I find it easiest to produced a pdf file and print that

 

An older post on that :

http://forums.smartm...ments/?hl=jspdf

 

See if that helps or i can send you some more code

 

Cheers


Nico Wouterse

#3 Czar

Czar
  • Members
  • 81 posts

Posted 21 May 2017 - 11:41 PM

Thanks, I was investigating that avenue.Seems feasible, although I will still need to figure out how to send the pdf to the printer.



#4 Nico Wouterse

Nico Wouterse
  • Moderators
  • 212 posts
  • LocationAustralia

Posted 22 May 2017 - 02:46 AM

you can create a pfd and save to file (in code) or display in a popup and print from there

 

There also seems to be an autoPrint plugin to send to printer directly

https://github.com/M...sPDF/issues/335


Nico Wouterse

#5 Czar

Czar
  • Members
  • 81 posts

Posted 22 May 2017 - 01:04 PM

Thanks Nico, I will check that out tomorrow






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq