delphi - What are the parameters for "printto" using shellexecute? -
i'm using delphi's winapi shellexecute try print user selected printer , not default printer. i'm trying figure out syntax command using printto verb.
what example shell execute statement if wanted print manual.pdf hp laser jet 4 ip address 192.168.1.49?
(this example, if can me out, can take there)
you need pass network network address of printer in arguments parameter.
shellexecute( windowhandle, 'printto', pchar(documentname), pchar(printernetworkaddress), nil, sw_hide );
Comments
Post a Comment