Skip to content
Bahasa Indonesia

Print Templates

Print Templates define custom layouts for stock transaction print pages. A template can be assigned to a transaction category, so different transaction categories can use different print layouts.

Open Manage -> Others -> Print Templates. The role may have separate permissions to view, create, update, or delete print templates.

What the List Shows

Print template list

ColumnMeaning
NameTemplate name.
StatusActive or inactive.
Page SizePage size such as A4 or A6.
UsageNumber of transaction categories using the template.

Create or Update a Template

Print template editor

The editor contains these main settings:

Field / ControlMeaning
NameTemplate display name.
DescriptionInternal description for admins.
Page SizePhysical output size. Current editor options include A4 and A6.
StatusActive templates can be selected by transaction categories.
MarginsTop, right, bottom, and left page margins in millimeters.
Add Section / Add Row / Add BlockBuilds the printable structure.
Show PreviewOpens a live preview using sample transaction context.

Use a Template in Transactions

  1. Create or update a print template.
  2. Keep the template Active.
  3. Open Manage -> Transaction -> Transaction Category.
  4. Assign the template in the transaction category.
  5. Open a completed transaction and select Print.

KartuStok resolves print output from the transaction category. If no active template is assigned, the transaction print page uses the default print behavior.

Practical Example: Receipt Form

A company wants receipts to show company name, document header, item table, and signature area. Create a template named Receipt Form, choose A4 or A6, add sections and blocks, preview it, then assign it to the receipt transaction category.

Common Problems

ProblemFix
Wrong layout appearsCheck the transaction category print template assignment.
Template cannot be selectedConfirm the template is active and not deleted.
Print preview looks too tightAdjust page size and margins.
Price is missing in printed item linesCheck Enable Price and the role's Price row View permission.