Q
Problem solve Get help with specific problems with your technologies, process and projects.

How to solve output alignment problems with SAPscript printing

A SearchSAP.com reader wants to know how to set a SAPscript to align an HP4300 printer and LOCL logical SAP output.

When using SAPscript to print payroll checks, everything is aligned when LOCL is used for the printer. The problem...

is that it does not align correctly when using a specific printer, such as HP4300 model HPLJ4350.

How can the SAPscript be corrected so there is no difference in alignment between HP4300 and LOCL to the same printer?

In short, I don't know of a good way to "correct" the SAPscript. Is it possible that the SAPscript itself is fine? Perhaps the issue is how it is being tested.

SAP handles LOCL printouts -- which are essentially directed to a front-end printer -- differently from those sent to a logical SAP output device (i.e., A3A1 or P118). You've probably noticed the little pop-up window (i.e., for SAPLPD or SAPsprint) which appears when sending something to a front-end printer. This is reading in various settings associated with the default printer on your front-end computer, all of which influence output.

(Incidentally, if you want to understand more on front-end printing from SAP, look at SAP Notes 328252 and 85469.)

In contrast to this "moving target," logical devices have their device types set up directly in SAP. You can drill down into their properties in SAP spool administration (transaction SPAD).

Getting the two outputs, which travel a different path, to align perfectly is a tricky proposition. I have yet to do so consistently. Which is why I recommend taking LOCL test results with a grain of salt. If you want to see how output will really appear on a printer connected as a logical device in your production environment, I suggest setting it up the exact same way in your development and QA environments as well -- as a logical device.

And if you cannot use that same physical printer for testing, find another of the same make and model (or as close a match as possible) to use in those environments. That should give you a much better idea of what to expect.

This was last published in September 2009

Dig Deeper on SAPscript and Smart Forms

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Join the conversation

1 comment

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

In SAP HR BW, when reporting on employee email, the email address cuts off. I would say the field is set to a 20 character limit based on the attached file, but that isn't consistent. Some fields cut off at 20 characters and some don't. However, no field contains more than 20 characters.
could anyone help in this please????
Cancel

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close