123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /* All strings from EscposPrintBufferTest are included below- These are fully supported
  3. * on the default profile, so you can use them to test modified profiles (using the wrong
  4. * profile for a printer produces mojibake) */
  5. $inputsOk = array(
  6. "Danish" => "Quizdeltagerne spiste jordbær med fløde, mens cirkusklovnen Wolther spillede på xylofon.\n",
  7. "German" => "Falsches Üben von Xylophonmusik quält jeden größeren Zwerg.\n",
  8. "Greek" => "Ξεσκεπάζω την ψυχοφθόρα βδελυγμία\n",
  9. "English" => "The quick brown fox jumps over the lazy dog.\n",
  10. "Spanish" => "El pingüino Wenceslao hizo kilómetros bajo exhaustiva lluvia y frío, añoraba a su querido cachorro.\n",
  11. "French" => "Le cœur déçu mais l'âme plutôt naïve, Louÿs rêva de crapaüter en canoë au delà des îles, près du mälström où brûlent les novæ.\n",
  12. "Irish Gaelic" => "D'fhuascail Íosa, Úrmhac na hÓighe Beannaithe, pór Éava agus Ádhaimh.\n",
  13. "Hungarian" => "Árvíztűrő tükörfúrógép.\n",
  14. "Icelandic" => "Kæmi ný öxi hér ykist þjófum nú bæði víl og ádrepa.\n",
  15. "Latvian" => "Glāžšķūņa rūķīši dzērumā čiepj Baha koncertflīģeļu vākus.\n",
  16. "Polish" => "Pchnąć w tę łódź jeża lub ośm skrzyń fig.\n",
  17. "Russian" => "В чащах юга жил бы цитрус? Да, но фальшивый экземпляр!\n",
  18. "Turkish" => "Pijamalı hasta, yağız şoföre çabucak güvendi.\n",
  19. "Japanese (Katakana half-width)" => implode("\n", array("イロハニホヘト チリヌルヲ ワカヨタレソ ツネナラム", "ウイノオクヤマ ケフコエテ アサキユメミシ エヒモセスン")) . "\n",
  20. "Vietnamese" => "Tiếng Việt, còn gọi tiếng Việt Nam hay Việt ngữ, là ngôn ngữ của người Việt (người Kinh) và là ngôn ngữ chính thức tại Việt Nam.\n"
  21. );
  22. /*
  23. * These strings are not expected to print correctly, if at all, even on an Epson printer. This is due to a mix of
  24. * escpos driver, printer, and PHP language support issues.
  25. *
  26. * They are included here as a collection of things not yet implemented.
  27. */
  28. $inputsNotOk = array(
  29. "Thai (No character encoder available)" => "นายสังฆภัณฑ์ เฮงพิทักษ์ฝั่ง ผู้เฒ่าซึ่งมีอาชีพเป็นฅนขายฃวด ถูกตำรวจปฏิบัติการจับฟ้องศาล ฐานลักนาฬิกาคุณหญิงฉัตรชฎา ฌานสมาธิ\n",
  30. "Japanese (Hiragana)" => implode("\n", array("いろはにほへとちりぬるを", " わかよたれそつねならむ", "うゐのおくやまけふこえて", "あさきゆめみしゑひもせす")) . "\n",
  31. "Japanese (Katakana full-width)" => implode("\n", array("イロハニホヘト チリヌルヲ ワカヨタレソ ツネナラム", "ウヰノオクヤマ ケフコエテ アサキユメミシ ヱヒモセスン")) . "\n",
  32. "Arabic (RTL not supported, encoding issues)" => "صِف خَلقَ خَودِ كَمِثلِ الشَمسِ إِذ بَزَغَت — يَحظى الضَجيعُ بِها نَجلاءَ مِعطارِ" . "\n",
  33. "Hebrew (RTL not supported, line break issues)" => "דג סקרן שט בים מאוכזב ולפתע מצא לו חברה איך הקליטה" . "\n"
  34. );