Hello,
I am developing a project for a small company where one of the tasks is to print out a PDF document that is part of the program.
That means: The PDF is there and can be viewd in the browser widget, it only has to be sent to a printer.
Is there a way to do this without launching the PDF in an external viewer? And is there a way to do the same in an iOS-app?
I appreciate any idea.
Kroka
Sending a PDF to printer
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Sending a PDF to printer
"irgendwas is immer"
Re: Sending a PDF to printer
Every OS has it's code to print directly a PDF. On Mobile devices you can't for security reasons, you must launch an app with permission to communicate with a printer... it's a mess.
On Linux:
On Windows install RawFilePrinter.exe and then
On Mac
On Linux:
Code: Select all
put shell("lpr myFile.pdf")
Code: Select all
put shell("RawFilePrinter.exe -p " & quote & "c:\Users\Me\Desktop\mypdffile.pdf" & space & quote & "Canon Printer" & quote ")
Code: Select all
put shell("lpr myFile.pdf")
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: Sending a PDF to printer
I am looking for a solution too. i did convert PDF to PNG using online free Converter https://onlineconvertfree[dot]com and now i want to send the PNG mage to printer. not sure how to go about it.