Difference between revisions of "Printing"

From Lazarus wiki
Jump to navigationJump to search
(Add page template for language bar and move categories to template)
 
Line 6: Line 6:
  
 
* [[Printer4Lazarus]] package included with Lazarus.
 
* [[Printer4Lazarus]] package included with Lazarus.
* [[LazReport Documentation]] LazReport (depends on Printer4Lazarus package) allows creating reports that can be printed on any printer supported by the OS.
+
* [[LazReport Documentation]]: LazReport (depends on Printer4Lazarus package) allows creating reports that can be printed on any printer supported by the OS.
* [[Using the printer]] Tutorial on using printing in Lazarus, including painting of the printer "canvas".
+
* [[Using the printer]]: Tutorial on using printing in Lazarus, including painting of the printer "canvas".
* [[Hardware Access]] Byte level control over what gets sent over which physical connection.
+
* [[Hardware Access]]: Byte level control over what gets sent over which physical connection.
  
* [http://www.freepascal.org/docs-html/rtl/printer/index.html www.freepascal.org/docs-html/rtl/printer/index.html] Turbo Pascal style unit that gives cross-platform but limited access (basically printing text files) to printers.
+
* [http://www.freepascal.org/docs-html/rtl/printer/index.html www.freepascal.org/docs-html/rtl/printer/index.html]: Turbo Pascal style unit that gives cross-platform but limited access (basically printing text files) to printers.
  
 
== Platform-specific code ==
 
== Platform-specific code ==

Latest revision as of 19:16, 7 January 2024

English (en) polski (pl)

Using the printer in FPC and Lazarus can be done from high levels of abstraction down to being able to control what bytes get sent to the printer.

From high to low abstraction level:

  • Printer4Lazarus package included with Lazarus.
  • LazReport Documentation: LazReport (depends on Printer4Lazarus package) allows creating reports that can be printed on any printer supported by the OS.
  • Using the printer: Tutorial on using printing in Lazarus, including painting of the printer "canvas".
  • Hardware Access: Byte level control over what gets sent over which physical connection.

Platform-specific code

There may also be platform-specific code snippets, and API samples for the various OSes (FreeBSD, Linux, macOS, Windows etc) on the relevant wiki pages. If so, they can be linked to here.

macOS

See also