Host Print Transform; Letter Size; A4 Size- Page 23

Brother HL-5040 Network User's Guide

Table of Contents

TCP/IP Printing
Novell NetWare Printing
INDEX
A
B
C
D
E
F
H
I
J
L
M
N
O
P
R
S
T
U
W
background image

1 - 12 UNIX PRINTING

YL4US_FAX2800MFC4800-FM5.5

Use the following one-line OS/400 command to create the LPD 
queue:

CRTOUTQ OUTQ(<queuename> RMSTSYS
(*INTNETADR) RMTPRTQ(<service>)
AUTOSTRWTR(1) CNNTYPE(*IP) DESTTYPE (*OTHER)
MFRTYPMDL (<driver>)
INTNETADR('<ipaddress>') TEXT
('<description>')

where 

<queuename>

 is the new AS/400 print queue name, 

<service>

 is the print server service name (BINARY_P1 or 

TEXT_P1) 

<driver>

 is the OS/400 printer driver name (*HP4 is 

recommended if in doubt), and 

<ipaddress>

 is the IP address of 

the print server. Note that the IP address and description must be 
enclosed in single quotes.

For example:

CRTOUTQ OUTQ(BR1) RMTSYS(*INTNETADR) 
RMTPRTQ(BINARY_P1) AUTOSTRWTR(1) CNNTYPE(*IP) 
DESTTYPE(*OTHER) MFRTYPMDL(*HP5SI) 
INTNETADR('10.0.0.200') TEXT('Arnes Printer')

If you are using A4 paper, you may find that the printer page 
formatting is incorrect (this is probably because your AS/400 system 
is set to Letter sized paper), to resolve this problem, do the following:

Edit the Host Print Transform source code:

RTVWSCST DEVTYPE(*TRANSFORM) MFRTYPMDL(*HP5SI) 
SRCMBR(HP5SI) SRCFILE(MYLIB/SRC)

At the paper definition, alter the existing hex codes for Letter Size

1B 26 6C 02 41

 to hex codes for A4 Size

1B 26 6C 32 36 41

.

Detailed Information for Brother HL-5040 Network User's Guide

Lists of information found in Brother HL-5040 Network User's Guide - Page 23

  • 5.5 Use the following one-line OS/400 command to create the LPD queue: CRTOUTQ OUTQ(&lt;queuename&gt; RMSTSYS (*INTNETADR) RMTPRTQ(&lt;service&gt;) AUTOSTRWTR(1) CNNTYPE(*IP) DESTTYPE (*OTHER) MFRTYPMDL (&lt;driver&gt;) INTNETADR('&lt;ipaddress&gt;') TEXT ('&lt;description&gt;') where &lt;queuename&gt; is the new AS/400 print queue name, &lt;service&gt; is the print server service name (BINARY_P1 or TEXT_P1) &lt;driver&gt; is the OS/400 printer driver name (*HP4 is recommended if in doubt), and &lt;ipaddress&gt; is the IP address of the print server.

Related Documents for Brother HL-5040 Network User's Guide