Now then,
I need to take an rtf file and print to file as i need a pcl file generating. My thoughts were to just put the command through exec i.e.
exec("cmd PRINT c:\\test.txt /D: FILE");
However, this doesnt work for me. So i have tried using WSHscript as per below to see if i can get notepad to pop up just so i know i have something working, if it did i was going to plan on using vbs this way, but still to no avail, the bottom one is the last way i have tried.
$WshShell = new COM("WScript.Shell");
$WshShell->Run("notepad", 3, false);
any help greatly appreciated
cheers
'mi casa es su casa'
]-=tty0=-[
I need to take an rtf file and print to file as i need a pcl file generating. My thoughts were to just put the command through exec i.e.
exec("cmd PRINT c:\\test.txt /D: FILE");
However, this doesnt work for me. So i have tried using WSHscript as per below to see if i can get notepad to pop up just so i know i have something working, if it did i was going to plan on using vbs this way, but still to no avail, the bottom one is the last way i have tried.
$WshShell = new COM("WScript.Shell");
$WshShell->Run("notepad", 3, false);
any help greatly appreciated
cheers
'mi casa es su casa'
]-=tty0=-[