Two Pilots™    Home  |  Navigation  |  Site Map  |  Products  |  Download  |  Prices  |  For Partners  |  Support


All forums · Statistics · Search ·

Two Pilots forum / For software developers / Run HTML2PDF_PILOT from XP_CMDSHELL
Author Message
rameshmca12
Member
# Posted: 28 Aug 2010 05:46


HI

i am converting the HTML file to PDF by using HTML2PDF_PILOT.
i am run the command from sqlserver 2005 XP_CMDSHELL. (for example XP_CMDSHELL 'E:HTML2PDF_PILOT.EXE E:test.HTML E:test.pdf /ALL2ONE YES /MARGIN-LEFT 2 /MARGIN-RIGHT 2 /COMPRESS FLATE /PROTECT YES /PSIZE A4')

the html file having image in jpeg format. while converting to pdf the color depth of the image was getting reduced. the same command while running from command prompt its working fine.

HTML2PDF_PILOT version - 2.16.97.0

max.f
# Posted: 30 Aug 2010 08:21


Hello Ramesh,

First of all, install version 2.16.100 (http://www.colorpilot.com/html2pdf.html)
If it will not help, then send me please this HTML file and describe
in more details wtah is "2005 XP_CMDSHELL". Do you run it from another
computer? Or what?

--
Max Filimonov,
Two Pilots Support Team,
max.f@colorpilot.org

rameshmca12
Member
# Posted: 7 Sep 2010 01:22


I have run it from another system its working fine.
XP_CMDSHELL is a command to execute the dos commands from SQLServer.

max.f
# Posted: 13 Sep 2010 08:23


Hello Ramesh,
I need to see those documents: the original HTML and the resulting PDF (correct and incorrect) please.

--
Max Filimonov,
Two Pilots Support Team,
max.f@colorpilot.org

 

 

Powered by miniBB 2.0 RC7 © 2001-2004 Page creation time (sec.): 0.013

 

Page top