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

Set TOP Margin in Sapscript

Former Member
0 Likes
958

Hi,

I build a check with sapscript but i have a big problem.

The amount is being printed below as it should.

Anyone know the command to set the top margin in lines

in SPAD transaction "Printer Initialization" action?

I need to set the top margin but I don“t know de hexa code

Regards,

Mariano.

I have this commands

1. reset

e0x40

1. select US-ASCII character set

e0x520x00

1. set line spacing 8 LPI

e0x320x08

1. select page length 18 lines (17=hex $12)

e0x430x12

6 REPLIES 6
Read only

Former Member
0 Likes
774

Have you searched the forum or used Google? This question has been asked before.

Rob

Read only

0 Likes
774

Hi Rob,

I searched in the forum and google but I didn't find the code.

In all the examples that I saw, not see the code for setting the top margin.

If you know how to do or where to look, appreciate your help.

Regards,

Mariano.

Edited by: Mariano Zenarola on Sep 8, 2010 9:41 AM

Edited by: Mariano Zenarola on Sep 8, 2010 2:33 PM

Read only

Former Member
0 Likes
774

Hi Mariano!

Is the printer conected to any Print Server? What printer model is it?

I have had the same problem and the top margin was set directly from the printer.

Please let me know.

Read only

0 Likes
774

Hi Este, thanks for your reply.

The printer is Lexmark 4227 Plus

and is not conected to print server.

currently, are printing checks from

other systems with the same printer

and the top margin is OK.

Regards,

Mariano.

Read only

0 Likes
774

Hello Mariano,

We are encountering the same issue. Can you share how you solved this?

Read only

0 Likes
774

Hi Binary,

I solved this problem using only line breaks.

Line spacing, Indent first line, space Before,

space after = 0 cms in paragraph format.

Regards

Mariano.