Upload
kathleen-andrews
View
234
Download
0
Tags:
Embed Size (px)
Mastering Printing
Mastering Printing
• Printer Control Options
• Server-Side Printing
• Client-Side Printing
• WinPrint for Windows Printing
• Appx_print for Unix printing
Printing Basics:
Mastering Printing
• 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
Printer Control Options:
Mastering 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=
Server-Side Printing:
Mastering 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
Client-Side Printing:
Mastering Printing
• 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
WinPrint Options:
Mastering Printing
• -? 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
Appx_print Options:
Mastering Printing
• -? 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
Appx_print Filters:
Mastering Printing
• -orientation=portrait/landscape
• -pitch=# Characters/Inch
• -lpi=# Lines/Inch
• -vsi=# Vert. Space 1/48 of inch
• -lpp=# Lines per Page
• Any valid “mpage” argument
MPAGE Filter Options:
Mastering Printing
• -orientation=portrait/landscape
• -pitch=# Characters/Inch
• -lpi=# Lines/Inch
• -vsi=# Vert. Space 1/48 of inch
• -lpp=# Lines per Page
PCL Filter Options:
Mastering Printing
• /tmp/appx_print.last
• Logs EVERYTHING it does
• Only logs the last print request
Appx_print Logging:
Mastering Printing
Questions?