InfoPath 2003 PrintOut() - PrinterSettings

P

Philipp

I need to print a InfoPath 2003 SP2 form. I do this in jscript with
the "PrintOut()" command. But this always prints on the default
printer.
Is there a possibility to run the normal print dialog?
 
K

Kalyan G Reddy MVP (GGK Tech)

Hello

The following is an example of the printerSpecificSettings attribute as it
is used in the printSettings element:

<xsf:printSettings
orientation="landscape"
header="&Pqsdf"
footer="&D"
printerName="\\printserver\printer"
paperSource="Auto Select"
paperSize="Envelope DL"
topMargin="0.8"
leftMargin="0.8"
bottomMargin="0.8"
rightMargin="0.8"
marginUnitsType="in"
copies="2"
collate="no"
pageRangeStart="1"
pageRangeEnd="1"
printerSpecificSettings="name of file that contains printer-specific
settings">
<xsf:header>
<font>
<div>&Pqsdf</div>
</font>
</xsf:header>
<xsf:footer>
<font>
<div>&D</div>
</font>
</xsf:footer>
</xsf:printSettings>

I hope this is helpful
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top