# Mbs DynaPdf: Print without Adobe Reader on Windows

**URL:** <https://forum.xojo.com/t/mbs-dynapdf-print-without-adobe-reader-on-windows/15435>\
**Category:** Extras\
**Created:** [April 2, 2014, 4:33pm UTC](https://forum.xojo.com/t/mbs-dynapdf-print-without-adobe-reader-on-windows/15435 "2014-04-02T16:33:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![olivierV](https://forum.xojo.com/letter_avatar_proxy/v4/letter/o/919ad9/32.png) [@olivierV](https://forum.xojo.com/u/olivierV)\
**Post date:** [April 2, 2014, 4:33pm UTC](https://forum.xojo.com/t/mbs-dynapdf-print-without-adobe-reader-on-windows/15435/1 "2014-04-02T16:33:02Z")

</div>

Hello,

It would be very convenient to print PDF directly without need of third party software (adobe reader …), especially on Windows.

On the DynaPdf web site it is written:

[quote]  
is it possible to print PDF files with DynaPDF?

Yes and no. It is of course possible to render the pages and to send the images to the printer. Such a print spool is large and more suitable for simple applications.  
A real print solution will probably available later, but it can take more than 12 months until such a solution will be available.[/quote]

Is that progress? this would be a big asset for DynaPDF.

Printing the PDF into images has the merit to exist, but it is less convenient, quality is disastrous on some printers. And to increase the quality a bit, use a trick: create a large format, and then reduce it to print. But the quality is still _very average_ and the file sent to the spooler is _huge_.

---

<div class="post-metadata">

**Author:** ![Christian\_Schmitz](https://forum.xojo.com/user_avatar/forum.xojo.com/christian_schmitz/32/158_2.png) [@Christian\_Schmitz](https://forum.xojo.com/u/Christian_Schmitz)\
**Post date:** [April 2, 2014, 4:57pm UTC](https://forum.xojo.com/t/mbs-dynapdf-print-without-adobe-reader-on-windows/15435/2 "2014-04-02T16:57:30Z")

</div>

Sorry, nothing seen so far from dynaforms.

---

<div class="post-metadata">

**Author:** ![Jorge\_Brito](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/13edae/32.png) [@Jorge\_Brito](https://forum.xojo.com/u/Jorge_Brito)\
**Post date:** [April 2, 2014, 7:27pm UTC](https://forum.xojo.com/t/mbs-dynapdf-print-without-adobe-reader-on-windows/15435/3 "2014-04-02T19:27:49Z")

</div>

You can print silently (direct to print without dialogs or preview) a PDF generated by DynaPdf or whatever other PDF class, using Sumatra, a free utility with the following code:

sh=new Shell  
sh.Mode=0  
If TargetWin32 Then  
sh.Execute(“c:\reports\sumatrapdf.exe -print-to-default c:\reports” +“reportname.pdf”)  
else  
sh.Execute “lp //home/reports/”+“reportname.pdf”  
End if  
If sh.errorCode \<\> 0 then  
MsgBox "Print error: " + Str(sh.errorCode)  
end if  
sh.Close

---

<div class="post-metadata">

**Author:** ![olivierV](https://forum.xojo.com/letter_avatar_proxy/v4/letter/o/919ad9/32.png) [@olivierV](https://forum.xojo.com/u/olivierV)\
**Post date:** [April 3, 2014, 4:44am UTC](https://forum.xojo.com/t/mbs-dynapdf-print-without-adobe-reader-on-windows/15435/4 "2014-04-03T04:44:52Z")

</div>

Thank you Jorge!

It is a good idea! In my case, I need to print data without writing a file (even a temporary file), then it will not work, but we’re almost there.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 5:09pm UTC](https://forum.xojo.com/t/mbs-dynapdf-print-without-adobe-reader-on-windows/15435/5 "2020-10-29T17:09:21Z")

</div>


