Brother International 1870N Network Users Manual - English - Page 28

TRANSFORM*YES MFRTYPMDL*HP5SI PPRSRC1*A4, Edit the Host Print Transform source code

Page 28 highlights

CHAPTER 1 UNIX PRINTING where is the new AS/400 print queue name, is the print server service name, BINARY_P1 or TEXT_P1, is the OS/400 printer driver name (*HP4 is recommended if in doubt), and 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 OS/400 version 4, 5, 5.1 You can also use the following command line to create a printer definition: CRTDEVPRT DEVD(BR2) DEVCLS(*LAN) TYPE(3812) MODEL(1) LANATTACH(*IP) PORT(9100) FONT(011) PARITY(*NONE) STOPBITS(1) TRANSFORM(*YES) MFRTYPMDL(*HP5SI) PPRSRC1(*A4) PPRSRC2(*A4) RMTLOCNAME('10.0.0.200') SYSDRVPGM(*HPPJLDRV) TEXT('Arnes Printer') 1-12

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149

CHAPTER 1 UNIX PRINTING
1-12
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
OS/400 version 4, 5, 5.1
You can also use the following command line to create a printer definition:
CRTDEVPRT DEVD(BR2) DEVCLS(*LAN) TYPE(3812) MODEL(1)
LANATTACH(*IP) PORT(9100) FONT(011) PARITY(*NONE) STOPBITS(1)
TRANSFORM(*YES) MFRTYPMDL(*HP5SI) PPRSRC1(*A4)
PPRSRC2(*A4) RMTLOCNAME('10.0.0.200') SYSDRVPGM(*HPPJLDRV)
TEXT('Arnes Printer')