Application Development and Automation 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: 
Read only

Page format

gautam_totekar
Active Participant
0 Likes
2,257


Hi

we are facing an issue. If a list report is printed on a Printer A using device type XYZ then it is printed properly but if the same list is printed on the same printer A using LOCL then a line from top gets oprinted on each page and a line at the bottom is truncated.

Both use X_65_132 page format.

Any suggestions to resolve the issue?

11 REPLIES 11
Read only

srikanthv2
Participant
0 Likes
1,999

Hi,

  Based on Device type, Output should be vary Sometimes. Change the Configuration same for both.

  May be this is the problem to you.

Regards

Srikanth

Read only

Former Member
0 Likes
1,999

Hello Gautam,

Page format might me same and the Printer might also be same but the Output type Configured on the SAP system might vary.which you have mentioned like XYZ and LOCL. so as per your requirement Check that the setting for XYZ and the LOCL are same.

Thanks,

Waliullah Mohd.

Read only

peng_wen
Product and Topic Expert
Product and Topic Expert
0 Likes
1,999

Hello,

What the line exactly is? which device types are you comparing?
Anyway if the last line is truncated by X_65_132, I think you can try with X_90_120.

Regards,
Wen Peng

Read only

gautam_totekar
Active Participant
0 Likes
1,999

A Line from first page at the top is printed on the second page onwards. repeatadly if printed via LOCL on the same physical printer.

Because of this extra line on top a line at the bottom of the page is truncated on every page from second page onwards.

But if a device type is selected and printed then the line is not repeated

Read only

0 Likes
1,999

It is regular list which is printed onto both the printers.As per client before upgrade it worked fine on both LOCL and XYZ.

By lloking at the output of both the Print out I can  clearly see that there is more gap in between 2 lines. which is why in case of LOCL the last line is not getting printed.

Is there any setting that affects charcters per inch?

Read only

peng_wen
Product and Topic Expert
Product and Topic Expert
0 Likes
1,999

Hello,

You can goto SPAD-> Full administration-> Device Types, input the used device type

-> Formats-> X_65_132 -> Printer initialization

to adjust the characther size, vertical spacing or margin .ect to adjust the printing behavior.

We need to know which device type is used at first, you can refer to note 21738 if it is SAPWIN

series.

Regards,
Wen Peng


Read only

0 Likes
1,999

Did you check in SPAD for the configuration difference if any?

Read only

0 Likes
1,999

I am checking SPAD for any differnce.

Read only

gautam_totekar
Active Participant
0 Likes
1,999

The printer on whcih it is printing correctly in using HPLJ4 the LOCL has issues. When I checked both  found that there is some code in Printer initialization.. Is it the default code for  the device? there is no such code for LOCL..Please find the code below.

  # enter PJL mode and switch to PCL language
\e%-12345X@PJL\r\n
@PJL ENTER LANGUAGE=PCL\r\n
# reset
\eE
# Landscape mode
\e&l1O
# ECMA-94 Latin 1 character set
\e(0N
# Skip perforation region off
\e&l0L
# set vertical spacing (VMI, X/48 inch) for 65 lines (landscape!)
\e&l5.2C
# Define 2 macros: Macro 1 will select Normal font
#                  Macro 2 will select Bold font
# Start of MACRO 1:
\e&f1y0X
# select Courier 16.67 CPI normal font
\e(s0p16.67h0s0b4099T
# set horizontal spacing (HMI, X/120 inch) for 132 characters (landsc.)
\e&k9.2H
# End of MACRO 1:
\e&f1y1X
# Start of MACRO 2:
\e&f2y0X
# select Courier 16.67 CPI bold font
\e(s0p16.67h0s3b4099T
# set horizontal spacing (HMI, X/120 inch) for 132 characters (landsc.)
\e&k9.2H
# End of MACRO 2:
\e&f2y1X
# Execute Macro 1 to set normal font:
\e&f1Y\e&f2X
#>RSPO0060 - begin of generated data
# Macros for drawing of frames.
#e&f470y0X\e(10U\e&k9.2H\xC5\e(0N\e&k9.2H\e&f470y1X
#e&f460y0X\e(10U\e&k9.2H\xC4\e(0N\e&k9.2H\e&f460y1X
\e&f461y0X\e(10U\e&k9.2H\xB3\e(0N\e&k9.2H\e&f461y1X
#e&f462y0X\e(10U\e&k9.2H\xDA\e(0N\e&k9.2H\e&f462y1X
\e&f463y0X\e(10U\e&k9.2H\xBF\e(0N\e&k9.2H\e&f463y1X
#e&f464y0X\e(10U\e&k9.2H\xC0\e(0N\e&k9.2H\e&f464y1X
\e&f465y0X\e(10U\e&k9.2H\xD9\e(0N\e&k9.2H\e&f465y1X
#e&f466y0X\e(10U\e&k9.2H\xC3\e(0N\e&k9.2H\e&f466y1X
\e&f467y0X\e(10U\e&k9.2H\xB4\e(0N\e&k9.2H\e&f467y1X
#e&f468y0X\e(10U\e&k9.2H\xC2\e(0N\e&k9.2H\e&f468y1X
#e&f469y0X\e(10U\e&k9.2H\xC1\e(0N\e&k9.2H\e&f469y1X
#<RSPO0060 - end of generated data
# Manual modifications: make right arms of symbols longer, to reach
#   next symbol even with widened horizontal spacing.
\e&f470y0X\e(10U\e&k4.6H\xC5\xC4\e(0N\e&k9.2H\e&f470y1X
\e&f460y0X\e(10U\e&k4.6H\xC4\xC4\e(0N\e&k9.2H\e&f460y1X
\e&f462y0X\e(10U\e&k4.6H\xDA\xC4\e(0N\e&k9.2H\e&f462y1X
\e&f464y0X\e(10U\e&k4.6H\xC0\xC4\e(0N\e&k9.2H\e&f464y1X
\e&f466y0X\e(10U\e&k4.6H\xC3\xC4\e(0N\e&k9.2H\e&f466y1X
\e&f468y0X\e(10U\e&k4.6H\xC2\xC4\e(0N\e&k9.2H\e&f468y1X
\e&f469y0X\e(10U\e&k4.6H\xC1\xC4\e(0N\e&k9.2H\e&f469y1X

Read only

0 Likes
1,999

SAPWIN under local settings(XPARAM) has following code.

  ##usage: Local settings
##DO NOT CHANGE the first two lines!
# Schrift 10 Punkt einstellen.
#\eS200X
# Schrift kleiner für neuen SAPLPD ab 2.36
\eS136X
#8,5 LPI
\el8.5;

Read only

gautam_totekar
Active Participant
0 Likes
1,999

Please let me know if the above two codes of HPLj4 and SWIN result in different CPI and LPI?