Wah saya juga belum pernah coba di printer lq-1170, atau kamu coba pake cara
berikut, dengan cara menentukan posisi tab
rumus untuk menentukan posisi tab:
var = (lebar_kolom - panjang_karakter) / 2
contoh, untuk kertas A4 atau kuarto saya asumsikan lebar kolom 80
'START CODE
NamaPT = "PT. BLA BLA"
TabHeader = (80 - LEN(NamaPT)) / 2
Print #1, Tab(TabHeader); "* " & NamaPT & " *"
"chai.chang.an" <[EMAIL PROTECTED]> wrote:
Hallo Pak Aries,
setelah saya coba di lx-300 sih mau tengah tapi di lq-1170 ngak mau, kira2
yang mana harus diubah. boleh ngak dijelasin perintahnya
thank's
----- Original Message -----
From: "aries" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, September 15, 2006 8:50 AM
Subject: Re: [indoprog-vb] cetak judul di tengah kertas
> coba kodenya diubah menjadi
>
> Print #1, Chr$(&H1B); "a"; Chr$(1);
> Print #1, judul.text
>
> "chai.chang.an" <[EMAIL PROTECTED]> wrote:
> Hallo Pakar2 vb,
> gimana cara mencetak judul di tengah-tengah kertas, dengan panjang judul
> suka berubah
> misalya
> print #3, judul.text
>
> thank's
>
---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail.
[Non-text portions of this message have been removed]
Untuk berhenti berlangganan kirim email kosong ke : [EMAIL PROTECTED]
Bagi terjangkit virus lokal, zip virus tersebut
dan kirim ke [EMAIL PROTECTED], kami
akan membuat removalnya untuk anda.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/indoprog-vb/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/indoprog-vb/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/