120 likes | 273 Views
Mastering Printing. Printing Basics:. Printer Control Options Server-Side Printing Client-Side Printing WinPrint for Windows Printing Appx_print for Unix printing. Mastering Printing. Printer Control Options:. Controls printer initialization Controls report queuing
E N D
Printing Basics: • Printer Control Options • Server-Side Printing • Client-Side Printing • WinPrint for Windows Printing • Appx_print for Unix printing Mastering Printing
Printer Control Options: • Controls printer initialization • Controls report queuing • Processed by winprint/appx_print • Can be set on a Printer • Can be set on a Form • Can be set at Runtime Mastering Printing
Server-Side Printing: • Uses winprint.exe on Windows • Uses appx_print on Unix • Uses server printer subsystem • Printers are viewed from server • Printer & Form Options • APPX_PRT_SCRIPT= Mastering Printing
Client-Side Printing: • Uses winprintdll.dll on Windows • Uses appx_print on Unix • Uses client printer subsystem • Printers are viewed from client • Printer & Form Options • Client/Server printer override options Mastering Printing
WinPrint Options: • Run with no arguments for options • The –raw option for total control • -interactive for user control • -pitch is really a point size • Not all print driver support all options • Written in C and is Open source Mastering Printing
Appx_print Options: • -? or --help for usage help • Uses new “filter” scripts • Generates extensive logging • Auto-adapts to lp, lpr, ulp • Written in “sh” and is Open source Mastering Printing
Appx_print Filters: • -? or --help for usage help • Stored in appx/data/filters • Form Options go to filter script • Printer Options go to spooler • Written in “sh” and are Open source • Are set in Appx as FORMAT option Mastering Printing
MPAGE Filter Options: • -orientation=portrait/landscape • -pitch=# Characters/Inch • -lpi=# Lines/Inch • -vsi=# Vert. Space 1/48 of inch • -lpp=# Lines per Page • Any valid “mpage” argument Mastering Printing
PCL Filter Options: • -orientation=portrait/landscape • -pitch=# Characters/Inch • -lpi=# Lines/Inch • -vsi=# Vert. Space 1/48 of inch • -lpp=# Lines per Page Mastering Printing
Appx_print Logging: • /tmp/appx_print.last • Logs EVERYTHING it does • Only logs the last print request Mastering Printing
Questions? Mastering Printing