PHP と LPR を使用して、tec プリンターにラベルを送信したいと考えています。一部の部品の調整を除いて、すべてが正常に機能しています。私のコード/ラベルはそのままです:
{D0478,0600,0400,0640|}
{C|}
{PC01;0040,0135,05,05,J,00,B=Item number: xxxxxx|}
{PC02;0040,0170,05,05,I,00,B= Brand Model ExtraInfo|}
{PC03;0040,0205,05,05,I,00,B=Optional Second Line|}
{PC04;0465,0270,05,05,J,00,B=Eurosign?? Price|}
{PC04;0380,0315,05,05,I,00,B=excl. btw (vat)|}
{XS;I,0001,0002C6101|}
したがって、[ESC]PC のマニュアルには次のように書かれています。
完全なマニュアルはここにあります (コンテンツは 50 ~ 56 ページにあります): マニュアル
[ESC] PCaaa; bbbb, cccc, d, e, ff (,ghh), ii, j (, Jkkll) (, Mm) (, noooooooooo)(, Zpp) (, Pq)(=rrr------rrr) [LF ] [ヌル]
...最初の部分をスキップします...
J: キャラクターの帰属
B: Black character
W (aabb): Reverse character
aa: No. of dots from the character string to the end
of the black background in the horizontal direction
bb: No. of dots from the character string to the end
of the black background in the vertical direction
aa: 01 to 99 (in units of dots)
bb: 01 to 99 (in units of dots)
F (aabb): Boxed character
aa: No. of dots from the character string area to
the box in the horizontal direction
bb: No. of dots from the character string area to
the box in the vertical direction
aa: 01 to 99 (in units of dots)
bb: 01 to 99 (in units of dots)
C (aa): Stroked out character
aa: No. of dots from the character string area to
the end of the stroke
aa: 01 to 99 (in units of dots)
* Descriptions in parentheses are omissible.
(If omitted, it is character magnification (horizontal or
vertical magnifications, whichever is larger) × 6 dots.)
...またスキップ...
Pq: アライメント
(Omissible, When omitted, the alignment is set to left.)
q: Designates the character position
1: Left
2: Center
3: Right
4aaaa: Justification
aaaa: Character string area of X direction
0050 to 1040 (in 0.1 mm units)
5aaaabbbcc: Automatic line feed
aaaa: Character string area of X direction
0050 to 1040 (in 0.1 mm units)
bbb: Line feed spacing
010 to 500 (in 1 mm units)
cc: Number of lines
01 to 99
rrr------rrr: Data string to be printed (Omissible)
Max. 255 digits
完全なマニュアルはここにあります (コンテンツは 50 ~ 56 ページにあります): マニュアル
さて、すべてのテキストの後。テキストを正しく配置するにはどうすればよいですか?
おまけの質問として ;)
€(ユーロ)記号の使い方を教えてください。
マニュアルには B0H を使用するように書かれています。試してみましたが、まだ解決策はありません。
前もって感謝します!