BBC BASIC for Windows
« Printer Turkish Character Problem »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:58pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Printer Turkish Character Problem  (Read 490 times)
ae34tr
New Member
Image


member is offline

Avatar




PM


Posts: 5
xx Printer Turkish Character Problem
« Thread started on: Jul 18th, 2011, 06:44am »

I post my problem display Turkish characters as the printer does not Turkish

structured and there is no problem in other programs set up the printer with only the BBC Basic program, this error is
I'll be glad to help if you

Ahmet Eksioglu
ae34tr@hotmail.com
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: Printer Turkish Character Problem
« Reply #1 on: Jul 18th, 2011, 08:42am »

on Jul 18th, 2011, 06:44am, ae34tr wrote:
I post my problem display Turkish characters as the printer does not Turkish

Check out the supplied example program UNICODEP.BBC (in the EXAMPLES\GENERAL folder). That shows how to print Unicode text to your printer using BBC BASIC.

Also note the supplied add-in utility Paste Unicode which is handy for pasting foreign-language characters into your program. For example, you could try replacing the Greek or Russian text with some Turkish text.

Richard.
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: Printer Turkish Character Problem
« Reply #2 on: Jul 18th, 2011, 2:52pm »

Here's an example of printing Turkish text (copy-and-paste it into BB4W):

Code:
      VDU 23,22,720;480;8,16,16,128+8 : REM Select UTF-8 mode
      
      *PRINTERFONT Times New Roman,24
      *MARGINS 10,10,10,10
      
      VDU 2,21 : REM Enable printer, disable screen
      
      turkish$ = "Başlılara baş eğdirmiş, dizlilere diz çöktürmüş."
      
      PRINT turkish$
      
      VDU 12,6,3 : REM Eject sheet, enable screen, disable printer 

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls