Skip to content

Commit af566ba

Browse files
authored
Merge pull request #264795 from msftrobiro/sap-universal-print-frontend-add
SAP frontend printing with Universal Print
2 parents 8f794c9 + ff89ac5 commit af566ba

File tree

6 files changed

+68
-0
lines changed

6 files changed

+68
-0
lines changed
103 KB
Loading
51.3 KB
Loading
98.4 KB
Loading
84 KB
Loading

articles/sap/workloads/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ items:
241241
href: expose-sap-process-orchestration-on-azure.md
242242
- name: Enable SAP Principal Propagation for live OData feeds with Power Query
243243
href: expose-sap-odata-to-power-query.md
244+
- name: SAP front-end printing with Universal Print
245+
href: universal-print-sap-frontend.md
244246
- name: Reference
245247
items:
246248
- name: REST API
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
title: SAP front-end printing with Universal Print
3+
description: Enabling SAP front-end printing with Universal Print
4+
services: virtual-machines-linux,virtual-machines-windows
5+
author: msftrobiro
6+
manager: juergent
7+
tags: azure-resource-manager
8+
ms.service: sap-on-azure
9+
ms.subservice: sap-vm-workloads
10+
ms.topic: article
11+
ms.tgt_pltfrm: vm-linux
12+
ms.workload: infrastructure
13+
ms.date: 01/31/2024
14+
ms.author: robiro
15+
16+
---
17+
18+
# SAP front-end printing with Universal Print
19+
20+
Printing from your SAP landscape is a requirement for many customers. Depending on your business, printing needs can come in different areas and SAP applications. Examples can be data list printing, mass- or label printing. Such production and batch print scenarios are often solved with specialized hardware, drivers and printing solutions. This article addresses options to use [Universal Print](/universal-print/fundamentals/universal-print-whatis) for SAP front-end printing of the SAP users.
21+
22+
Universal Print is a cloud-based print solution that enables organizations to manage printers and printer drivers in a centralized manner. Removes the need to use dedicated printer servers and available for use by company employees and applications. While Universal Print runs entirely on Microsoft Azure, for use with SAP systems there's no such requirement. Your SAP landscape can run on Azure, be located on-premises or operate in any other cloud environment. You can use SAP systems deployed by SAP RISE. Similarly, SAP cloud services, which are browser based can be used with Universal Print in most front-end printing scenarios.
23+
24+
## Prerequisites
25+
26+
[SAP front-end printing](https://help.sap.com/docs/SAP_NETWEAVER_750/290ce8983cbc4848a9d7b6f5e77491b9/4e96bc2a7e9e40fee10000000a421937.html) sends an output to a printer available for the user on their front-end device. In other words, a printer accessible by the operating system. Same client computer runs SAP GUI or browser. To use Universal Print, you need to have access to such printer(s).
27+
28+
- Client OS with support for Universal Print
29+
- Add Universal Print printer to your Windows client
30+
- Able to print on Universal Print printer from OS
31+
32+
See the [Universal Print documentation](/universal-print/fundamentals/universal-print-getting-started#step-4-add-a-universal-print-printer-to-a-windows-device.md) for details on these prerequisites. As a result, one or more Universal Print printers are visible in your device’s printer list. For SAP front-end printing, it's not necessary to make it your default printer.
33+
34+
[![Example showing Universal Print printers in Windows 11 settings dialog.](./media/universtal-print-sap/frontend-os-printer.png)](./media/universtal-print-sap/frontend-os-printer.png#lightbox)
35+
36+
## SAP web applications
37+
38+
A web application such as SAP Fiori or SAP Web GUI is used to access SAP data and display it. It doesn’t matter if you access the SAP system through an internal network, public URL or if your SAP system is an ABAP or Java system, or SAP application running within SAP Business Technology Platform. All SAP application data displayed within a browser can be printed. The print job creation in Universal Print is done by the operating system and doesn't require any SAP configuration at all. There's no SAP integration and communication with Universal Print directly.
39+
40+
![Diagram with connection between user's client device, Universal Print service and printer.](./media/universtal-print-sap/sap-frontend-to-universal-print-connection.png)
41+
42+
## SAP GUI printing
43+
For SAP front-end printing, Universal Print relies on SAP GUI and [SAP printer access method G](https://help.sap.com/docs/SAP_NETWEAVER_750/290ce8983cbc4848a9d7b6f5e77491b9/4e740b270f6f34e1e10000000a42189e.html). Your SAP system likely has one or more SAP printers defined already for such purpose. An example, SAP printer LOCL, defined in SAP transaction code SPAD.
44+
45+
![Example dialog in SAP transaction SPAD entry screen.](./media/universtal-print-sap/frontend-sap-spad-1.png)
46+
47+
![Example dialog in SAP transaction SPAD showing printer definition.](./media/universtal-print-sap/frontend-sap-spad-2.png)
48+
49+
50+
For Universal Print use, it’s important the access method (1) is set to ‘G’, as this uses SAP GUI’s integration into the operating system. For host printer field (2), value of __DEFAULT calls the relevant default printer name. Leaving option “No device selection at front end” unchecked (3), you're prompted to select the printer from your OS printer list. With the option checked, print output goes directly to the OS default printer without extra user input.
51+
52+
With such SAP printer definition, SAP GUI uses the operating system printer details. The operating system already knows your added Universal Print printers. As with SAP web applications, there's no direct communication between the SAP system and Universal Print APIs. No settings to configure for your SAP system beyond the available output device for front-end printing.
53+
54+
When using SAP GUI for HTML and front-end printing, you can print to an SAP defined printer, too. In the SAP system, you need a front-end printer with access method ‘G’ and a device type of PDF or derivate. For more information, see [SAP’s documentation](https://help.sap.com/docs/SAP_NETWEAVER_750/290ce8983cbc4848a9d7b6f5e77491b9/4e96c13b7e9e40fee10000000a421937.html). Such print output is displayed in browser as a PDF from the SAP system. You open the common OS printing dialog and select a Universal Print printer installed on your computer.
55+
56+
## Limitations
57+
58+
SAP defines front-end printing with several [constraints](https://help.sap.com/docs/SAP_NETWEAVER_750/290ce8983cbc4848a9d7b6f5e77491b9/4e96cd237e6240fde10000000a421937.html). It can't be used for background printing, nor should it be relied upon for production or mass printing. See if your SAP printer definition is correct, as printers with access method ‘F’ don't work correctly with current SAP releases. More details can be found in [SAP note 2028598 - Technical changes for front-end printing with access method F](https://me.sap.com/notes/2028598).
59+
60+
61+
62+
## Next steps
63+
Check out the documentation:
64+
65+
- [SAP’s print queue API](https://api.sap.com/api/API_CLOUD_PRINT_PULL_SRV/overview)
66+
- [Universal Print API](/graph/api/resources/print)

0 commit comments

Comments
 (0)