I have been never amused before when I configured a Windows Based Generic Printer to an SAP Web Application Server based on NW 7.0 Kernel 720.
The requirement came in from a customer to print to a text file approximately around 50,000 pages where printing was important and not the the style.
Please forgive me with boring introduction I am a naïve writer , Allow me to take you to procedures.
The SAP Notes referred here are
- Note 161516 – Printing into a file or anywhere else in NT
- Note 894444 – Tool for server-based printing on Windows (SAPSprint)
Add a windows printer in the application server (my case I defined the same in the application server host)print to a text file. The screen shot bellow will help
Select a Generic Text Printer with Generic/Text Only option.
In the Printer name please make sure to use a name without spaces , for example “test”.
Specify the share option with appropriate location specified. Once finished please configure the port .
Choose the Printer->right Click-> Properties
Click on Port
Add a new Port
a new dialogue box will open
create a new text file in your convenient location please and specify the path to text file in the dialogue box.
Click on Close .
Install SAPSprint service on the SAP WAS host as per the note 894444
I have followed the Installation section in the note and I have to tell you , the explanations are perfect and it worked like SAP CHARM 🙂
The note also gives you complete location of the packages and how to Install.
Once the Installation is complete we can check the new services in Services.msc in the WAS host in running mode.
Please log in to your SAP GUI.
Enter a new Printer Test
Device Type as : SAPWIN
Device Class :Standard Printer
Access Methods Print Using SAP Protocol
Host Printer: test(which we have defined in Step 2)
Click on Save and Activate . SAP Printer is ready
This operation would hardly take 15 minute including the SAPSPrint install and download. A Very Happy Experience.
We can perform a validation using the Test printer in SPAD and the output can be verified in the text file.
Hope the procedure was useful and it is really helpful during a new implementation to do a test with Spool Serve/ services to perform a test before
handing it over to end users.