Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
std::ofstream OFile; // stream set up
OFile.open("LPT1:", std::ios::app); // open printer for append
if (!OFile)
{
// Something went wrong
Application->MessageBox("Could not open file for processing!", "File Error", MB_OK); // might not work in 4.52
}
else
{
// Print
OFile << "Printing something!" << std::endl;
}