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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -