Topic : TOS - The Operating System
Author :
Version : tos.hyp (December 19, 2008)
Subject : Programmieren/Atari
Nodes : 3010
Index Size : 93790
HCP-Version : 5
Compiled on : Atari
@charset : atarist
@lang :
@default : Title
@help :
@options : +g -i -s +x +zz -t4
@width : 70
View Ref-File4.10.3 Setprt TOS Name: »Setprinter« - Initialize the printer.
Opcode: 33
Syntax: int16_t Setprt( int16_t config );
Description: The XBIOS routine Setprt sets or reads the current
settings of the printer. The following bits can be
specified in the parameter config:
Bit Meaning
0 Dot-matrix or daisywheel printer
1 Monochrome or colour
2 Epson, or Atari printer
3 NLQ or Draft print.
4 Centronics or RS-232 port.
5 Continuous paper or single sheet.
With config = -1 the current configuration will be
returned. All further bits are reserved for future use.
Note: Unfortunately, the settings made by this function
will be ignored by almost all parts of the operating
system. So in one's own programs one ought to evaluate
at least the choice of port as well as the type of
paper.
Return value: The function returns the old configuration.
Availability: All TOS versions.
Group: Printer functions See also: Binding