General information
Category:
Windows API functions
Try this:
*PrinterName = getprinter()
?ShellExecute(0, 'printto', FileName, '"'+PrinterName+'"', 0, 1)
>Hello All,
>
>I use ShellExecute to print a HTML file using the following syntax
>
>=Shellexecute(0,"Print",cFileName,"","",1)
>
>Can anyone tell me how to suppress the printer dialog box and just send it to the default printer??
>
>Thanks in advance
>
>Bob
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only