APPLICATIONSPAO/PRESSE ★ PRINTER COMMANDS (AMSTRAD COMPUTER USER) ★

Printer Commands (Amstrad Computer User)Applications Pao/presse
★ Ce texte vous est présenté dans sa version originale ★ 
 ★ This text is presented to you in its original version ★ 
 ★ Este texto se presenta en su versión original ★ 
 ★ Dieser Text wird in seiner Originalfassung präsentiert ★ 

How often have you written a programme foryour printer to display data, for say a spreadsheet, and wished there was some easier method of telling the printer what to do, without all those messy CHR$(27); etc, commands having to be laboriously typed in?

Do you know how to make your printer print a continuous unbroken line?

The small listing below shows how to do all this, it is however written for EPSON compatible printers, but for other printers your hand-book should show what will need to be amended.

Line 10 - Defines string variables to get rid of as many $ signs as possible. The letter “0” is reserved exclusively for printer command variables.

Line 30 - Variable: 0 becomes a Printer TAB symbol. OA and OB are symbols for Printer templates.

Line 40 - Variable OX and OY are Printer symbols for: Underline ON and Underline OFF.

Line 110-Sets Printer to Condensed print. This enables me to use 127 columns on normal 80 column paper.

Line 120 - Sets up Printer TABS

Line 600 - Is a small sub-routine to print lines. It does this by printing 127 underlined spaces. The value of E was made 127 in line 140.

Line 210 - Prints a double ruled line.

ACU

★ PUBLISHER: Amstrad Computer User
★ YEAR: 1991
★ CONFIG: 64K + AMSDOS
★ LANGUAGE:
★ LiCENCE: LISTING
★ AUTHOR: Richard WILLIAMS
 

★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listing:
» Printer  Commands    (Amstrad  Computer  User)    ENGLISHDATE: 2023-12-01
DL: 65
TYPE: ZIP
SiZE: 4Ko
NOTE: 40 tracks
.HFE: Χ
.DSK: √

★ AMSTRAD CPC ★ A voir aussi sur CPCrulez , les sujets suivants pourront vous intéresser...

Lien(s):
» Applications » Scroll Text (Amstrad Computer User)
» Applications » RSX Scroller v4.0
» Applications » Scrolls Lacaux (Microstrad)
» Applications » RSX SCROLL (Moj Micro)
» Applications » Editeur de Scrolling
» Applications » Magic Vertical Scroll (CPC Magazin)
Je participe au site:
» Vous avez des infos personnel ?
» Vous avez remarqué une erreur dans ce texte ?
» Aidez-nous à améliorer cette page : en nous contactant via le forum ou par email.

CPCrulez[Content Management System] v8.7-desktop/c
Page créée en 623 millisecondes et consultée 194 fois

L'Amstrad CPC est une machine 8 bits à base d'un Z80 à 4MHz. Le premier de la gamme fut le CPC 464 en 1984, équipé d'un lecteur de cassettes intégré il se plaçait en concurrent  du Commodore C64 beaucoup plus compliqué à utiliser et plus cher. Ce fut un réel succès et sorti cette même années le CPC 664 équipé d'un lecteur de disquettes trois pouces intégré. Sa vie fut de courte durée puisqu'en 1985 il fut remplacé par le CPC 6128 qui était plus compact, plus soigné et surtout qui avait 128Ko de RAM au lieu de 64Ko.