Hello guys,
The title is pretty straight forward.
Let`s assume I have a Base64 string which came from a PDF.
How do I send it directly to the screen or to any printer?
Right now, I have a code that convert this Base64 to PDF and send the file to the user, but I want to print it directly.
public void convertBase64ToPdf()
{
System.IO.MemoryStream memoryStream = Binary::constructFromContainer(BinData::loadFromBase64(
base64Label)).getMemoryStream() as System.IO.MemoryStream;
File::SendFileToUser(memoryStream, 'test.pdf');
}
Any ideas?
Thanks