Jump to content
stefanus

[Ask] Bagaimana cara ganti ukuran kertas faktur/invoice?

Recommended Posts

Saya ingin mencetak faktur dengan ukuran 1/2 dari ukuran letter, jadi untuk continuous form yang 8,5" x 11" dapat digunakan untuk mencetak 2 lembar faktur. Adakah yang mengetahui bagaimana cara mengubah setting ukuran kertasnya?

Share this post


Link to post
Share on other sites

memungkinkan kyknya, presta buat export ke PDF pake FPDF (ada di folder \tools\fpdf) & wrapper buat generate PDF ada di classes\PDF.php

 

kalo dicek kodenya, perhatiin ada parameter format (defaultnya A4) mungkin tinggal maen2in aja formatnya.

 

public function __construct($orientation = 'P', $unit = 'mm', $format = 'A4')

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×