# AlivePDF printing without server side

**URL:** <https://forum.kirupa.com/t/alivepdf-printing-without-server-side/319281>\
**Category:** flash\
**Created:** [February 15, 2011, 9:51am UTC](https://forum.kirupa.com/t/alivepdf-printing-without-server-side/319281 "2011-02-15T09:51:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nitinmukesh](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@nitinmukesh](https://forum.kirupa.com/u/nitinmukesh)\
**Post date:** [February 15, 2011, 9:51am UTC](https://forum.kirupa.com/t/alivepdf-printing-without-server-side/319281/1 "2011-02-15T09:51:38Z")

</div>

Hi,

I am using AlivePDF to generate/save pdf on local machine which is working fine.

```php

var savePDF:PDF;
var bytes:ByteArray;
var f:FileReference = new FileReference();

savePDF = new PDF (Orientation.PORTRAIT, Unit.POINT, Size.LETTER);

for (var i:int = 0; i <numPages; i++) {
    //add all pages
}

bytes = savePDF.save( Method.LOCAL);
f.save(bytes, "abc.pdf");

```

I am looking for a solution through which I can print the pdf without using any server side technology.

Any help is appreciated.
