เพิ่ม/ลดขนาดตัวอักษรได้หรือไม่

หากท่านใดมีข้อสงสัยหรือคำถามเกี่ยวกับการใช้งานโปรแกรม Express สามารถเข้ามาสอบถามได้ที่นี่ครับ

Moderator: Sutas, CO-Admin, Global Moderator

เพิ่ม/ลดขนาดตัวอักษรได้หรือไม่

โพสต์โดย gordai » ศุกร์ ส.ค. 28, 2009 10:49 am

การออกใบแจ้งหนี้ระบบ express สามารถเพิ่มหรือลดขนาดตัวอักษรได้หรือไม่
ถ้าทำได้ ขอทราบ Code ที่ต้องใช้ค่ะ
gordai
Newbie
Newbie
 
โพสต์: 19
ลงทะเบียนเมื่อ: พฤหัสฯ. ส.ค. 27, 2009 9:59 am

Re: เพิ่ม/ลดขนาดตัวอักษรได้หรือไม่

โพสต์โดย (=_=)"nongnina » ศุกร์ ส.ค. 28, 2009 11:04 am

\027\033\000      10 ตัวนิ้ว เป็นขนาดใหญ่ที่สุดค่ะ
\027\033\001      12 ตัวนิ้ว
\018\027\103      15 ตัวนิ้ว
\027\033\004      17 ตัวนิ้ว
\027\033\005      20 ตัวนิ้ว


;D :D ;)
ภาพประจำตัวสมาชิก
(=_=)"nongnina
Chat VIP
Chat VIP
 
โพสต์: 191
ลงทะเบียนเมื่อ: เสาร์ ก.ค. 21, 2007 10:13 am

Re: เพิ่ม/ลดขนาดตัวอักษรได้หรือไม่

โพสต์โดย gordai » ศุกร์ ส.ค. 28, 2009 11:14 am

แล้วต้องวาง Code ไว้ตรงไหนของบรรทัดคะ
เช่น ต้องการให้ หมายเหตุตัวเล็กลง เป็นต้น
gordai
Newbie
Newbie
 
โพสต์: 19
ลงทะเบียนเมื่อ: พฤหัสฯ. ส.ค. 27, 2009 9:59 am

Re: เพิ่ม/ลดขนาดตัวอักษรได้หรือไม่

โพสต์โดย (=_=)"nongnina » ศุกร์ ส.ค. 28, 2009 11:30 am

ต้องดูบรรทัด Print Control=\027\033\001 เป็นหลักก่อนนะค่ะว่าเป็นเท่าไหร่เช่นในที่นี้คือ 12 ตัวนิ้วนะค่ะ อยากให้หมายเหตุตัวเล็กลงนะค่ะ ก้อต้องใช้สูตร 15 ตัวนิ้วค่ะ \018\027\103

Su:\018\027\103  หมายเหตุ                              \027\033\001                                               
Su:\018\027\103 ~HREM1                                \027\033\001           
Su:\018\027\103 ~HREM2                                \027\033\001                                     
Su:\018\027\103 ~HREM3                                \027\033\001 


;D ;) :D
ลองพิมพ์แบบทดสอบออกเครื่องพิมพ์ดูนะค่ะ
ภาพประจำตัวสมาชิก
(=_=)"nongnina
Chat VIP
Chat VIP
 
โพสต์: 191
ลงทะเบียนเมื่อ: เสาร์ ก.ค. 21, 2007 10:13 am

Re: เพิ่ม/ลดขนาดตัวอักษรได้หรือไม่

โพสต์โดย taeinthamara » พฤหัสฯ. ต.ค. 08, 2009 10:44 am

XXX\XXX\XXX อธิบายให้หน่อยครับว่ามันเป็นโค๊ตอะไร
taeinthamara
Newbie
Newbie
 
โพสต์: 9
ลงทะเบียนเมื่อ: พุธ ต.ค. 07, 2009 4:44 pm

Re: เพิ่ม/ลดขนาดตัวอักษรได้หรือไม่

โพสต์โดย savek » พฤหัสฯ. ต.ค. 08, 2009 11:07 am

เป็นคำสั่งที่ใช้กับเครื่องพิมพ์ของ Epson ครับ (ซึ่งก็ถูกนำไปใช้เป็นมาตรฐานของเครื่องพิมพ์ทั่วๆ ไปด้วยครับ)

อย่าง \027\033 ก็เป็นคำสั่งในการปรับขนาดตัวอักษรครับ ส่วนคำสั่งอื่นๆ ก็ตามนี้นะครับ :)

Epson Control Codes

Epson Printer Codes were the industry standard through most of the 80s when DOS programs were in their prime.  Most DOS programs have an option to choose an Epson compatible printer.

The following codes are supported: (ascii codes are displayed here in decimal format)

Remenber that these prtinter codes are used to determine font characteristics when DOS Printer creates the graphic images for your report.  They are not passed to your printer.  You should set your DOS software to use EPSON printer codes no matter what Windows printer or Printer driver you are using !

013 010  =  New Line  (This can be changed to 010 013 - See Setup | Advanced Options)

012  = New Page

015 = Compressed on (15 cpi)
018 = Compressed Off

027 033 n where n =
  000 - Pica  (10 cpi, Normal Font)  This is "normal text" for most printers
              001 - Elite  (12 cpi, Normal Font)
  004 - Compressed (15 cpi, Normal Font)
              016 - Pica  (10 cpi, Bold Font)
  020 - Elite  (12 cpi, Bold Font)

027 045 001 - Underline On
027 045 000 - Underline Off

027 052 - Italics On
027 053 - Italics Off

027 069 - Bold On
027 070 - Bold Off

027 077 - Elite
027 080 - Pica
027 080 015 - Compressed Pica (17 cpi)


027 130 001 - Print the report in Landscape (can occur antwhere within report)

อ้างอิง http://www.dsbglobal.com/dosprinter/hel ... ts0008.htm
ภาพประจำตัวสมาชิก
savek
Administrator
Administrator
 
โพสต์: 12463
ลงทะเบียนเมื่อ: พฤหัสฯ. พ.ย. 15, 2007 11:04 am


ย้อนกลับไปยัง ถาม-ตอบปัญหาเกี่ยวกับโปรแกรม Express

ผู้ใช้งานขณะนี้

กำลังดูบอร์ดนี้: Bing [Bot], Google [Bot] และ บุคคลทั่วไป 19 ท่าน