Tried the following but got Adobe on the taskbar. Is this way the best to directly print a PDF from a program.
Bob Mechler
Code:
#INCLUDE "WIN32API.INC" FUNCTION PBMAIN DIM zfName AS ASCIIZ * %MAX_PATH MSGBOX("Ready") zfName = "text_demo.pdf" ShellExecute 0, "print", zfName, "", "", %SW_SHOW END FUNCTION
Comment