!--a11y-->
Frontend printing (SAP GUI for
HTML) 
You want to print at your frontend using SAP GUI for HTML.
With this print method, the print data is sent to the browser and displayed. You can then print the document at your frontend.
· The frontend printer must be defined in the SAP System using transaction SPAD. To do this, you must create a device definition with the following details:
...
¡ Access method F
¡ Device type PDF1 or language-specific version
As the print data is output using a PDF Viewer when printing using SAP GUI for HTML, the device type must be PDF1.
¡ The host printer name is irrelevant in this situation.
You require the following system components:
¡ The newest ITS (you can download this from http://service.sap.com/patches)
¡ PDF Viewer as a browser plug-in (as of Adobe 4.0)
¡ Netscape (as of 6.0) or Internet Explorer (as of 4.0)
· You also require the following authorization to access operating system files, in addition to the general authorizations for frontend printing:
¡ Object: S-DATASET
¡ Program field: SAPLLPRF
¡ Activity field: 06, 33, and 34
· When printing using the SAP GUI for HTML, the print requests are temporarily stored in the global file system.
You may have to increase the storage space for the global file system, depending on the quantity and size of the output requests.
The following figure shows a simplified version of the processes for frontend printing using SAP GUI for HTML:

...
1. The user is logged on to the SAP System through an Internet Transaction Server (ITS) with SAP GUI for HTML and generates an output request on a device with the access method F.
2. A small print data window with the title SAP Print Data Windowappears on the screen.
This print window periodically queries the SAP System for the complete print data, as it is not possible to transfer data to the browser asynchronously with the HTTP protocol. As the window takes over the polling, the user can continue working in the browser.

The user must not close the print window.
3. The print data is stored in the global file system until it is display at the frontend.
If print data is found by the Print Data Window in the SAP System within ten minutes, it is transferred to the browser as a PDF data stream and deleted from the global file system. Otherwise, the data is deleted after ten minutes.
4. When the data is found and transferred to the frontend, the browser starts the PDF viewer.
A new PDF viewer is started for each document. The user can print the document from this PDF viewer.
5. Once all print data is transferred, the print data window is automatically closed and only reappears the next time the user prints.
· If the print data window does not find the print data within 10 minutes, the polling is discontinued, as otherwise load is generated for the Internet Transaction Server unnecessarily.
However, if the user performs a new action and the print data has not yet been deleted in the global file system due to a timeout, the print data window is displayed again and queries the system for print data.
· The print data window should not be closed manually, as this means that it cannot request print data.
· Printing on a local device fails if some or all system connection parameters, such as ~systemname or ~messageserver are provided by URL and not in a service file. For more information, see SAP Note 529750.
See also:
· Configuration Parameters for Frontend Printing Using SAP GUI for HTML
· SAP Notes 351230, 323736
· Frontend Printing on Local Printers
· Defining an Output Device for Frontend Printing (SAP GUI for HTML)
