Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAP SCRIPT printing Problem in DOT MATRIX Printer

Former Member
0 Kudos

Hi friends,

I'm facing a problem while printing SAP SCRIPT in DOT MATRIX Printer.

I have an SAP SCRIPT page.After printing the page, printer header(control)

is going to the mid of the next sheet(paper).

So if i give 2 copies in print request,1st copy is ok. 2nd copy is getting started from mid of the next sheet

(where the printer header )

But i want it to print from the begining of that sheet.(instead of mid of the sheet)

How to do this..Waiting for ur suggessions.

Thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Dear Karthik,

You must be using A4 continuous on the dot-matrix printer.

This skipping happens because of the fact that there is a slight difference in height between the A4 defined (which is for cut-out A4) in SAPScript and continous A4 of dot-matrix.

You can avoid this by using page size as Inch12 and adjust your window width to the size of A4 and put the things in it.

Regards,

Deva.

3 REPLIES 3

Former Member
0 Kudos

Dear Karthik,

You must be using A4 continuous on the dot-matrix printer.

This skipping happens because of the fact that there is a slight difference in height between the A4 defined (which is for cut-out A4) in SAPScript and continous A4 of dot-matrix.

You can avoid this by using page size as Inch12 and adjust your window width to the size of A4 and put the things in it.

Regards,

Deva.

Former Member
0 Kudos

I'm facing a problem while printing SAP SCRIPT in DOT MATRIX Printer.

I have an SAP SCRIPT page. After printing the page, printer header(control)

is going to the mid of the next sheet(paper).

So if I give 2 copies in print request,1st copy is ok. 2nd copy is getting started from mid of the next sheet (where the printer header)

But I want it to print from the beginning of that sheet instead of mid of the sheet

How to do this. Waiting for your suggestions.

where I want do settings in form or in SPAD???

Former Member
0 Kudos

SAPscript, form, POSTSCPT, HPLJ4, SAPlpd, SAPSprint

Cause and Prerequisites

Due to the different fonts and margins, it is usually not possible to print

satisfactorily a form that was designed for a PCL-5 printer (for example,

device type HPLJ4) on a PostScript printer (for example, device type

POSTSCPT) or a SAPWIN printer (device types SAPWIN/SWIN). On the printout,

the text is often moved horizontally or vertically and there are different

absolute text positions on the page.

Solution

You should adhere to the following rules when you design a form/SmartForm

so that printouts from the above three printer families are as identical as

possible:

                                    • Positioning the windows ***********

To avoid the problem of different margin settings (Note 101266),

forms/SmartForms should be designed and tested for output on PCL-5 printers

(device types HPLJ4, HPLJ5, HPLJ5SI, HPLJ4000). In transaction SPAD, you

can then correct the horizontal margin position for PostScript and

SAPWIN/SWIN printers by moving the output.

In other words, you have to move a form which is designed for PCL-5

printers by approximately 4mm to the left if you want to output it on

POSTSCPT/POST2 with identical positioning of the texts on the paper. The

same applies to the output on SAPWIN/SWIN, where the selection of the

Windows printer driver can influence the move.

                                      • Font selection *******************

You should only use fonts, font sizes and font formatting that are

available for all three printer families. These are

Family + formatting: Sizes:

COURIER normal,bold,Italic 6,8,10,12,14,16 (HPLJ4,HPLJ5SI)

COURIER normal,bold,Italic all sizes (HPLJ5, HPLJ4000,...)

HELVE normal,bold,Italic 6,8,10,12,14,16,18 (HPLJ4,HPLJ5SI)

HELVE normal,bold,Italic all sizes (HPLJ5, HPLJ4000,...)

TIMES normal,bold,Italic 6,8,10,12,14,16,18 (HPLJ4,HPLJ5SI)

TIMES normal,bold,Italic all sizes (HPLJ5, HPLJ4000,...)

Note: Device types POSTSCPT/POST2 as well as SAPWIN/SWIN support these

fonts in all sizes.

                      • Default space width HELVE/TIMES **************

A basic problem when HELVE/TIMES are output on PCL-5 device types (HPLJ4,

HPLJ5, HPLJ5SI, HPLJ4000) is the default space width, which is different

for these device types. It is about twice as much as for the HELVE/TIMES

fonts of the POSTSCPT/POST2 and SAPWIN/SWIN device types. This generally

results in "wider" text outputs than with PostScript or SAPWIN/SWIN.

Identical output on PCL-5,PostScript,SAPWIN

Solution: As of Release 4.6C, new PCL-5 device types HPLJ8000, HPLJ1100,

IBMNP are delivered and the default width is significantly reduced.

Therefore, the printout of the HELVE/TIMES fonts matches the printout of

the fonts by POSTSCPT/POST2 or SAPWIN/SWIN quite accutely.

In older releases, the old PCL-5 device type versions have been adjusted

accordingly and can be downloaded from the attachment to enable the default

space width to be corrected. Only the following modified device types exist

at present:

ZHP4SW (adjusted device type HPLJ4, as of Release 4.5A)

ZHP5SW (adjusted device type HPLJ5, as of Release 4.5A)

ZHP5SW4B (adjusted device type HPLJ5, Release 4.0B only)

                                                      • Box ***************************

The output of overlapping boxes using the BOX command differs between

POSTSCPT/POST2/SAPWIN/SWIN and the PCL-5 device types

HPLJ4/HPLJ5/HPLJ5SI/HPLJ4000 and so on, as described in Note 77976.

Solution: BOX commands that generate overlapping boxes should always be

arranged in a certain sequence so that large boxes "in the background" are

drawn first and smaller boxes "in the foreground" are drawn afterwards.

Otherwise, larger boxes may hide smaller boxes in the output on PostScript

and SAPWIN/SWIN.

                                              • Lines (uline) **********************

Lines drawn in Sapscript with the _ symbol are output as underscores ('_').

You then have a problem if you use a proportional font such as HELVE for

the line, because the line is printed in different lengths on PCL and

postscript printers. This is because in the postscript of the HELVE font

(for example), the underscore is approximately 10% longer than in the PCL.

You should therefore always output lines in a non-proportional font such as

COURIER so that this problem does not occur.

Header Data

Release Status: Released for Customer

Released on: 21.02.2006 14:19:43

Priority: Recommendations/additional info

Category: Consulting

Main Component BC-CCM-PRN Print and Output Management

Additional Components:

BC-SRV-SCR SAPscript

Number Short Text

922930 HELVE/TIMES: Which printer fonts are used?

101266 SAPscript: printable area for laser printers

77976 Information on the SAPscript BOX command

39259 Shifting the print output for SAPscript

Attachments

File Type File Name Language Size

ZIP ZHP4SW.ZIP E 71 KB

ZIP ZHP5SW.ZIP E 15 KB

ZIP ZHP5SW4B.ZIP E 13 KB

ZIP ZHPLJ80.ZIP E 21 KB