cancel
Showing results for 
Search instead for 
Did you mean: 

Printing a SapScript doc - Manual Feed not working

Former Member
0 Kudos

Hello,

I am using the resouce type "TRYMN" in my SapScript program to force the output to the manual feed tray. This used to work until we changed the device type on the output device to POST2. Any ideas on how to fix?

I'm on SAP R/3 4.6C

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

sridhar_k1
Active Contributor
0 Kudos

TRY01 is usually manual feed tray on most of the printers, try changing to TRY01.

Regards

Sridhar

Former Member
0 Kudos

TRY01 didn't work. I also tried placing the HP printer escape code for manual tray in "TRYMN" (printer control code tab) in the POST2 device, but with this change, no output comes out at all. A spool file is generated, but nothing prints.

I'm thinking to give up on this. We could have another output device created with the default tray as manual feed.

sridhar_k1
Active Contributor
0 Kudos

Just checked TRYMN print control for POST2 in SPAD, there's nothing in the control char sequence, it means even if TRYMN selected in the sapscript, it won't be used in the tray selection, output goes to the printer default tray.

Try the following:

Find the manual feed tray number

select <b>converted</b> radio button for TRYMN print control in SPAD, enter ' # SetInputTray' without the single quotes in the control char sequence, and replace # with the tray number.

Regards

Sridhar

Message was edited by: Sridhar K

Former Member
0 Kudos

Hello Sridhar,

I placed "1 SetInputTray" in the control char sequence and selected converted radio button for TRYMN. The labels print, but I'm not prompted for manual feed.

I noticed that when I print a word document or anything else to our printers (HP 4000 and 5000 series), on the printing preferences dialog, there are two entries for Tray 1. One is just called Tray 1 and the other is Tray 1 Manual. If use the Tray 1 Manual paper source when printing a Word document, it prompt for manual feed. But I do not know how to point to this from within SAP.

Just curious, how did you know about SetInputTray? I've never seen this anywhere?

Thanks again,

Lisa

sridhar_k1
Active Contributor
0 Kudos

There should be a space before 1 in "1 SetInputTray" when you add it to the print control. If it won't work, instead of 1 use a tray number that's not in the printer for example use " 9 SetInputTray".

Also try select Hex radiobutton and enter 203920536574496E70757454726179 in the control char seq.

the hex string translates to " 9 SetInputTray".

SetInputTray is the ascii converted value of the hex string in TRY01.

Regards

Sridhar

Former Member
0 Kudos

Hi, thanks again for helping out and not losing interest

I did " 9 SetInputTray" and it just pulls automatically from tray 3 - it doesn't do manual feed. I also tried " 1 SetInputTray" and it just prints and doesn't do manual feed.

I'd like to understand why did you thought tray 9 would work?

sridhar_k1
Active Contributor
0 Kudos

I've used tray# 9 becaus, if it's not in the printer, i thought it'll force manual feed.

Try this:

Check converted radiobutton of TRYMN print control and Add the following string to control char sequence:

<</ManualFeed true>> setpagedevice

Remove TRYMN from resource assignment in the sapscript page definition and add command

/: PRINT-CONTROL TRYMN as the first line in the header window.

Regards

Sridhar

Former Member
0 Kudos

Sridhar,

It worked! I'm so excited!

I didn't need to remove TRYMN from the resource assignment in the sapscript page definition. It worked without doing this.

Thanks so much for your help and patience!

~Lisa

Answers (0)